reklama - zainteresowany?

AspectJ Cookbook - Helion

AspectJ Cookbook
ebook
Autor: Russ Miles
ISBN: 978-14-493-3841-1
stron: 356, Format: ebook
Data wydania: 2004-12-20
Księgarnia: Helion

Cena książki: 143,65 zł (poprzednio: 167,03 zł)
Oszczędzasz: 14% (-23,38 zł)

Dodaj do koszyka AspectJ Cookbook

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.

Dodaj do koszyka AspectJ Cookbook

 

Osoby które kupowały "AspectJ Cookbook", wybierały także:

  • Windows Media Center. Domowe centrum rozrywki
  • Ruby on Rails. Ćwiczenia
  • DevOps w praktyce. Kurs video. Jenkins, Ansible, Terraform i Docker
  • Przywództwo w Å›wiecie VUCA. Jak być skutecznym liderem w niepewnym Å›rodowisku
  • Scrum. O zwinnym zarzÄ…dzaniu projektami. Wydanie II rozszerzone

Dodaj do koszyka AspectJ Cookbook

Spis treści

AspectJ Cookbook eBook -- spis treści

  • AspectJ Cookbook
  • A Note Regarding Supplemental Files
  • Preface
    • Audience
    • About This Book
    • Assumptions This Book Makes
    • Conventions Used in This Book
    • Using the Code Examples
    • Wed Like to Hear from You
    • Safari Books Online
    • Acknowledgments
  • 1. Aspect Orientation Overview
    • A Brief History of Aspect Orientation
    • AspectJ
    • A Definition of Aspect Orientation
    • Where to Go for More Information
  • 2. Getting Started with AspectJ
    • Introduction
    • 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
    • Introduction
    • 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 Joing Points on Methods
    • Introduction
    • 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 Call
    • 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
    • Introduction
    • 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
    • Introduction
    • 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 Object Construction
    • Introduction
    • 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
    • Introduction
    • 8.1. Capturing When an Objects Attribute Is Accessed
    • 8.2. Capturing the Value of the Field Being Accessed
    • 8.3. Capturing When an Objects Field Is Modified
    • 8.4. Capturing the Value of a Field When It Is Modified
  • 9. Capturing Join Points Within Programmatic Scope
    • Introduction
    • 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
    • Introduction
    • 10.1. Capturing All Join Points Within a Programs Control Flow Initiated by an Initial Join Point
    • 10.2. Capturing All Join Points Within a Programs Control Flow, Excluding the Initial Join Point
  • 11. Capturing Join Points Based on Object Type
    • Introduction
    • 11.1. Capturing When the this Reference Is a Specific Type
    • 11.2. Capturing When a Join Points 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
    • Introduction
    • 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. Capturing All Join Points NOT Specified by a Pointcut Declaration
    • 12.5. Declaring Anonymous Pointcuts
    • 12.6. Reusing Pointcuts
  • 13. Defining Advice
    • Introduction
    • 13.1. Accessing Class Members
    • 13.2. Accessing the Join Point Context
    • 13.3. Executing Advice Before a Join Point
    • 13.4. Executing Advice Around a Join Point
    • 13.5. Executing Advice Unconditionally After a Join Point
    • 13.6. Executing Advice Only After a Normal Return from a Join Point
    • 13.7. Executing Advice Only After an Exception Has Been Raised in a Join Point
    • 13.8. Controlling Advice Precedence
    • 13.9. Advising Aspects
  • 14. Defining Aspect Instantiation
    • Introduction
    • 14.1. Defining Singleton Aspects
    • 14.2. Defining an Aspect per Instance
    • 14.3. Defining an Aspect per Control Flow
  • 15. Defining Aspect Relationships
    • Introduction
    • 15.1. Inheriting Pointcut Definitions
    • 15.2. Implementing Abstract Pointcuts
    • 15.3. Inheriting Classes into Aspects
    • 15.4. Declaring Aspects Inside Classes
  • 16. Enhancing Classes and the Compiler
    • Introduction
    • 16.1. Extending an Existing Class
    • 16.2. Declaring Inheritance Between Classes
    • 16.3. Implementing Interfaces Using Aspects
    • 16.4. Declaring a Default Interface Implementation
    • 16.5. Softening Exceptions
    • 16.6. Extending Compilation
  • 17. Implementing Creational Object-Oriented Design Patterns
    • Introduction
    • 17.1. Implementing the Singleton Pattern
    • 17.2. Implementing the Prototype Pattern
    • 17.3. Implementing the Abstract Factory Pattern
    • 17.4. Implementing the Factory Method Pattern
    • 17.5. Implementing the Builder Pattern
  • 18. Implementing Structural Object-Oriented Design Patterns
    • Introduction
    • 18.1. Implementing the Composite Pattern
    • 18.2. Implementing the Flyweight Pattern
    • 18.3. Implementing the Adapter Pattern
    • 18.4. Implementing the Bridge Pattern
    • 18.5. Implementing the Decorator Pattern
    • 18.6. Implementing the Proxy Pattern
  • 19. Implementing Behavioral Object-Oriented Design Patterns
    • Introduction
    • 19.1. Implementing the Observer Pattern
    • 19.2. Implementing the Command Pattern
    • 19.3. Implementing the Iterator Pattern
    • 19.4. Implementing the Mediator Pattern
    • 19.5. Implementing the Chain of Responsibility Pattern
    • 19.6. Implementing the Memento Pattern
    • 19.7. Implementing the Strategy Pattern
    • 19.8. Implementing the Visitor Pattern
    • 19.9. Implementing the Template Method Pattern
    • 19.10. Implementing the State Pattern
    • 19.11. Implementing the Interpreter Pattern
  • 20. Applying Class and Component Scale Aspects
    • Introduction
    • 20.1. Validating Parameters Passed to a Method
    • 20.2. Overriding the Class Instantiated on a Call to a Constructor
    • 20.3. Adding Persistence to a Class
    • 20.4. Applying Mock Components to Support Unit Testing
  • 21. Applying Application Scale Aspects
    • Introduction
    • 21.1. Applying Aspect-Oriented Tracing
    • 21.2. Applying Aspect-Oriented Logging
    • 21.3. Applying Lazy Loading
    • 21.4. Managing Application Properties
  • 22. Applying Enterprise Scale Aspects
    • Introduction
    • 22.1. Applying Development Guidelines and Rules
    • 22.2. Applying Transactions
    • 22.3. Applying Resource Pooling
    • 22.4. Remoting a Class Transparently Using RMI
    • 22.5. Applying a Security Policy
  • 23. Applying Aspect-Oriented Design Patterns
    • Introduction
    • 23.1. Applying the Cuckoos Egg Design Pattern
    • 23.2. Applying the Director Design Pattern
    • 23.3. Applying the Border Control Design Pattern
    • 23.4. Applying the Policy Design Pattern
  • A. The AspectJ Runtime API
    • org.aspectj.lang
    • Signature
    • org.aspectj.lang.reflect
    • The SoftException Class
    • The NoAspectBoundException Class
  • Index
  • Colophon
  • Copyright

Dodaj do koszyka AspectJ Cookbook

Code, Publish & WebDesing by CATALIST.com.pl



(c) 2005-2024 CATALIST agencja interaktywna, znaki firmowe należą do wydawnictwa Helion S.A.