I am far from being an AspectJ expert, and I don't know Spring AOP
very much, but AspectJ is much por powerfull, as Spring documentation
states:

http://www.springframework.org/docs/reference/aspectj.html

For example, Spring AOP cannot intercept this kind of call "every time
your code uses an annotated field, it checks to see if it is
instantiated", though thinks are changing for Spring 2.0:

http://www.springframework.org/node/203

2005/12/14, John Moore <[EMAIL PROTECTED]>:
> Eduardo Rocha wrote:
>
> >Yes, there is a post compilation step called weaving, if you use
> >AspectJ compiler (ajc). Actually ajc behaves like an ordinary
> >compiler, you don't need to setup a post compilation step, ajc does
> >everything, it compiles and weaves your code.
> >
> >There is another kind of class instrumenting called Load Time Weaving
> >(LTW), which modifies the classes when they are loaded by the VM, and
> >you can use normal compilation.
> >
> >
> >
> Out of curiosity, what advantages does AspectJ bring over the AOP
> provided by Spring?
>
> JM
>
> --
> ==============================================
> John Moore  -  Norwich, UK  -  [EMAIL PROTECTED]
> ==============================================
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to