Manning Early
Access Program
AspectJ in Action, Second Edition
EARLY ACCESS EDITION
Enterprise AOP with Spring
Ramnivas Laddad

MEAP Release: April 2008
Softbound print: February 2009 (est.) | 550 pages
ISBN: 1933988053

Start Reading AspectJ in Action, Second Edition today through the Manning Early Access Program
MEAP OPTIONS*
  MEAP + Ebook only - $27.50
  MEAP + Print book + Ebook Combo - $49.99
  Print book only - $44.99 (Not yet available for order)
* Download early chapters in PDF format! For more information, please see the MEAP FAQs page.
  About MEAP Release Date Estimates    

Table of Contents, MEAP Chapters & Resources

Table of Contents         Resources 
Part I UNDERSTANDING AOP AND ASPECTJ
 1 Introduction to AOP - FREE
 2. Introducing AspectJ - AVAILABLE
 3. AspectJ join-point model - AVAILABLE
 4. Dynamic crosscutting - AVAILABLE
 5. Static crosscutting
 6. Aspect
 7. The @AspectJ syntax
 8. AspectJ weaving models
 9. Spring AspectJ integration
Part II APPLICATIONS OF ASPECTJ
10. Monitoring techniques
11. Policy enforcement: Keeping design intact
12. Design patterns
13. Implementing concurrency control
14. Transaction management
15. Implementing security
16. Implementing domain logic
17. The next step

Appendix A: The AspectJ compiler
Appendix B: Understanding Ant and Maven integration
Appendix C: Understanding IDE integration
  • Author Forum
      Go here to discuss this title with the author
 

DESCRIPTION

While it's good practice to break down a program into distinct features with minimal overlap in functionality, some functionalities in a typical enterprise application defy this desired separation of concerns. Aspect-oriented programming (AOP) helps programmers deal with these crosscutting concerns—such as tracing, transaction management, and security—that cut across multiple modules in an application. AOP and its most powerful implementation for Java, called AspectJ, simplify implementation of enterprise applications by modularizing crosscutting concerns that abound in such applications.

AspectJ in Action, Second Edition is a revised and updated edition of the bestselling first edition. This book, now covering AspectJ 6 and Spring 2.5, will guide you through AOP and AspectJ using practical applications so you can create systems that are easier to understand, implement, and maintain.

Expert author Ramnivas Laddad shows you how to combine various popular technologies such as Spring, Hibernate, Swing, and JDBC with AspectJ to create reusable solutions for common problems such as logging and tracing, monitoring, architectural policy enforcement, transaction management, concurrency control, security, and domain logic implementation. AspectJ in Action, Second Edition also gets you up-to-date with the latest AspectJ five features including annotation-based syntax, XML-based syntax, and load-time weaver, as well as annotation-based crosscutting.

AspectJ shows its real power when combined with a lightweight enterprise framework such as Spring. This book shows you various pragmatic approaches to Spring-AspectJ integration, which is a major feature of Spring 2.5.

This book is for developers who have experience in AOP and AspectJ, but also for those who are new to both. If you are already familiar with AspectJ, you will find this edition immensely helpful in answering questions such as:

  1. What are the ways to leverage these technologies?
  2. What applications AOP is suitable for?
  3. What are the best practices and traps?
  4. Which kind of weaving should you use?
  5. When to use Spring AOP and AspectJ AOP?

The applications presented in this book will convince you that AOP vastly simplifies creation of enterprise application. And there is plenty of reusable code to get you started quickly.

WHAT'S INSIDE:

About the Author

Ramnivas Laddad is a well-known expert in enterprise Java, especially in the area of AOP. He is the author of AspectJ in Action, the best-selling book on AOP and AspectJ that has been lauded by industry experts for its presentation of practical and innovative AOP applications to solve real-world problems. Ramnivas, a Spring framework committer, is also a very active presenter at leading industry events, and has been an active member of both the AspectJ and Spring communities from their beginnings.

Book Reviews

“A great book on a complex subject, that you cannot read at once, but we will keep close at hand as excellent reference document on AspectJ.”
Nicholas De Loof, BreizhJUG

About the Early Access Version

This Early Access version of AspectJ in Action, Second Edition enables you to receive new chapters as they are being written. You can also interact with the authors to ask questions, provide feedback and errata, and help shape the final manuscript on the Author Forum

Want to learn More?

Sign up to read more content when it is released and to receive news about this book.