Announcement Announcement Module
Collapse
No announcement yet.
Does Spring roo use Spring AOP ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Does Spring roo use Spring AOP ?

    I am new to Spring Roo. Based on my readings, I dont think Roo generation of code uses Spring AOP. It only uses AspectJ. Is this assumption correct ? I am reading all technologies being used by Spring Roo, just want to make sure I read only relevant.

    Thanks

  • #2
    Spring AOP is used "under the covers" for transactional support, among others.

    Comment


    • #3
      Originally posted by dserodio View Post
      Spring AOP is used "under the covers" for transactional support, among others.
      Thanks for the response. I have created test Roo project. But I dont see any traces of Spring AOP being used. I checked all import packages in .aj files. Or are you talking about spring aop in any spring project ?

      Comment


      • #4
        AFAIK it's just the standard "declarative transaction management" in Spring. For instance, the "persist" method in *_Roo_Jpa_ActiveRecord.aj is annotated with @Transactional, and <tx:annotation-driven/> is added to applicationContext.xml

        Comment


        • #5
          Originally posted by dserodio View Post
          AFAIK it's just the standard "declarative transaction management" in Spring. For instance, the "persist" method in *_Roo_Jpa_ActiveRecord.aj is annotated with @Transactional, and <tx:annotation-driven/> is added to applicationContext.xml
          Thanks dserodio, makese sense. I liked your footer quote btw. Keep it simple... We engineers sometimes make things complex unnecessarily..

          Comment

          Working...
          X