I've used custom MBeans and JMX to collect web service metrics before. My current organization in interested in AOP to solve the problem within our web services (Axis, CXF...). We would like to collect typical metrics like number of invocations, bytes received, bytes sent, duration of time to process request, duration of time to call another service and several others.
Our services are deployed to
Tomcat 5.5.* and
JBoss 4.0.5 (within Tomcat).
Any pointers here? We're looking for a container agnostic implementation.
A well formed tutorial would be a nice start. I've seen one that was OK, but not great.
Thanks,
Bill S.