my dog learned polymorphism*
The moose likes Aspect Oriented Programming and the fly likes Is it possible to integrate JBoss AOP with Spring ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Aspect Oriented Programming
Bookmark "Is it possible to integrate JBoss AOP with Spring ?" Watch "Is it possible to integrate JBoss AOP with Spring ?" New topic
Author

Is it possible to integrate JBoss AOP with Spring ?

Rodrigo Fernandes
Greenhorn

Joined: Aug 09, 2013
Posts: 2
Is it possible to integrate JBoss AOP with Spring framework ? I have a Spring framework application and I would like to try JBoss AOP. Is it possible to have both or do I need to migrate my beans configurations all to JBoss framework ?
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1648
    
    7

I am not familiar with JBoss AOP, but if you weave at compile time I don't see why any of these solutions will not work anywhere. However Spring has facilities like @Transactional, @Async etc. They offer an AspectJ mode or by default it uses Spring aspects. You won't be able to use your JBoss AOP for this. However I don't see why you could not use Spring AOP (the default for those) and use JBoss AOP for your own custom aspects.

Thanks,

[How To Ask Questions][Read before you PM me]
 
wood burning stoves
 
subject: Is it possible to integrate JBoss AOP with Spring ?
 
Similar Threads
Spring AOP
AOP
Struts2 with Spring AOP
Best AOP frameworks-languages
Spring AOP