Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: (RESOLVED?) RE: [aspectj-users] Important aspects of JDK 1.4weaving

Hello Mathew,
 
JRockit works great, as we both probably know.  And it works fine in app servers like WebLogic.  However, sometimes JRockit isn't really an option, and I'm trying to find a way to cover it.   I suppose I could just switch WebLogic to use JRockIt.  It's not a trivial thing, since BEA tends to disperse this particular "settting" out to the several node-servers, instead of putting the option in a central place.  It's doable, just not very preferable.
 
I found an article on the net dealing with weaving with Java 1.3 (and presumably 1.4) by using aspectj on top of the old aspectwerkz libraries.  It's so old (almost a year), however, that it's necessity and/or relevance seemed questionable.  Here:
http://blogs.codehaus.org/people/avasseur/archives/001140_aspectj_5_load_time_weaving_with_java_13_using_aspectwerkz.html
 
Is this something you'd recommend trying?  Do you know anything about this method.
 
Thanks so much for your replies... they've been absolutely invaluable.
 
- Bo
 


From: aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Matthew Webster
Sent: Thursday, April 27, 2006 11:35 AM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: (RESOLVED?) RE: [aspectj-users] Important aspects of JDK 1.4weaving


Bo,

Replacing the system class loader is tricky so that's why we supply a script. You can't remove the old loader as there would be nothing to load the new loader  (unless you put it in ext or boot and that wouldn't be acceptable). This technique is not appropriate for use with application servers (just simple command line programs) that's why we have the agents including the one for JRockit which is described here http://www.eclipse.org/aspectj/doc/released/devguide/ltw-agents.html and works with JDK 1.4. What's your issue with JRockit?

Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx

http://w3.hursley.ibm.com/~websterm/ 
 

Back to the top