• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

AspectJ and web service metrics

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
Author
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not aware of any specific tutorial in this area. However, writing aspects to do what you describe is not that difficult. So I will suggest starting with the one you have seen and modify as you need (I am assuming that you are already familiar with AspectJ).

-Ramnivas
 
reply
    Bookmark Topic Watch Topic
  • New Topic