views:

66

answers:

3

what is the fastest way to get performance metrics of all spring services?

+1  A: 

You'll prob need to quantify exactly what you want to get out of your application in terms fo performance metrics. For a start though take a look at Beet, a performance and monitoring tool for Spring based apps:

http://beet.sourceforge.net/

There's also an article here than describes how to use Beet to gather performance metrics (such as method call timings):

http://www.gridshore.nl/2009/09/01/using-beet-to-monitor-your-spring-framework-application/

Jon
Beet is indeed interesting. However, official Spring 3.0 support has yet to be released.
Pascal Thivent
+4  A: 

You could use JAMon and apply the JamonPerformanceMonitorInterceptor on your services.

Pascal Thivent
+1  A: 

Why not just try the PerformanceMonitorInterceptor? You don't have to write anything that way, just configure it to advise all your service method calls.

duffymo
Yep, also an option +1
Pascal Thivent