Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

9.7. Summary

Spring's integration with AspectJ is drawing a lot of attention. In its simplest form, it lets you use the AspectJ language to express pointcuts. The XML-based aspect configuration further leverages the AspectJ syntax to turn a regular bean into an aspect. The @AspectJ syntax takes an additional step by modularizing the AOP-related configuration right into the beans themselves. Spring accomplishes all these syntax possibilities while staying within the limits of its proxy-based AOP framework. Of course, you can always use an AspectJ weaver with Spring as with any Java application.

These concepts, along with the ones presented in the earlier chapters, complete our introduction to the AspectJ language. Now that you understand the concepts and constructs in AspectJ as well as how it works with Spring, we're ready to dive into practical examples in areas such as tracing, concurrency control, transaction management, and security. The material presented so far will serve as a reference while you read the remainder of the book.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint