Description
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, too, certain areas of "traditional" OO architectures were found wanting. Aspect-oriented programming (AOP) addresses those issues by extending 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. The AspectJ Cookbook offers a hands-on solution--in fact, several--with a wide variety of code recipes for solving day-to-day design and coding problems using AOP's unique approach.
AOP allows the global properties of a program to determine how it's compiled into an executable program. Before AOP, important program design decisions were difficult to capture in actual code. Instead, the implementation of those design decisions--known as "aspects"--were scattered throughout, resulting in "tangled" code that was hard to develop and maintain. AOP has been compared to the manufacturing of cloth, in which threads are automatically interwoven. Without AOP, programmers must stitch the threads by hand.
The AspectJ Cookbook shows readers why, and how, common Java development problems can be solved by using AOP techniques. With our popular problem-solution-discussion format, the 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, this is the book that really delivers.
CONTENTS:
PrefaceChapter 1: Aspect Orientation OverviewChapter 2: Getting Started with AspectJChapter 3: Deploying AspectJ ApplicationsChapter 4: Capturing Joing Points on MethodsChapter 5: Capturing Join Points on Exception HandlingChapter 6: Capturing Join Points on AdviceChapter 7: Capturing Join Points on Class Object ConstructionChapter 8: Capturing Join Points on AttributesChapter 9: Capturing Join Points Within Programmatic ScopeChapter 10: Capturing Join Points Based on Control FlowChapter 11: Capturing Join Points Based on Object TypeChapter 12: Capturing Join Points Based on a Boolean or Combined ExpressionChapter 13: Defining AdviceChapter 14: Defining Aspect InstantiationChapter 15: Defining Aspect RelationshipsChapter 16: Enhancing Classes and the CompilerChapter 17: Implementing Creational Object-Oriented Design PatternsChapter 18: Implementing Structural Object-Oriented Design PatternsChapter 19: Implementing Behavioral Object-Oriented Design PatternsChapter 20: Applying Class and Component Scale AspectsChapter 21: Applying Application Scale AspectsChapter 22: Applying Enterprise Scale AspectsChapter 23: Applying Aspect-Oriented Design PatternsThe AspectJ Runtime APIColophon
Published
Jan 2005
Publisher
O'REILLY & ASSOCIATES
ISBN
9780596006549
Pages
332




Static Book Details Index Page - Click Here to go to Computer Manuals Website