or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Sell Back Your Copy
For a $0.90 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Aspectj Cookbook
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Aspectj Cookbook [Paperback]

Russ Miles (Author)
3.9 out of 5 stars  See all reviews (7 customer reviews)

List Price: $44.95
Price: $41.35 & this item ships for FREE with Super Saver Shipping. Details
You Save: $3.60 (8%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 3 left in stock--order soon (more on the way).
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Book Description

0596006543 978-0596006549 December 27, 2004 1

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.


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Aspectj Cookbook + Eclipse AspectJ: Aspect-Oriented Programming with AspectJ and the Eclipse AspectJ Development Tools + Aspectj in Action: Enterprise AOP with Spring Applications
Price For All Three: $114.62

Some of these items ship sooner than the others. Show details

Buy the selected items together


Editorial Reviews

About the Author

Russ Miles is a co-founder and CEO at OpenCredo, a software development best practice consultancy based in the UK, where he specializes in enterprise software development, working with many international clients. In addition to being a popular trainer, Russ speaks at international conferences on subjects ranging from Agile Software Development to Cloud Computing. He also leads and contributes to a number of open source projects.


Product Details

  • Paperback: 360 pages
  • Publisher: O'Reilly Media; 1 edition (December 27, 2004)
  • Language: English
  • ISBN-10: 0596006543
  • ISBN-13: 978-0596006549
  • Product Dimensions: 9.4 x 7.1 x 0.8 inches
  • Shipping Weight: 1.3 pounds (View shipping rates and policies)
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (7 customer reviews)
  • Amazon Best Sellers Rank: #1,266,733 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

7 Reviews
5 star:
 (3)
4 star:
 (1)
3 star:
 (2)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
3.9 out of 5 stars (7 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

11 of 13 people found the following review helpful:
3.0 out of 5 stars Needs more why and less how, January 14, 2005
This review is from: Aspectj Cookbook (Paperback)
It's always tempting to judge a book by the topic and not the actual content of the book itself, especially with a controversial topic like AOP. I won't do that hear. Though I feel that in a large way the fundamental issue with AOP, which is that it's a technology looking for a problem to solve, is the major problem with this book.

As with the other recipe books this is organized first into chapters around the fundamentals of the topic. Then within each chapter there is a set of problems, which are described, then solved using the technology. The solution is the described in detail and alternatives are provided. But where other recipe books tend to solve real world problems (e.g. connecting to Amazon web services), this book solves problems in the AOP technology itself.

Four chapters of the book are dedicated to implement GoF Design Patterns in AOP. This is interesting content. If you are an AOP enthusiast these sections alone will be worth the price of the book. But if you aren't a true believer you will not find justification for why you should implement the Design Patterns in AOP. You will only find out how they are implement. Take recipe 19.5, "Implementing the Chain of Responsibility Pattern". The problem is stated as, "You want to apply the chain of responsibility pattern using AspectJ." Ok, but why would I want to do that? What is the benefit? What are the drawbacks? This is never discussed.

Obviously a buy for the AOP faithful. Probably a buy for those seriously interested in AOP. But we are all still looking for the book that justifies AOP in terms of solutions to real world customer problems.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5 of 6 people found the following review helpful:
4.0 out of 5 stars teaches how to use, but look elsewhere for why, February 6, 2005
This review is from: Aspectj Cookbook (Paperback)
You need to already know the ideas behind aspect orient programming [AOP}, before opening this book. Plus a fluency in Java, by the way. While I have the latter fluency, I'd only met AOP briefly in a few papers.

Under the familiar O'Reilly cookbook format, the book has guidelines on various difficulties you might be having, when running AspectJ. It's a superset of Java. The new syntax is not so difficult to learn. True, it's more involved than writing a new class, that conforms to existing Java syntax. But a good Java programmer should quickly grasp how to implement crosscuts or advice.

As to the broader issue of whether you should use AOP at all, the book is silent. It tells you well how to use AOP in the form of AspectJ. But you need to decide, based on externalities, whether to take it up at all.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2 of 2 people found the following review helpful:
2.0 out of 5 stars AspectJ, March 1, 2005
This review is from: Aspectj Cookbook (Paperback)
I would say that this is a survival guide more than a cookbook for the people who interested to try the AOP. This is book with a well structure to express its contents by problem-solution-discussion fomat. Reader can find what he need quickly from the book.

For the people who would try AOP the first thing they may concern is the scope of the Aspect J and how weaving the Aspect J into their current application like JSP, Servlet, Java application and also the compatibility with the IDE like Eclipse. The book first introduce these things to give a outlook of the ability of the Aspect J and then it introduce the main concern about capturing join points for the weaving the Aspect J to the application. However, it may be not easy to understand how the capturing join points can be used to solve the programming problem before you read the chapter 17 - 23 which about the application of the Aspect J. In 17 to 19 chapter it show how to use Aspect J to implement the common design pattern. In the final chapter it introduce the Aspect oriented design pattern and you may get the concept about AOP in this chapter

I suggest that the reader may skimming the chapter 17 - 23 first to get the outlook about the concept of AOP and solving problems by AOP.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews





Only search this product's reviews




Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject