Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Best AOP frameworks-languages

 
Rodrigo Fernandes
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the best recent AOP frameworks/languages ? I am researching about this and found AspectJ, Spring AOP and JBoss AOP. Is it true that JBoss AOP has been discontinued ? Thanks.
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It appears that way from their website.

http://www.jboss.org/jbossaop

I have always used the former 2. Spring is not a full AOP solution, it is convenient for a lot of people, who don't need all the bells and whistles.

Spring is fully compatible with AspectJ and indeed the success of Spring is a driving factor of the success of AspectJ. I personally write all my aspects using AspectJ and I have no complaints.
 
Peter Rooke
Ranch Hand
Posts: 848
1
Java Linux Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends upon what you view as "best"? The major difference (from what I know) is the way in which the AOP is weaved into the final code.
Spring AOP uses runtime weaving by creating proxy objects (best if your programming to interfaces btw), but ApectJ is a more mature product and offers more features.

Spring AOP; lightweight and only uses runtime weaving. I believe it lacks the ability to create point cuts for variables.
AspectJ; a more substancial solution, offers more features like compile time weaving.
JBossAOP; I cannot comment on as I've never used it...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic