Product Description
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.
From the Author
This book focuses on getting things done with AspectJ; that's the first line of the preface in this book. Aspect Orientation has been sitting on the sidelines of software development for some time and in writing this book I wanted to show how you can actually make your development easier, cleaner and more flexible than ever before.
This is not a theoretical book; there are plenty of others on aspect orientation that can hit that button exceptionally well. This is all about AspectJ practice and the types of problems that can be solved using AspectJ.
However, this is a strange type of cookbook. The first third of the book is for the beginner who's trying to get an IDE, integrate AspectJ into their software build process and deploy AspectJ into different environments. The second third is all about understanding the AspectJ extensions to the Java language in order to provide a lookup for language features that you'll find yourself using all the time. The final third shows you how to take things to the next level by implementing common solutions and patterns in object-oriented and aspect-oriented software using AspectJ.
I wanted this book to be something that sat on your desk rather than the bookshelf, something that you use all the time as you take advantage of aspect orientation in your software development. That's actually how I use it and so hopefully that's how it will be useful to you too.
See all Product Description