This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Performance issue in Struts application. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Performance issue in Struts application." Watch "Performance issue in Struts application." New topic
Author

Performance issue in Struts application.

Timmy Gupta
Greenhorn

Joined: Dec 06, 2008
Posts: 6
Hi,

I had a struts application. I made the following changes to the application

1. Added loggers to the application.
2. Separated the functions of creating database connection in separate class and made DAO to extend this new class.
3. One more class added.
4. Created a utility class having static methods.
5. Deployed the new one with a different name at the same place where the original one was deployed.

But after doing so, my application became slow than the original one and the time difference is quite significant.
Could anyone please tell me why this is happening?

Regards.


Think before you speak as you might hurt or break someone's heart.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

...

Probably not without more information. Have you tried doing the same installation without your changes? Removing some of your changes to see if they make a difference? Profiling the application to determine where the bottlenecks are?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Performance issue in Struts application.
 
Similar Threads
Session not expiring even tomcat is restarted
Java EE 5 Development using GlassFish questions
Petclinic enhancement - ClassNotFoundException
war file for spring application
Modifying web.xml after enterprise application is already deployed