Skip to main content

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

#: Ron Bodkin changed the world a bit at a time by saying on  10/3/2005 7:34 AM :#
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.


Many thanks Ron. This is definitely clarifying the decission you have taken.

./alex
--
.w( the_mindstorm )p.

-----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
do
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
then
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
implementations,
this should also work on their Java 1.3 VM's). You can download the jar
and
also read about how to use it in more detail at the AspectJ bugzilla
report
in which I contributed it (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=111027).

Thanks,
Ron


Hi!

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

[1]
http://blogs.codehaus.org/people/avasseur/archives/001121_aspectj_aspect_and
_java_13.html
[2] http://blogs.codehaus.org/people/avasseur/archives/001140_aspectj_5_load_tim
e_weaving_with_java_13_using_aspectwerkz.html

thanks,

./alex
--
.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
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users



Back to the top