On Wed, 14 Dec 2005 11:19:47 +0000, John Moore <[EMAIL PROTECTED]> wrote:
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?
AspectJ modfies the byte-code of your class while Spring-AOP either
creates a proxy or a subclass. This means that ie in Spring-AOP you can
not advice field acess or statements within a method. Basicly with spring
AOP you can only adivce calls to a certain method.
JM
--
Christian Essl
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
-------------------------------------------------------
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