AW: performance details
"Bernhard Woehrlin" <[email protected]>
| Newsgroups | gmane.comp.java.strutscx.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Nirmal,
JSP gets transformed into a servlet which then lives in the server's memory.
So I would bet that JSP perform better than a Servlet which transforms a XML
with help of an XSLT on each request like StrutsCX does.
I experimented a little with the neteye's actioncache - it can enhance
performance drastically by caching the Response page and invocing the Struts
View in regular intervalls or in case the content changed. This works for
Struts as well as for StrutsCX. To use it with StrutsCX its necessary to
rewrite the StrutsCXBaseAction. Check the StrutsCX Homepage for details.
For me, using StrutsCX in favor of Struts is more a thing of architecture
and design of your application.
If your application has to serve different output devices and is
multilingual (outside the ISO-8859-1) you definitively should consider to
use StrutsCX. Check out the StrutsCX article on DevX to get some pro
StrutsCX arguments:
http://www.devx.com/Java/Article/11381/0/page/5
And if it some times should be necessary: StrutsCX can be used in parallel
to the Struts/JSP approach...
Hope this is of some help for you.
Regards,
Berny
----------
I am only a beginner in this framework and am just playing around with
the prototype files (part of the download). I am planning to recommend this
as the framework for a new project. Do any of you have an idea about the
performance details? Obviously, the first question I would get is what is
the performance compared to struts. The main concern here is
transformations, which is really very much CPU intensive. Your suggestions
are greatly appreciated. FYI, as suggested in the site, I am planning to use
neteye's actioncache; I am not sure how much I will gain.
Thanks,
Nirmal R.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf