aspose file tools*
The moose likes Struts and the fly likes GWT vs Struts vs JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "GWT vs Struts vs JSF" Watch "GWT vs Struts vs JSF" New topic
Author

GWT vs Struts vs JSF

sherif hathout
Greenhorn

Joined: Nov 02, 2004
Posts: 18
Dear All

i want to know which one is better in load component and which is better performance, i want my application run as fast as possible in first load and in subsequence.

Thanks

sherif
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Because a GWT is based on AJAX, it is likely to perform slightly better than either Struts or JSF, mainly because it makes individual updates to the page, rather than refreshing the entire page.

However, because much more code runs on the browser in a GWT application, how well it performs will depend on the speed of the client system (i.e. the PC running the browser).

Regarding startup time, I would argue that it's not something you should worry about. In most production systems, the server starts up once and is rarely ever stopped except to do maintenance. What does it matter if it takes the web application a while to load up on the server? It's only going to happen once.


Merrill
Consultant, Sima Solutions
sherif hathout
Greenhorn

Joined: Nov 02, 2004
Posts: 18
Does GWT provide what struts do?
if i have struts application and i want to migrate it to GWT,will i miss any thing or will i lost some thing?

sherif
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
GWT and Struts are both frameworks for developing web-based applications, but there the similarities end. They use a completely different paradigm. Struts just builds on the standard Java EE request/response pattern, while with GWT, every call to the server is an AJAX call, and manipulation of the web page is done through standardized "widgets" that are defined in the toolkit.

I guess you don't really lose anything if you switch from Struts to the GWT, but you will have to get used to a completely different way of thinking about developing web applications.
sherif hathout
Greenhorn

Joined: Nov 02, 2004
Posts: 18
thanks Merrill

But i have one question,what about support?
Will i found materials that cover GWT and if i need support will i found it or it will be diffecult as GWT is considered new technology?

sherif
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
My personal opinion is that you will find better support for either JSF or Struts than you will for GWT.

One other comment as well: I don't believe it's a good practice to choose a framework solely on the basis of expected runtime performance. There are a lot of factors that affect runtime performance, and the framework is only one of them.

I heartily concur with comments made on this subject by Joe Ess in this thread.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GWT vs Struts vs JSF