GWT vs DWR ???

141 views
Skip to first unread message

Ehsun

unread,
Dec 27, 2006, 3:11:22 AM12/27/06
to Google Web Toolkit
Hello
I'm setting of to develop a set of average size Ajax enabled web sites
in Java. I'm looking for an appropriate Ajax framework based on Java.
Actually I need a light, simple but powerful one. I've developed Ajax
websites before without any framework and API, so now I want to get
ride of those low level programmings such as handling the
XMLHttpRequests and DOM parsings, on the other hand I do not spend a
long time to learn a very powerful but heavy framework like ZK. My
potential choices are DWR and GWT. DWR is the most popular framework
for Ajax on Java but GWT is developed by Google!!! Thus I need more
info and suggestion to determine which one is the best for me.

Please help me

IamRobe...@gmail.com

unread,
Dec 27, 2006, 8:25:29 AM12/27/06
to Google Web Toolkit
> I do not spend a long time to learn a very powerful but
> heavy framework like ZK.

To me it seems that GWT is more like ZK than it is to DWR.

> I've developed Ajax websites before without any framework
> and API, so now I want to get ride of those low level
> programmings such as handling the XMLHttpRequests
> and DOM parsings

With GWT you are potentially replacing ALL JavaScript coding activities
with Java. You would essentially use GWT for everything.

So in answer to your question, I think that you should experiment with
GWT before committing to it. It is definately worth looking at, even
if you don't use it for this specific project.

Rob

Pavel J

unread,
Dec 27, 2006, 12:08:44 PM12/27/06
to Google-We...@googlegroups.com
GWT is much more than just an AJAX framework, and it doesn't make much sense to use it just for AJAX (same, you wouldn't use Spring just for IoC, you'd use AOP, ORM, MVC, JTA as well). GWT is a browser based rich client platform in the first place, and AJAX components of GWT are just convenient addons.
A more appropriate comparison would be:
GWT vs. DWR + Dojo/yui/Rico/etc. + history management framework + more

As Rob said, you should experiment with GWT before committing...

Pavel

Ehsun

unread,
Dec 28, 2006, 5:52:22 AM12/28/06
to Google Web Toolkit
> GWT vs. DWR + Dojo/yui/Rico/etc. + history management framework + more

I got it completely! thanks a lot! But is GWT for web development or
its too heavy for it and is only appropriate for Web-based
applications???

Pavel J

unread,
Dec 28, 2006, 3:57:35 PM12/28/06
to Google-We...@googlegroups.com
GWT is for web development. There was a discussion about using it for desktop apps, but the general consensus was "why would you wanna do that?", there are other good frameworks around like Swing or SWT.

When I said "rich client platform" (I probably shouldn't have used this term), I meant rich Web-based client UI development platform/framework.

Pavel

Luciano Broussal

unread,
Jan 3, 2007, 5:03:31 PM1/3/07
to Google Web Toolkit
Hi,

5 stars for this topic.
I've my own idea of this topic. you would be able to see the result in
2007.

BTW now GWT exists i think we can start forgeting a bit all the native
JS libs or port them into GWT

Reply all
Reply to author
Forward
0 new messages