The moose likes Spring and the fly likes AspectJ v. Spring's AspectJ support Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "AspectJ v. Spring Watch "AspectJ v. Spring New topic

AspectJ v. Spring's AspectJ support

David Newton

Joined: Sep 29, 2008
Posts: 12617

Is the book about "pure" AspectJ, Spring's version of AspectJ support, or both?
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

I have no idea, as I didn't read the book, but the title to me says it all, that it covers all of AspectJ. The Spring version is called "Spring AOP", which as we know is a subset of AspectJ. And if the book was about Spring AOP alone, I would hope that they would call it "Spring AOP in Action"

I'll let the authors really answer that question. ;)


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Ramnivas Laddad
Ranch Hand

Joined: Jul 23, 2003
Posts: 62
Mark got it!

Since Spring now adopts AspectJ as its programming model (but uses proxies as the underlying implementation technique), the book covers that combination as well. As for the examples, it uses both Spring's proxy-based AOP (with AspectJ programming model) as well as AspectJ's byte code weaving.


Ramnivas Laddad
Author, AspectJ in Action (
Twitter: ramnivas
I agree. Here's the link:
subject: AspectJ v. Spring's AspectJ support
It's not a secret anymore!