aspose file tools*
The moose likes Struts and the fly likes JSF performance? 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 "JSF performance?" Watch "JSF performance?" New topic
Author

JSF performance?

Yu Chen
Greenhorn

Joined: Feb 11, 2002
Posts: 17
Any comments on JSF performance? any performance penelty by the extra layer of rendering/processing?

I'd like to share your experience..
Thanks,
-yu
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
JSF Performance tutorial

http://www.jspolympus.com/JSF/JSFPerformance.jsp

http://www.jamesholmes.com/JavaServerFaces/


More detail
I�m not aware of any performance studies that have been done yet on JSF and made public. I follow this space very closely and keep an extensive set of resources for JavaServerFaces on my website at:



http://www.jamesholmes.com/JavaServerFaces/



There is a project for unit testing JSF called jsftest, but I don�t think there�s any performance stuff out yet. If you come across anything, please share with the group.



-James





SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30758
    
156

Yu,
I don't think the layer of rendering would be significant compared to the time it would take to get data from a database.

I'm more concerned with the number of server round trips. It seems like more is done on the server resulting in more form submissions. Note that I haven't used JSF in a real application yet, only read about it.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
John Carnell
Author
Ranch Hand

Joined: Sep 27, 2002
Posts: 71
Hi Yu,

I think JSF is going to perform as well as the other web frameworks. I think one of the watchouts with JSF is that is extremely powerful and very events driven. Since we are dealing with a stateless protocol each event invoked causes a call back to the server. This means without really understanding JSF it can be very easy to build chatty applications.

Thanks,
John


John Carnell<br />Principal Architect<br /> <br />Netchange, LLC<br />1161 HillCrest Heights<br />Green Bay, WI 54313<br /> <br />john.carnell@netchange.us<br /> <br /> <br />Author of <a href="http://www.amazon.com/exec/obidos/ASIN/159059228X/ref=jranch-20" target="_blank" rel="nofollow">Pro Jakarta Struts, Second Edition</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF performance?