Part 1. Understanding AOP and AspectJ

 

Part 1 of this book introduces aspect-oriented programming (AOP), the AspectJ language, and how it integrates with Spring. We’ll discuss the need for a new programming methodology and the way this methodology is realized in AspectJ. Because AOP is a new methodology, we’ll devote the first chapter to introducing it: why it is needed, and what its core concepts are. Chapter 2 shows the overall flavor of the AspectJ language through examples. The next four chapters will delve deeper into the AspectJ syntax. Together, these chapters should give you enough information to start writing simple code and see the benefits that AspectJ offers. Chapters 7 and 8 will explore the alternative syntax and weaving models. Given the mutual importance of Spring and AspectJ, this part of the book ends by devoting chapter 9 to Spring-AspectJ integration. Along the way, we’ll examine many examples to reinforce the concepts learned.

You’ll find the material in part 1 useful as a reference while reading the rest of the book. If you’re new to AOP and AspectJ, we strongly recommend that you read this part first.

sitemap