File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JSF performance?" Watch "JSF performance?" New topic

JSF performance?

Yu Chen

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..
somkiat puisungnoen
Ranch Hand

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

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:

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.


Java Developer, Thailand
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33119

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.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
John Carnell
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.


John Carnell<br />Principal Architect<br /> <br />Netchange, LLC<br />1161 HillCrest Heights<br />Green Bay, WI 54313<br /> <br /><br /> <br /> <br />Author of <a href="" target="_blank" rel="nofollow">Pro Jakarta Struts, Second Edition</a>
I agree. Here's the link:
subject: JSF performance?
It's not a secret anymore!