Best server-side framework for heavy AJAX Java application
Asked Answered
A

10

14

There are zillions of Java web application frameworks.

95% were designed before the modern era of AJAX/DHTML-based development, and that means these new methods are grafted on rather than designed in.

Has any framework been built from the ground up with e.g. GWT + Extjs in mind?

If not, which framework has adapted best to the world of forms with dynamic numbers of fields and pages that morph client-side?

Andri answered 16/9, 2008 at 15:41 Comment(0)
A
6

Echo2 / Echo3 by Nextapp (www.nextapp.com) is totally awesome.

Advantages over GWT:

1) It is not limited to a sub-set of java like GWT 2) It is easier (in my estimation) to learn 3) Has extremely robust design studio for almost drag and drop designing.
4) It is very fast, and works very well on all platforms browsers 5) You can write your application using either java script or java 6) It has great and straight forward methods for handling events and actions.

Personally I think that for any web-application in which you are trying to integrate java and speedy delivery I wouldn't hesitate to pick Echo3 or Echo2.

Afterdamp answered 18/9, 2008 at 6:59 Comment(0)
S
5

If you're starting from scratch. I'd have to say Google Web Toolkit. I have to say it is incredibly powerful. You get keep using most of your Java tools. Plus, you don't have to duplicate code that exists on both the server and the client, it just gets compiled differently for each area.

Syllabogram answered 16/9, 2008 at 15:58 Comment(0)
D
5

I'd consider REST-style frameworks as well as the other recommendations here- Restlet or Jersey may be good choices for the backend, while you use something like JQuery or GWT on the front end. Both frameworks can easily produce JSON, and the REST style provides a nice clean line of demarcation between your client application and your server source; I find that JSF can make that demarcation pretty muddy.

Dimercaprol answered 16/9, 2008 at 16:16 Comment(0)
C
4

I use JSF and IceFaces. Although JSF has a few limitations, IceFaces seems to work pretty well and has ironed out a few of the problems with JSF.

I haven't used a really good AJAX Java framework as yet, although Echo2 looks interesting.

Curtilage answered 16/9, 2008 at 15:50 Comment(0)
W
3

I like the stripes framework. It lets you use whatever javascript toolkit you want.

Here is their documentation on AJAX

Wivestad answered 16/9, 2008 at 15:51 Comment(0)
E
3

GWT is quite powerful and easy to use (all Java, no Javascript/HTML/CSS coding). If Google has their way it will be a dominant framework/tool in web applications development, and for good reason. It already works with Google Gears (which allows offline access to web apps) - and more than likely will be optimized to work within Google Chrome.

Eleaseeleatic answered 17/9, 2008 at 12:49 Comment(0)
P
2

DWR

I use this to dynamically populate drop downs, and even filter them on the fly based on user input in other places on the form.

Periodical answered 16/9, 2008 at 19:8 Comment(0)
B
1

I like the combination of JBoss Seam and Richfaces, especially with the JBoss tools that are extentions to Eclipse - makes building these sort of RIA's incredibly easy.

Wikipedia contains some useful comparisons:

Comparison of JavaScript frameworks List of AJAX Frameworks

Your choice depends on several different factors including whether you want the "work" done client-side (most javascript frameworks) or server-side (echo2 etc.). Other things worth looking at are tools like OpenLaszlo that provide Flash (I think) out of the box, but drop back to DHTML if there is no Flash player present.

Unfortunately I think the decision comes down to balancing several competing cocerns. Check out the comparisons and try them out - most come with online demo's for you to try.

Bloodstone answered 16/9, 2008 at 15:53 Comment(0)
P
1

Aptana has a server side frame work called Jaxer. This is from their site:

Jaxer's core engine is based on the same Mozilla engine that you'll find in the popular Mozilla Firefox browser. This means that the execution environment you use on both the client and the server are the same. It's Ajax all the way through and through. That means you only need one set of languages -- the languages that are native to the browser -- to create entire applications.

This framework is open source and has a very nice IDE based on Eclipse. Aptana is also working on a Javascript implementation for ActiveRecord called ActiveRecordJS. Potentially you could use this both client and server side with their framework.

Peachey answered 2/5, 2009 at 11:17 Comment(0)
A
0

GWT is one of the best AJAX framework that I used ever. Most important thing about this framework is that its maintained by Google. And Everyone know "Who is Google ?"

GWT is used by many products at Google, including Google AdWords and Google
Wallet. It's open source, completely free, and used by thousands of 
enthusiastic developers around the world.

GWT provide rich widgets that can be used to built any application. Almost all the widgets they have.

Another important point is GWT is continuously developing and its also have stable release which is very good thing. Another thing Google has also released GWT-Material which is again a very good thing because everyone is moving toward material.

I hope this will help you!!!

Archangel answered 14/9, 2017 at 9:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.