Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF Performance

 
Alaa Abutabaq
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How does the using of JSF framework affect the performance? And is it wise to use many frameworks integrated with each other regarding performance(i,e using JSF and JSP)?
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Alaa Abutabaq:
How does the using of JSF framework affect the performance? And is it wise to use many frameworks integrated with each other regarding performance(i,e using JSF and JSP)?


First of all JSP is not a framework.

I have tried some examples using Spring and JSF integration. I dont think there is much about performance.
 
Alaa Abutabaq
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for you.
I meant Struts not JSP.
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Alaa Abutabaq:
Thanks for you.
I meant Struts not JSP.


Yes, I think, you can integrate both the frameworks (struts and JSF), some request will go to ActionServlet and some will go to FacesServlet depending on the configuration in web.xml.

But I don't know the scenerio, where should we would do it?

Preformance, in what sense, can you clarify a bit more?

 
Alaa Abutabaq
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sometimes developer faces unexpected performance problems when he mixes different things together, even if it is theoritically have no effect on each other. Sometimes you need experience in such cases to know. So, did any one try it can tell us about his experience?
 
Russell Patterson
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have some questions about performance too.

We have run a J2EE style setup to render pages for our PlayStation games. So we have a fairly high concurent user count (~50,000 concurrent users is not uncommon).

About a year and a half ago we switched from a straight JSP approach to using Cocoon and XSLT. While it was an elegant solution the performance was about 25% of the page count we could render with the straight JSP solution so we had to rip all the Cocoon stuff out. Now we use JSP with taglibs.

JSF sounds interesting because we render HTML pages (for the PC side) and a custom markup language set of pages for the PlayStation side. So it sounds like a fit in that regard since we require the rendering of multiple markup languages.

Has anyone done some benchmarking on JSF pages that they can share along with some straight JSP comparisons?

Thanks!
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Similar thread, Hans Bergsten discussing JSF performance issue, found.
[ September 12, 2006: Message edited by: Adeel Ansari ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic