This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.
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?
Joined: Jan 15, 2002
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?
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?