Results 1 to 5 of 5

Thread: Does Spring roo use Spring AOP ?

  1. #1
    Join Date
    Mar 2007
    Posts
    26

    Default 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. #2
    Join Date
    Jun 2005
    Location
    São Paulo, Brasil
    Posts
    86

    Default

    Spring AOP is used "under the covers" for transactional support, among others.
    Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

  3. #3
    Join Date
    Mar 2007
    Posts
    26

    Default

    Quote 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 ?

  4. #4
    Join Date
    Jun 2005
    Location
    São Paulo, Brasil
    Posts
    86

    Default

    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
    Simplicity is prerequisite for reliability. — Edsger W. Dijkstra

  5. #5
    Join Date
    Mar 2007
    Posts
    26

    Default

    Quote 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..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •