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 ...

Get AspectJ in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.