Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Aspect-oriented programming with AspectJ
Kiselev I., Sams, Indianapolis, IN, 2002. 274 pp. Type: Book (9780672324109)
Date Reviewed: Nov 2 2004

The principles of aspect-oriented programming (AOP) have come a long way since its inception in the early 1990s. AOP is a novel paradigm for separating crosscutting concerns in object-oriented code into modularized units called aspects. This book provides a good introduction to AOP using AspectJ, a language extension to enable AOP for Java. The book is divided into four parts: an introduction to programming with AspectJ, an explanation of how AspectJ can be used in a real application, AspectJ language details, and a conclusion that focuses on best practices and traps to watch out for.

The first part of the book outlines the need for AOP, and provides a high-level introduction to the basics of AspectJ. The next section starts with a description of an application called AspectNews, which allows users to publish content. The book quickly moves into explaining how aspects can be used to solve common design considerations, like security and exception handling. The book provides concrete examples of how to enable logging, tracing, profiling, buffering, pooling, and caching using AOP. The author points out aspects that can be used during development and deployment. This segregation provides an insight into how to build other aspects, and where they might be applicable, for example, aspects that address manageability concerns. The next part of the book focuses on AspectJ language details. The author explains, in detail, the concepts of aspects, pointcuts, advices, and static crosscutting. Along with best practices, and caution points for using AspectJ, the book also contains appendices to describe the AspectJ application programming interface (API), and the AspectJ tools for compilation and document generation.

The book provides a very good introduction to the basics of AOP, as well as concrete examples of where it can be used in an application. The text is about 250 pages long, and includes ample sample code to facilitate a hands-on learning experience. The author has a lucid writing style, and is well organized.

The book does not contain, however, discussions of dynamic crosscutting and weaving concepts (compile-time, bytecode, and load-time). Some use cases to construct test cases using AOP would help illustrate other scenarios where AOP could be applied. Despite these minor drawbacks, the author’s conversational style definitely puts the reader at ease, and helps readers think about how they could apply the principles of AOP. The book would be useful to those who are thinking about how to use AOP in their applications; I would strongly recommend this book.

Reviewer:  Satadip Dutta Review #: CR130365 (0506-0642)
Bookmark and Share
  Reviewer Selected
 
 
Very High-Level Languages (D.3.2 ... )
 
 
Java (D.3.2 ... )
 
 
Language Classifications (D.3.2 )
 
Would you recommend this review?
yes
no
Other reviews under "Very High-Level Languages": Date
Design of very high-level computer languages
Klerer M., McGraw-Hill, Inc., New York, NY, 1991. Type: Book (9780070350984)
Mar 1 1992
Icon semantics--a formal approach to icon system design
Chang S. International Journal of Pattern Recognition and Artificial Intelligence 1(1): 103-120, 1987. Type: Article
Jun 1 1989
High-level languages and software applications: a reference
Birnes W. (ed), McGraw-Hill, Inc., New York, NY, 1989. Type: Book (9789780070053946)
Mar 1 1990
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy