Real-World Aspect-Oriented Programming with Java
De som köpt den här boken har ofta också köpt The Art of Doing Science and Engineering av Richard Hamming (inbunden).
Köp båda 2 för 579 krRussell Miles works as a software engineer for General Dynamics UK where he works with Java and Distributed Systems, although his passion at the moment is Aspect Orientation and in particular AspectJ. To ensure he has as little spare time as possible Russ contributes to various open source projects whilst working on books for O'Reilly and is currently studying at Oxford University in England for an MSc in Software Engineering.
Preface; 1. Aspect Orientation Overview; 1.1 AspectJ; 1.2 A Definition Of Aspect Orientation; 1.3 Where To Go For More Information; 2. Getting Started With AspectJ; 2.1 Installing AspectJ; 2.2 Developing A Simple Aspect; 2.3 Compiling an Aspect and Multiple Java Files; 2.4 Weaving Aspects into Jars; 2.5 Weaving Aspects at Load-Time; 2.6 Generating Javadoc Documentation; 2.7 Compiling an AspectJ Project using Eclipse; 2.8 Selecting the Aspects that are Woven in a Build within Eclipse; 2.9 Building an AspectJ Project using Ant; 3. Deploying AspectJ Applications; 3.1 Deploying a Command Line AspectJ Application; 3.2 Deploying an AspectJ Application as a fully contained Executable .Jar file; 3.3 Deploying a Java Servlet that uses AspectJ; 3.4 Deploying a JSP that uses AspectJ; 3.5 Deploying an Axis Web Service that uses AspectJ; 4. Capturing Join Points on Methods; 4.1 Capturing a Method Call; 4.2 Capturing the Parameter Values passed on a Method Call; 4.3 Capturing the Target of a Method Cal; 4.4 Capturing a Method when it is Executing; 4.5 Capturing the Value of the "this" Reference when a Method is Executing; 5. Capturing Join Points on Exception Handling; 5.1 Capturing when an Exception is Caught; 5.2 Capturing the Thrown Exception; 5.3 Capturing the Object Handling the Exception; 6. Capturing Join Points on Advice; 6.1 Capturing when Advice is Executing; 6.2 Excluding Join Points that are a Result of Advice Execution; 6.3 Exposing the original Join Point when Advice is being Advised; 7. Capturing Join Points on Class and Object Construction; 7.1 Capturing a Call to a Constructor; 7.2 Capturing a Constructor when it is Executing; 7.3 Capturing when an Object is Initialized; 7.4 Capturing when an Object is about to be Initialized; 7.5 Capturing when a Class is Initialized; 8. Capturing Join Points on Attributes; 8.1 Capturing when an Object's Attribute is Accessed; 8.2 Capturing the Value of the Field being Accessed; 8.3 Capturing when an Object's Field is Modified; 8.4 Capturing the Value of a Field when it is Modified; 9. Capturing Join Points within Programmatic Scope; 9.1 Capturing all Join Points within a Particular Class; 9.2 Capturing all Join Points within a ; Particular Package; 9.3 Capturing all Join Points within a Particular Method; 10. Capturing Join Points based on Control Flow; 10.1 Capturing all Join Points within a Program's Control Flow initiated by an Initial Join Point; 10.2 Capturing all Join Points within a Program's Control Flow, Excluding the Initial Join Point; 11. Capturing Join Points based on Object Type; 11.1 Capturing when the "this" reference is a specific Type; 11.2 Capturing when a Join Point's Target Object is a specific Type; 11.3 Capturing when the Arguments to a Join Point are a certain Number, Type and Ordering; 12. Capturing Join Points based on a Boolean or Combined Expression; 12.1 Capturing when a Runtime Condition evaluates to True on a Join Point; 12.2 Combining Pointcuts Using a Logical AND (&&); 12.3 Combining Pointcuts Using a Logical OR (||); 12.4 Cap