This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Performance and the fly likes Tracing method calls for Web Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Tracing method calls for Web Application" Watch "Tracing method calls for Web Application" New topic
Author

Tracing method calls for Web Application

Saathvik Reddy
Ranch Hand

Joined: Jun 03, 2005
Posts: 228
Hi,

I want to trace all the method calls for a web application. For ex: if a user clicks a button i want to trace all the java classes and methods invoked for that action.

I know i can do this with AOP but are there any profiling tools with which this can be achieved.

Thanks,
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
You profile the method that handles the action associated with the button click. The profiler that ships with NetBeans enables method profiling.
Saathvik Reddy
Ranch Hand

Joined: Jun 03, 2005
Posts: 228
Thanks a lot James. I'll try netbeans.
Any other tools please?
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
Try JProfiler as well.
 
jQuery in Action, 2nd edition
 
subject: Tracing method calls for Web Application
 
Similar Threads
HttpUrlConnection.getStatusCode hangs forever (without exceptions)
How to trace Swing?
How to disable HTTP Trace Websphere 5.1
Disable the HTTP TRACE,DELETE methods in Web Sphere
Java Class call on PHP script