[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] WebSphere LTW Agent Submitted as Contribution

Hi Alexandru,

The Aspectwerkz approaches to plugging in AspectJ to older VM's are
certainly worthy options. Usually, starting these VM's in hotswap mode means
running in debug mode, which isn't a good option for many uses. Patching the
VM to add in a preload hook for ClassLoaders is versatile and in some cases
is the only option. For this project (and many others), it would be easier
to get acceptance of an approach that involves putting a jar in the
ClassPath and adds an environment variable using an existing server API,
rather than patching the VM, out of concern relating to the supportability
of running with a patched VM.

-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Alexandru Popescu
Sent: Sunday, October 02, 2005 2:29 AM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] WebSphere LTW Agent Submitted as Contribution

#: Ron Bodkin changed the world a bit at a time by saying on  10/1/2005 7:24
PM :#
> Hi All,
> Ramnivas and I are working on an interesting project applying AspectJ to
> fine-grained security in a WebSphere 6.0 environment We wanted to use
> load-time weaving to let us build modules separately in the RAD IDE and
> weave at load-time and to mock the EJB container behavior for integration
> tests. However, WebSphere 6.0 uses IBM's Java 1.4 VM that doesn't support
> any Java agents for weaving.
> However, I was able to track down the details of the WebSphere ClassLoader
> Plug In API (the hard part) and write a simple Plug In that lets you do
> load-time weaving in AspectJ 5 for application classes in a WebSphere
> project using the embedded Java 1.4 VM (for older WebSphere
> this should also work on their Java 1.3 VM's). You can download the jar
> also read about how to use it in more detail at the AspectJ bugzilla
> in which I contributed it (see
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=111027).
> Thanks,
> Ron


I was wondering if these ideas have been or could have been used to solve
the above:



.w( the_mindstorm )p.

> Ron Bodkin
> Chief Technology Officer
> New Aspects of Software
> w: (415) 824-4690
> We're Hiring! See www.newaspects.com 
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
aspectj-users mailing list