Fr. 52.90

Eclipse AspectJ - Aspect-Oriented Programming with AspectJ and the Eclipse AspectJ Development Tools

English · Paperback / Softback

Shipping usually within 3 to 5 weeks

Description

Read more

Aspect-oriented software design (ASOD), which follows the Java philosophy

of write once, run anywhere, is a new way of thinking about program

construction. It is a rapidly growing and evolving programming methodology

that some feel may eventually replace object-orientation as the dominant

programming paradigm. The first public release of the AspectJ programming

language was in 1998 and has been gaining momentum ever since. This book is

an introduction to AOP with AspectJ and Eclipse and shows how to create a

productive AO development environment by using the AspectJ Development

Tools for Eclipse (AJDT). Tools have an important role to play in learning

aspect-orientation (AO) and Eclipse tools help Java developers better

understand AOP. In fact the growing interest in AOP can be attributed to the

better available tools and this book teaches the reader everything they need to

understand AOP and apply it successfully to their own projects.

List of contents

Preface.
Introduction.
I. INTRODUCING ECLIPSE, ASPECTJ, AND AJDT.
1. Getting Started.
    What Is Eclipse?
    Installing Eclipse.
    Eclipse Basics.
    Installing AJDT.
    Examples for This Book.
    Summary .
2. First Steps in AJDT.
    A Simple Insurance Application.
    Tracking Policy Updates.
    Creating an AspectJ Project.
    Creating the PolicyChangeNotification Aspect.
    Stating the Notification Policy.
    Implementing the Notification Policy.
    Showing Advice In AJDT.
    Evaluating the Implementation.
    Finishing Touches.
    Summary.
3. Extending the Application.
    The Story So Far.
    Serialization-Based Persistence.
    Hibernating.
    Managing Build Configurations.
    Summary.
4. More AJDT.
    Building an ASPECTJ Project.
    Debugging.
    Editor Templates and the Outline View Toolbar.
    Generating Documentation (Ajdoc).
    AspectJ Help, Examples, and Cheat Sheets.
    Summary.
II. THE ASPECTJ LANGUAGE.
5. An Overview of AspectJ.
    What Is An Aspect?
    Join Points and Pointcuts.
    Advice. 
    Inter-Type Declarations.
    Key Design Properties of the AspectJ Language.
    Summary. 
    References.
6. Straight to the Point.
    The Calculator Program.
    Introduction to Pointcut Designators.
    The Method Call Pointcut Designator.
    Pointcut Composition.
    Patterns and Signatures.
    The Method Execution Pointcut Designator.
    The Target Pointcut Designator.
    The this Pointcut Designator.
    The get and set Pointcut Designators.
    Capturing Context with the args Pointcut Designator.
    Extracting Values with this and target.
    The handler Pointcut Designator.
    Initialization Pointcut Designators.
    Static Scoping Pointcut Designators: within, withincode.
    Dynamic Scoping Pointcut Designators: cflow, cflowbelow.
    The adviceexecution Pointcut Designator.
    The if Pointcut Designator.
    How to Write a Good Pointcut.
    Common Pitfalls.
    Summary.
7. Take My Advice.
    The Different Types of Advice.
    Advice Parameters and Pointcuts.
    Writing Logic in the Body of Advice.
    Advice Ordering.
    Softening Exceptions.
    declare warning and declare error.
    Common Pitfalls. 
    Summary.
    References.
8. Inter-Type Declarations.
    Fields, Methods, and Constructors.
    Scope and Visibility.
    Inter-Type Declarations and Interfaces.
    Extending Classes.
    Using Pointcuts and Advice with Inter-Type Declarations.
    Summary.
9. Aspects.
    Aspect Definition and Initialization.
    Aspect Instantiation.
    Aspect Inheritance.
    Inner Aspects.
    Aspect Privilege.
    Common Pitfalls.
    Summary.
10. Using the AspectJ API.
    Package org.aspectj.lang.
    Package org.aspectj.lang.reflect.
    Summary.
III. PUTTING IT ALL TOGETHER.
11. Adopting AspectJ.
    The Adoption Process.
    Different Types of Aspects.
    Enforcement Aspect Examples.
    Infrastructure Aspect Examples.
    Core Aspect Examples.
    Evaluating the Simple Insurance Application.
    Summary.
    References.
12. Advanced AJDT.
    Aspect Libraries.
    Linking Aspects with Compiled .class Files.
    Ant Integration.
    Aspect Visualization.
    Summary.
13. Aspect-Oriented Design.
    Finding Aspects.
    What Makes a Good Aspect?
    Closing Thoughts.
Appendix A. Command-Line AspectJ.
    Installing AspectJ.
    Using the Compiler.
    Building with Ant.
Appendix B. AspectJ Language Quick Reference.
    Aspect Declaration.
    Pointcuts.
    Wildcards.
    Advice.
    Inter-Type Declarations.
Appendix C. Next Steps.
    Mailing Lists and FAQ.
    Raising Bugs and Enhancement Requests.
    Contributing to the Development of AspectJ and AJDT
Appendix D. AJDT Icons Reference.
    Objects.
    Object Adornments.
    Markers.
    Build Configuration.
Index.

About the author

About the Authors
ADRIAN COLYER is a senior technical staff member at IBM, the leader of the AspectJ Eclipse project, and co-founder of the AspectJ Development Tools (AJDT) for Eclipse project. Currently he leads an IBM team developing and applying aspect-oriented technology.
ANDY CLEMENT is a senior software developer at IBM's Laboratory at Hursley Park, a committer on the AspectJ project, and co-founder of the AJDT project. He is also involved in the use of aspects in J2EE middleware.
GEORGE HARLEY is a senior developer at IBM's Hursley Laboratory currently working on AJDT and deploying aspect technology in enterprise applications.
MATTHEW WEBSTER joined IBM in 1989 and is currently developing aspect-oriented technology for use with IBM products.

© Copyright Pearson Education. All rights reserved.

Summary

Aspect-oriented software design (ASOD), which follows the Java philosophy
of "write once, run anywhere", is a new way of thinking about program
construction. It is a rapidly growing and evolving programming methodology
that some feel may eventually replace object-orientation as the dominant
programming paradigm. The first public release of the AspectJ programming
language was in 1998 and has been gaining momentum ever since. This book is
an introduction to AOP with AspectJ and Eclipse and shows how to create a
productive AO development environment by using the AspectJ Development
Tools for Eclipse (AJDT). Tools have an important role to play in learning
aspect-orientation (AO) and Eclipse tools help Java developers better
understand AOP. In fact the growing interest in AOP can be attributed to the
better available tools and this book teaches the reader everything they need to
understand AOP and apply it successfully to their own projects.

Product details

Authors Andy Clement, Adrian Colyer, George Harley, Matthew Webster
Publisher Addison-Wesley Longman, Amsterdam
 
Languages English
Product format Paperback / Softback
Released 01.01.2004
 
EAN 9780321245878
ISBN 978-0-321-24587-8
No. of pages 504
Dimensions 180 mm x 239 mm x 1 mm
Weight 726 g
Series the eclipse series
Addison-Wesley
Eclipse (Addison-Wesley)
Addison-Wesley
the eclipse series
Subject Natural sciences, medicine, IT, technology > IT, data processing > Programming languages

Customer reviews

No reviews have been written for this item yet. Write the first review and be helpful to other users when they decide on a purchase.

Write a review

Thumbs up or thumbs down? Write your own review.

For messages to CeDe.ch please use the contact form.

The input fields marked * are obligatory

By submitting this form you agree to our data privacy statement.