Java J2EE Portal
Enterprise Java Station
J2EE curve
Java News / Articles
Introduction to Rich Internet Applications (RIAs) and Adobe Flex
Java Open Source VoIP Platform - JAIN SLEE
Building User Interfaces Using Google Web Toolkit (GWT)
Processing...
Buy Java, Deals On Software Technology Store
Click here for great deals on computers, laptops, software and books
Struts Action Framework 2.0 should be released by August 2006 PDF Print
Written by Content Team   
Mar 08, 2006 at 02:11 AM
IndicThreads >> Did you evaluate various Ajax frameworks before you decided to integrate the Dojo framework for Ajax? Could you share any comparisons that you came up with?

Patrick Lightbody >> The frameworks evaluated were Dojo, Rico, and Prototype/Scriptaculous. Of the three, we found that Dojo has the most solid foundation as a JavaScript framework, where as the others as simply libraries. This was an important distinction. The widget framework that Dojo offers keeps almost all of the complex JavaScript away from page developers, which was something we wanted to encourage with AJAX/WebWork integration.

"Of Dojo, Rico, and Prototype/Scriptaculous, we found that Dojo has the most solid foundation as a JavaScript framework..."

With that said, we've found Dojo has been incredibly frustrating for new users. The documentation is very difficult to follow and many new users find the straightforward nature of the other JavaScript libraries to be easier to get started with. I happen to agree. I don't know what the future will look like, but I know that some users are working on Scriptaculous integration as well, so it may very well be that you'll get to choose which framework you want to work with in the near future.

IndicThreads >> Does WebWork's Ajax support come primarily from the bundling of the Dojo framework on the client side, or did you make major Ajax specific changes on the server side?

Patrick Lightbody >> Most of the features are really just thin wrappers around some client-side Dojo widgets we created. However, the AJAX validation support does make a significant use of a server-side component. That component, which is called by using DWR, checks that the values in the HTML form validate against the server-side validation rules. This style of validation is appealing because your validation rules don't need to be written twice: once in JavaScript and once in Java.

IndicThreads >> How well does WebWork integrate with other popular open source tools like Hibernate?

Patrick Lightbody >> Hibernate works great with WebWork. All the common patterns, such as OpenSessionInView, play nice as well. For the most part, the IOC container does this type of integration, so if it works well in Spring, odds are it will work well with WebWork.

"If it works well in Spring, odds are it will work well with WebWork..."

IndicThreads >> What effect do you think will EJB3 have on frameworks like WebWork and Spring?

Patrick Lightbody >>It's hard to say. I come from a background where I tried EJB 2 in a large project with very little success. For the applications I work on, I don't see a lot of value of using a more complicated deployment environment, such as an EJB server, when open source alternatives such as iBatis or Hibernate + Spring are already available.

"The key to EJB3 lies in the tool support..."

I think the real key will be in tool support. If the vendors, such as JetBrains, which makes IntelliJ IDEA, add great support for EJB3, I may find myself using it simply out of convenience.



Add This Feed Button

Enter your Email
Java News / Articles
Java Expert Interviews
Open-Source keeps me 'coding fit'
RichUngerNetBeans
NetBeans was the early bird but has Eclipse caught the worm?
MarcDomenig
Swing UI is mature while Ajax is still in its infancy
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