Java J2EE Portal
Enterprise Java Station
J2EE curve
Java News / Articles
Java News / Articles
Creating a new Google Web Toolkit (GWT) application
JSF and Ajax: Latest strategies for building Ajax applications
Can Java Developers make Ubuntu - Linux their primary work OS? - Part 1
Processing...
Buy Java, Deals On Software Technology Store
Click here for great deals on computers, laptops, software and books
Seven Ajax Frameworks / Toolkits to watch out for PDF Print
Written by Harshad Oak   
Jun 01, 2006 at 06:06 AM

AJAXEnabledFrameworksToolkitsAjax was easily the most talked about technology at JavaOne 2006. Java developers it seemed wanted to get into Ajax by any means possible. So there were 100s lined up for every session that had "Ajax" in its title. It does make sense for developers to try and pick up Ajax soon, as the Ajax hype will move beyond the tech community and you would soon see managers and customers demanding that their applications be Ajaxed. Irrespective of what you think of Ajax, you now have to be able to develop Ajax apps.

Understanding Ajax is one part of the issue however the more complex part is that of actually implementing it. As no real Java developer can develop an application without using a framework, it was only a matter of time before hundreds of Ajax frameworks sprang up. With frameworks, there's always the concern that you will lock your applications into the framework or even worse adopt a framework that isn't suited to your needs.

You also need to watch out for frameworks that claim Ajax enabled solely because they have included a popular Ajax Javascript framework in their distribution. Using readymade Ajax enabled JSF components is also a good option that needs to be considered.

Here I have listed a handful of frameworks that I thought will serve us well over the long run. The primary factors I relied on were 1) already established 2) promoted by a major player.

If you feel any other framework should have been on this list, do add a comment.

1) Google Web Toolkit - Build AJAX apps in the Java language: Google Web Toolkit (GWT) is a Java software development framework that makes writing AJAX applications like Google Maps and Gmail easy for developers who don't speak browser quirks as a second language.
http://code.google.com/webtoolkit/

2) Dojo: Dojo is an Open Source DHTML toolkit written in JavaScript. Dojo aims to solve some long-standing historical problems with DHTML which prevented mass adoption of dynamic web application development.
http://dojotoolkit.org/

3) Yahoo! User Interface Library: The Yahoo! User Interface (YUI) Library is a set of utilities and controls, written in JavaScript, for building richly interactive web applications using techniques such as DOM scripting, DHTML and AJAX.
http://developer.yahoo.com/yui/

4) Direct Web Remoting: DWR allows Javascript in a browser to interact with Java on a server and helps you manipulate web pages with the results.
http://getahead.ltd.uk/dwr/

5) Spry framework for Ajax: The Spry framework for Ajax is a JavaScript library for web designers that provides functionality that allows designers to build pages that provide a richer experience for their users. It is designed to bring Ajax to the web design community who can benefit from Ajax, but are not well served by other frameworks.
http://labs.adobe.com/technologies/spry/

6) Mochikit: MochiKit is a free lightweight JavaScript library.
http://mochikit.com/

7) Script.aculo.us: Provides you with easy-to-use, compatible and, ultimately, totally cool JavaScript libraries to make your web sites and web applications fly, Web 2.0 style.
http://script.aculo.us/

With Ajax, there's a difference between Javascript based client side frameworks and Java based server side frameworks. So you will also find several serverside frameworks that include one of the client side frameworks mentioned above.

It's time developers start getting their hands dirty trying out these frameworks and being Ajax ready!

- Harshad Oak

Related:
>> Is AJAX worth adopting?
>> Ajax technologies aren't particularly new or sexy
>> Rails has a huge lead on integrated Ajax development
>> New RAD platform to fill the J2EE-AJAX void
>> Webwork integrates with Dojo


User Comments

Comment by 'Guest' on 2006-06-04 20:18:55
ajax, but there are no referring to zk1. 
Nobody knows, Strenge, very much?!

Comment by 'Guest' on 2006-06-05 01:18:55
Check out this also: http://www.servletsuite.com/jsp.htm#ajax

Comment by Sundar on 2006-06-07 01:06:24
Qooxdoo is sure a framework to watch out for (and is missed out often in the countdowns).  
 
Though the above mentioned frameworks are lightweight and provide ajax in their innovative moulds, Qooxdoo is an awesome javascript/DHTML framework for developing rich applications on the web, and in short words, can be described as  
 
"Visual Component Library (VCL) for Javascript" 

Comment by 'Guest' on 2006-06-08 10:31:01
Ehy did u see backbase ajax frameework? www.backbase.com... very cool components but they cost too much!! :sigh  
 
Demetrio

Comment by 'Guest' on 2006-06-01 20:03:57
TIBCO General Interface (http://www.tibco.com/mk/gi) offers over 90+ ajax widgets and comes with visual tools for very rapid authoring. In fact it was rated by InfoWorld as the "Best Ajax Toolkit of 2006". If you;re interested in making web apps that look, fell and perform like desktop GUIs, then be sure to download a copy and try it out.

Comment by serge.novak on 2006-06-03 01:22:37
I use [URL=http://sardalya.pbwiki.com]sardalya[/URL] all the time. It speeds up your development once you get used to. The developer has recently added an Effect part.  
 
One thing I like about the API is it is under constant development and each next release is far richer than the former. Even the most recent unstable version is quite stable imho.  
 
It is not as detailed as YUI library or scriptaculous but it suits my needs even so.

Comment by Steve on 2006-06-02 22:12:28
XDBC.js from [URL=http://www.challenger.se/]http://www.challenger.se/[/URL] 
shows some real promise.  
 
XML+XSL+Transform = innerHTML. 
 
view Dev Docs > XDBC > Tutorials

Comment by 'Guest' on 2006-06-01 06:20:24
Is there any framework from the open source guys like Apache or JBoss?

Comment by 'Chris Esler' on 2006-06-02 12:01:42
There is one toolkit that is all about user interface. It is far more advanced than any of these kits in regards of making an app look like a REAL application. 
 
http://www.qooxdoo.org 

Comment by dweb on 2006-06-02 12:13:25
When you download Script.aculo.us it includes prototype in it. So it's kinda correct. 
Another super nice library and super light is jquery. 
Is mature and reliable.



Add This Feed Button

Enter your Email

IndicThreads.com Conference On Java Technology, Pune, India
Java Expert Interviews
JonasJacobiJSFAjax
Pure Ajax creates the next generation legacy applications
GuillaumeLaforgeGroovy
Groovy bridges the scripting and the enterprise Java worlds
RubyOnRailscreatorDavidHeinemeierHansson
Let Java retire from the spotlight of web applications in dignity
Processing...
Go to top of page  Home |
SiteMap

Copyright 2004 to 2008 Rightrix Solutions. All rights reserved. All product names are trademarks of their respective companies. Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. Rightrix Solutions and IndicThreads.com are independent of Sun Microsystems, Inc.

Views expressed at IndicThreads.com reflect the views of the authors alone, and do not necessarily reflect those of IndicThreads.com. IndicThreads.com and it's authors are not responsible for reader comments and opinions.

Enterprise Java J2EE JEE Portal >> IndicThreads.com