Foundations of AOP for J2EE Development
Hardcover: 352 pages
Publisher: Apress (September 16, 2005)
Language: English
ISBN-10: 1590595076
ISBN-13: 978-1590595077

Review by Francisco Herrera

Foundations of AOP is an introductory book about the new programming paradigm “Aspect Oriented Programming” that takes care of crosscutting functionalities and code scattering to help you create better structured and clearer programs. .

The book starts defining the new concepts related to AOP (joinpoints, poincuts, aspects, etc) using some examples in pseudo code and then describes 4 of the most popular tools that exist today: AspectJ, JAC (Java Aspect Components), JBoss AOP and Spring AOP. These descriptions are very complete, showing complete syntax, configuration and compilation instructions for each case. Basically, it implements the same example with the different tools so you can compare them.

There is a chapter dedicated only to compare the 4 tools mentioned above. This comparison includes the weaver implementation, syntax for pointcut definition, aspects, jointpoint types, jointpoint instrospection, introduction mechanism, advice code type and some advanced features like aspect instantiation, ordering and reuse.

The book also covers some design patterns using AOP. It shows implementation of well known patterns like singleton, observer, command, etc, using some of the tools described before and then evaluates these implementations to see if they are optimal for real world solutions.

Another topic covered is quality of service and AOP. Here the authors show us how to use AOP to verify that an application’s definition and execution correspond to its identified requirements. They achieve this by implementing what is called design by contract using AOP. They also show two testing techniques (coverage analysis and nonregression test), and the use of AOP to integrate JMX with a java application.

The last three chapters are dedicated to show the full potential of AOP in a sample J2EE application. It shows how to use AOP in the business, presentation and client tiers.

Finally, I could say the book is very good introducing the concepts of AOP and describing several tools that implement them. If you have none o little knowledge of AOP, this could give you a good start. Even if you already know some of the tools described here, this book can be used as a reference. The only thing to consider is that the book doesn’t cover the latest releases of some of the tools.


0 Responses to “Foundations of AOP for J2EE Development”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

July 2018
« May    



Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. Miami Java Users Group is independent of Sun Microsystems, Inc.

%d bloggers like this: