When object-oriented programming (OO) first appeared, it was a revelation. OO gave developers the ability to create software that was more flexible and robust. But as time went on and applications became more sophisticated, certain areas of "traditional" OO
architectures were found to be insufficient. Aspect-oriented programming (AOP) addresses those issues by extensing the OO approach even further.
Many developers are interested in AOP-especially in AspectJ, the open source extension of the Java programming language that explicitly supports the AOP approach. Yet, although AspectJ is included with Eclipse, the increasingly popular open source IDE for Java, finding a practical and non-theoretical way to learn this language and other AOP tools and techniques has been a real problem. Until now. AspectJ Cookbook offers a hands-on solution with a wide variety of code recipes for solving day-to-day design and programming problems using AOP's unique approach.
This Cookbook includes:
• Getting started with AOP
• Integrating AspectJ with Eclipse, Ant, and the Java command-line tools
• Deploying aspect-oriented applications as servlets, JSPs, web services, and more
• Recipes on every facet of aspects, pointcuts, advice, and the core AOP constructs
• Employing aspects in Java and J2EE design pattern implementations
• Using AOP-specific design patterns to enhance existing Java applications
AspectJ Cookbook shows you why, and how, common Java development problems can be solved by using AOP techniques.
With the popular problem/solution/discussion format, this book presents real-world examples to demonstrate that AOP is more than just a concept; it's a development process that will benefit users in an immediate and visible manner. If you're interested in how AOP is
changing the way software is developed, and how you can use AspectJ to make code more modular, easier to develop, maintain, evolve, and deploy, AspectJ Cookbook really delivers.