|
AspectJ in Action Practical Aspect-Oriented Programming Ramnivas Laddad 2003 | 512 pages ISBN: 1930110936 |
|||
![]() |
$44.95 | Softbound print book | |
![]() |
$22.50 | PDF ebook | |
Back Cover
Modularizing code into objects cannot be fully achieved in pure OOP. In practice some objects must deal with aspects that are not their main business. A method to modularize aspects—and benefit from a clean maintainable result—is called aspect-oriented programming. AspectJ is an open-source Java extension and compiler designed for AOP development. Now integrated with Eclipse, NetBeans, JBuilder, and other IDEs, AspectJ v1.1 is ready for the real world.
It is time to move from AOP theory and toy examples to AOP practice and real applications. With this unique book you can make that move. It teaches you AOP concepts, the AspectJ language, and how to develop industrial-strength systems. It shows you examples which you can reuse. It unleashes the true power of AOP through unique patterns of AOP design. When you are done, you will be eager—and able—to build new systems, and enhance your existing ones, with the help of AOP.
What’s Inside
- What is aspect-oriented programming?
- How AspectJ works with JAAS, Jess, log4j, Ant, JTA, POJOs
- Best practices and design patterns
- How to implement
- policy enforcement
- resource pooling and caching
- thread-safety
- authentication and authorization
- transaction management
- business rules
Ramnivas Laddad is an AOP and AspectJ authority. With his writings, he has contributed to the general awareness of AOP and has contributed to features now incorporated in AspectJ Version 1.1. Ramnivas lives in Sunnyvale, California.
“Speaks directly to me as a developer”
—Alan Cameron Wills, fastnloose“... real solutions to tough problems ...”
—Chris Bartling, Identix, Inc.“I started reading at 11pm and couldn’t stop ... It’s a must read for anyone interested in the future of programming.”
—Arno Schmidmeier, AspectSoft“... The only resource that presents AOP concepts and real-world examples in an approachable, readable way.”
—Jean Baltus, Metafro-Infosys
DESCRIPTION
A software system is the realization of a set of concerns. One of the central premises of object-oriented programming is that each concern should be implemented as a separate module. However, there are certain system-wide concerns, such as logging, security, performance, and so forth, that often need to be addressed in many, if not all of the modules. Consequently, the code to handle these system-wide concerns may be mixed in with the core logic of a huge number of modules, resulting in lower productivity, poor quality, and systems that are hard to evolve.
Aspect-oriented programming overcomes these problems by modularizing the system-wide concerns.
AspectJ enables AOP programming in Java by adding a few new language constructs. By using Java as the base language and creating a final system that is compatible with Java byte code specification, AspectJ passes on all the benefits of Java. The use of Java as the base language also makes AspectJ a relatively easy language to learn.
AspectJ in Action is a practical guide to AOP and AspectJ. The reusable code examples that are provided will enable quick implementation of functionality in your system.
The book is divided into three parts. The first part introduces AOP and AspectJ and will be helpful to developers wanting to learn or advance their knowledge of AspectJ. The second and third parts present examples of everyday situations in which you can use simple and easy AspectJ solutions to implement common system requirements such as logging, policy enforcement, resource pooling, business rules, thread-safety, authentication and authorization, as well as transaction management.
What's inside:
- In-depth coverage of AOP and AspectJ
- Design patterns and idioms
- Solutions to real-world problems
- Much reusable code content
- AspectJ version 1.1
WHAT THE READERS SAY ABOUT THIS BOOK...
"...by far the best programming related book I read for a long time.
Especially,
I enjoyed the structure of the book, which gives someone who has no clue
about
AOP an idea what it is all about. The examples, are great and there are no
logical
gaps...suitable for the beginner and expert, covers all AOP relevant topics
and drills
further down on advanced AOP techniques.
"AspectJ in Action by Ramnivas Laddad looks like a very clear and complete treatment of aspects. Like the other books in the "In Action" series from Manning, it is filled with very good diagrams... This book will definitely help."
"You know, it's one of these books about technologies you always thought too "ivory tower", too bloated and complex to use and suddenly discover that heeeey this is nice and may prove useful."
"...AJIA was exactly what I needed...Fantastic use of diagrams, figures, and annotated code. They solidly add to understanding the content...I found the book to really be excellent from all viewpoints for getting into the subject matter from many angles and diving down very deep into it."
ABOUT THE AUTHOR...
Ramnivas Laddad is a Sun Certified Architect of Java Technology. He has worked with object-oriented systems for many years and with aspect-oriented programming for the past three years. He is the author of several articles and papers and co-author of Professional Java XML. His article series on AOP and AspectJ was published in "JavaWorld." He lives in Sunnyvale, California.

