AspectJ Cookbook
Home > Computing and Information Technology > Computer programming / software engineering > Web programming > AspectJ Cookbook: (Cookbook)
AspectJ Cookbook: (Cookbook)

AspectJ Cookbook: (Cookbook)

|
     0     
5
4
3
2
1




International Edition


About the Book

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.

Table of Contents:
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


Best Sellers


Product Details
  • ISBN-13: 9780596006549
  • Publisher: O'Reilly Media
  • Publisher Imprint: O'Reilly Media
  • Height: 232 mm
  • No of Pages: 354
  • Returnable: 00
  • Spine Width: 19 mm
  • ISBN-10: 0596006543
  • Publisher Date: 25 Jan 2005
  • Binding: Paperback
  • Language: English
  • Returnable: Y
  • Series Title: Cookbook
  • Width: 181 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
AspectJ Cookbook: (Cookbook)
O'Reilly Media -
AspectJ Cookbook: (Cookbook)
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

AspectJ Cookbook: (Cookbook)

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!