AJAX: New Life For The Applet?

Watching the comments David and Stephen have made about the use of JavaDB for Local AJAX as seen in François' demo, I'm struck by another aspect of the use of JavaDB in a browser. It signals a new life for the Java applet. The Applet was (in my opinion) killed as a mainstream browser technology by Microsoft in IE, and its crown seems now to be worn by Flash - sad because Flash is closed and proprietary
But AJAX brings fresh needs, and with them fresh opportunity. AJAX applications will have increasingly complex needs, and returning to the server every time to have them met will become increasingly burdensome. So how about some slim local helper classes to make life easier? The J of AJAX - JavaScript - conveniently comes with the ability to treat Java classes as a platform-independent function library. Most of the platform variance we saw first time round with applets involved graphics, but helper classes have none. Most of the bulk first time round was graphics, but this time round the applets are pure code. Could be a perfect fit.
What might they do? Some obvious things, like encryption, compression, validation and so on. But also some more interesting things are possible. How about a tiny Jabber server so the applet can use the local IM client as a log or command prompt? Perform XML transforms (in conjunction perhaps with WADL) for multi-host compatibility? An embedded web server as per Mark McLaren? And of course, a local SQL database.
As it heads for its teens, maybe the Java environment has a new life ahead of it, adding the power behind the scenes in rich-thin-client applications, putting the processing power into AJAX, offline and online?
Update: David Berlind continues the discussion on his blog.
Comments are closed for this entry.





Posted by webmink
Posted by Phil Wilson on May 02, 2006 at 06:31 AM PDT #
Hmmm... Flash is closed and proprietary? I'd say Java's almost as closed and proprietary.
There is a free software Flash player. There is also at least one open source Flash compiler.
The JCP is the one area that I see where Java is more open than Flash.
Posted by 143.127.3.10 on May 02, 2006 at 11:29 AM PDT #
Posted by Tom on May 02, 2006 at 12:37 PM PDT #
Posted by Phil Wilson on May 02, 2006 at 02:21 PM PDT #
Posted by Mark McLaren on May 02, 2006 at 11:39 PM PDT #
Posted by Simon Phipps on May 03, 2006 at 05:34 AM PDT #
Posted by Francois Orsini on May 08, 2006 at 12:04 AM PDT #