Chapter 11. Aspect-Oriented Programming

Domain-specific languages offer the benefits of specialized language constructs for undertaking work in a particular problem domain. We’ve looked at examples such as Jython for scripting and the rule-based language Jess for defining business logic. This chapter focuses on the use of aspect-oriented programming (AOP), a programming paradigm that offers the ability to effect rapid change across a system’s entire code base with surgical precision.

The AOP paradigm brings an extra dimension to the design activity, making it possible to produce highly maintainable and extensible systems. Moreover, AOP introduces a dynamic element to the static nature of conventional software architecture, enabling the swift evolution ...

Get Rapid J2EE™ Development: An Adaptive Foundation for Enterprise Applications now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.