GWT for building websites ?

86 views
Skip to first unread message

Simer

unread,
May 30, 2012, 7:50:04 AM5/30/12
to google-we...@googlegroups.com
Hi guys
I"m trying to build a web application in Java ee 6 ... But i don't know which framework to use ... Struts or GWT ... ajax data load without page refresh is important for a few pages in the website but not all. I've been researching on building websites with GWT but it's hard to find an answer. 

Yaya @ Work

unread,
Jun 2, 2012, 4:49:39 AM6/2/12
to google-we...@googlegroups.com
Hi !

The purpose of GWT is not to build just any kind of web site but to
develop rich and efficient client-centric web applications (or native
mobile applications via PhoneGap, etc.).
This doesn't preclude you from developing whatever web site with GWT,
but the result may be a bit awkward : users would possibly have to
download a lot of stuff before seeing the site, you may have to use
special tricks for you site to be properly crawled by search engines,
etc.
So it really depends on the kind of "web site" you want to develop...
Best regards,
          Yannis

Joseph Lust

unread,
Jun 2, 2012, 11:58:15 AM6/2/12
to google-we...@googlegroups.com
Struts and GWT are very different things.

GWT is for client side web applications. You could run the requests to the servlets through Struts if you wanted, or you could use a host of other technologies or languages (i.e. PHP) on the backend. You could even make a standalone GWT application that is deployed to user desktops/phones and does not even use a server backend (i.e. could be static or call public data API's).

Struts is a Java framework for mapping actions (requests) to action classes and marshalling/unmarshalling those requests from JSON/XML to Java and back to JSON/XML/HTML responses.

So, it really depends what you want to build.


Sincerely,
Joseph



Reply all
Reply to author
Forward
0 new messages