Hi,
I have the same issue.Seems struts is running pretty slow (or porbably its becuase of back end database connections to mysQL using Hberntae).Any waqys I can improve the perfrmance. I am using Weblogic 7.0
The most important consideration when dealing with performance issues is to understand where the bottlenecks are that are affecting you. For many web applications it tends to be database access, but there's no way to generalize, because every application is different.
One approach to investigating this, for example, would be to copy the database access logic of your webapp into a stand-alone test program, and run some timing tests there, with no web container or user interface framework involved.
Precompiling JSPs only helps make the very first request to that page run faster ... it has zero impact on ongoing performance.
Thanks so much as this will highly help in running my jsp's faster ( I did try including jsp pre-compilation into jasper).
CraigRegards, Sam.
PS: The servlet container's implementation of a filter will typically have about the same performance impact
as a RequestDispatcher.forward() call, which isn't much -- basically it's a lookup and a method call. Obviously, anything your Filter actually does will affect the timing, but adding simple stuff like "how long did this request take to process" and then logging that will have little or no visible impact unless your webapp is overloaded with users or something like that.
Bill Siggelkow <[EMAIL PROTECTED]> wrote:
Well of course it will affect performance because the container is doing stuff it would not be doing otherwise -- the question is more like "will the negative performance impact be significant?" I would say if you calculating the elapsed time it should not be. It depends on what your filter is doing with the data -- it is simply logging it out to the console it should be OK -- the other thing that is nice about filters is that they can easily be turned off via the filter mapping.
Kommana, Sridhar wrote:
Hi,
Iam using TimerFilter in my application which gives the response time taken for executing the each Action class. Does this will affect the performance of the application on production environment. Is there any known performance or stability issues with Servlet filters with Struts?
Thanks in advance,
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]