Monday, January 22nd, 2007

Java to JavaScript Compilation with Ajax and Spring Integration

Category: Articles, Java

Ben Alex of Interface 21 has written a detailed post on Java to JavaScript compilation.

The article discusses some of the choices out there (GWT, OpenLaszlo) and goes into an open source alternative called Java2Script Pacemaker.

Spring integration is shown and available for download and it concludes:

J2S promises some attractive benefits for projects that require JavaScript compilation or a web browser implementation of SWT. It also interoperates successfully with a Spring backend. J2S’ deliberate choice to leverage proven existing technologies such as AST and SWT make it a good example of reusing existing code and developer skills, in turn lowering adoption barriers and the prospect of material API change. If you consider yourself an early adopter, SWT devotee, or need a client-centric, web-based user interface that is built upon the mature SWT UI framework, it is definitely worth taking a closer look at J2S.

Does SWT support do it for you?

Posted by Dion Almaer at 10:40 am

3.2 rating from 31 votes


Comments feed TrackBack URI

Actually, GWT *IS* open source. Since v1.3. (fairly recent development).

Comment by Reinier Zwitserloot — January 22, 2007

There is also dynamic C++-to-JavaScript translation using the stateless learning featured in Wt, which uses an entirely different approach to achieve the same goal: programming specific client-side event handling without specifying it in JavaScript.

Comment by kdf — January 23, 2007

Leave a comment

You must be logged in to post a comment.