Although print newspapers are online nowadays, they still roll out their paper versions although admittedly probably with lower circulation. I must say I dread the day when newspapers are truly extinct. It just seems to weird. Anyone who thinks that computers reduce paper usage should check with banks offering automatic teller machines. My spouse works for a large high tech corporation, where one division of the company receives a delivery of three semi-tractor trailers of computer paper weekly, and fills is up the same number each week with used paper. At least they are recycling, but it still seems a waste.
|Published (Last):||18 September 2015|
|PDF File Size:||6.23 Mb|
|ePub File Size:||5.87 Mb|
|Price:||Free* [*Free Regsitration Required]|
Start your free trial Preface This book focuses on getting things done with AspectJ. While this book does not get into too much detail on the theory behind aspect orientation, a brief overview is provided to give you a useful foundation to support the code recipes that form the rest of the book.
The code recipes will walk you through how to get your system set up for aspect oriented development, building your first small programs, and eventually applying aspect orientation to complex real-world problems. Anyone that is open to a fresh approach to solving some of the problems that traditional object orientation suffers from should find something in this book that encourages them to try AspectJ in their own applications.
This cookbook is organized into four broad sections, as shown in Figure P What each set of chapters within this book intends to show Chapter 1 through Chapter 3 provide a set of recipes to get you started with the tools and environments that support development using AspectJ. These chapters cover how to use command-line tools, Eclipse, even ANT to develop your aspect-oriented applications, and finish up by showing you how to deploy to diverse target environments such as Java Servlets, Java Server Pages, and web services.
Chapter 4 through Chapter 16 provide in-depth syntactical examinations of the AspectJ language. These chapters aim to give you a useful and exhaustive reference for how to use the different constructs that the AspectJ language adds to Java. Chapter 17 through Chapter 23 are where AspectJ really gets to showcase its advantages over traditional object-oriented software implementations. In these chapters, Aspects are used to enhance and improve the design of software solutions ranging from design pattern implementations to enterprise applications.
Chapter 23 brings this book to a close by introducing some of the aspect-oriented design patterns that are gradually being discovered as tools, such as AspectJ, bringing aspect orientation into the mainstream of software development. Now that you know what this book is about, it should be explained what this book is not about.
As mentioned before, this book is not a theoretical examination of AspectJ. The code is kept at the fore throughout to make sure that every area has a practical focus. There are many great articles online and gradually appearing in the press that examine the more theoretical concerns of AO, so this book does not attempt to deal with these.
This book is also not claiming to be AspectJ in a nutshell. AspectJ is in a very stable state for such a young implementation, but even now extensions to the language and the technologies are being considered, so it is possible that some areas of this book may age faster than others. In an attempt to ensure that this book has the longest life possible, only the most stable areas that were incorporated at the time of writing were included.
Assumptions This Book Makes The following assumptions are made about your knowledge and experience with the supporting tool, languages, and concepts that accompany aspect-oriented development: That you have a reasonably advanced knowledge of the Java language That you have an existing Java Source Development Kit SDK on your system, at a minimum JSDK 1.
Italic Indicates new terms, URLs, email addresses, filenames, file extensions, pathnames, directories, and Unix utilities.
Constant width Indicates commands, options, switches, variables, attributes, keys, functions, types, classes, namespaces, methods, modules, properties, parameters, values, objects, events, event handlers, XML tags, HTML tags, macros, the contents of files, or the output from commands.
Constant width bold Shows commands or other text that should be typed literally by the user. Constant width italic Shows text that should be replaced with user-supplied values.
Tip This icon signifies a tip, suggestion, or general note. Warning This icon indicates a warning or caution. Using the Code Examples This book is here to help you get your job done. In general, you may use the code in this book in your programs and documentation. For example, writing a program that uses several chunks of code from this book does not require permission.
Answering a question by citing this book and quoting example code does not require permission. We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. However, AspectJ is a fast moving technology and it may be that some features of the supporting toolsets or of the language itself have changed, or that we have simply made mistakes.
AspectJ Cookbook by Russ Miles