Avatar : HTML5 and JavaME

Posted: October 8, 2011 in IT/Dev
Tags: , , ,

While previews of JDK7 and JavaFX 2 are available for MacOSX (here and there), Oracle announced its strategy to unify Java and HTML5 :

– by standardising communications between HTML5 clients and Java server side (listed technologies – Websockets, etc. – are however still in use, and Oracle didn’t provide hints about a common JSON description format for describing action messages).

You can make an HTML5 client work with a Java back-end today, but it’s not that fun, it’s not that easy to use, and it’s not that easy for HTML folks to collaborate with Java folks.
HTML5 brings new standard for new and/or existing features (Canvas) provided by browsers, and mainly derived from WebKit advances. However Avatar does not provide abstraction/media layer to these various APIs (Canvas, WebGL, CSS3) that allow to display a modern user interface (in such a way as Cappuccino’s DocumentBridge and implementation of Quartz/Core Animation), nor an applicative framework (such as Cappuccino’s implementation of AppKit).
Finally there is no information about client/server bridge solution (messages serializing, session and profiles management, authentication, access to remote data through cursor, sorting) like CP2JavaWS.

– by providing access to HTML5 layer from a Java JME application code on mobile devices, through a new sort of a JVM (JIT that creates native code instead bytecode – however it isn’t completed yet), in order to circumvent Apple’s restrictions. Other solutions still exist, like GWT4Titanium, that allows developing in Java and then converting code in javascript and finally in native code.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s