Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tracing method calls for Web Application

 
Saathvik Reddy
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot James. I'll try netbeans.
Any other tools please?
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try JProfiler as well.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic