I've been playing around this weekend to see what whether HTML5 websockets 
could be mated with molecular rendering running serverside. This has been 
fairly easy to prototype with Jmol because of the nature of Jmol graphics (2D).

Turned out to be fairly straightforward to implement using the JWebSockets 
server running in TomCat. Instead of passing a window/container's graphic 
context to the viewer instance, I'm passing the context of an offscreen image 
buffer, which is then converted to base64 and shunted down through the 
websockets connection. This would be much more efficient without the base64 
conversion but unfortunately the websockets implementations don't yet support 
binary frames although spec does. Lots of further optimization to be done; my 
interest is in its use for mobile browsers/platforms that don't support Java.

http://www.youtube.com/watch?v=1wu5gOxQxcs
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to