GWT for building websites ?

已查看 86 次
跳至第一个未读帖子

Simer

未读,
2012年5月30日 07:50:042012/5/30
收件人 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

未读,
2012年6月2日 04:49:392012/6/2
收件人 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

未读,
2012年6月2日 11:58:152012/6/2
收件人 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



回复全部
回复作者
转发
0 个新帖子