[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] AspectJ or ASM

Hi Rajaraman,
yes you are right, AspectJ ( and LTW Weaving)  will be a good tool for Java Monitoring. At work, i have developped some aspects, coupled with JMX or loging in flat files, to follow methods durations, call counters, pools ( threads, Apache common pool,JDBC, EJB ...) and more ...

Cordialement / Best regards

Jean-Louis Pasturel


De : aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] De la part de Rajaraman Santhanam
Envoyé : jeudi 2 septembre 2010 08:10
À : aspectj-users
Objet : [aspectj-users] AspectJ or ASM

Hi All,

We are developing Java Application Performance Monitoring system as part of our Application Management solution. There is a simple current implementation present based on BCEL. The decision is to rewrite again to support lot more features in this area. 

For a past week I've been looking into AspectJ for this requirement and this seems to be a perfect fit. However, I'm not able to convince myself completely whether using AOP is a overkill for this requirement or should I go with simple bytecode instrumention with ASM (our original decision)

Obvious advantage on going with AspectJ will be no framework needed to be developed by us to inject performance monitoring bytecode based on the pointcut definitions. 

Just wanted to ask people here to validate my thought. 

This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.