File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

profiling end to end web application

 
Warren Dew
blacksmith
Ranch Hand
Posts: 1332
2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to profile serving of pages from a JSP web application, including all the time all the way through to the Oracle back end. My current plan is to run Tomcat under JProfiler. Has anyone done this before, and any thoughts on whether this is the best way to do it and what pitfalls I might have to look out for?
 
steve souza
Ranch Hand
Posts: 862
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JAMon comes with a servlet filter that tracks various statistics for every jsp, servlet, gif, jpg etc including hits, avg time, max time, min time, max concurrency and more. JAmon is simple to use and using the servlet filter should only require minimal effort to incorporate. It is fast enough to monitor in production systems, and is in your war, so no special installation is required. The demo available at http://www.fdsapi.com uses the jamon servlet filter. It aslo monitors all jdbc calls and more.
 
Warren Dew
blacksmith
Ranch Hand
Posts: 1332
2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just to clarify, I need to profile what is happening within a single hit, not the pattern of hits in the course of general usage.
 
Warren Dew
blacksmith
Ranch Hand
Posts: 1332
2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In case anyone has a similar problem and looks this up in the future, I ended up setting up a Tomcat installation and having JProfiler run it and profile it. JProfiler had nice guided dialog to set up such an arrangement once I had the web site running.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic