PacktLib: Spring 2.5 Aspect Oriented Programming

Spring 2.5 Aspect-Oriented Programming

Credits

About the Author

About the Reviewer

Preface

Understanding AOP Concepts

Limits of object-oriented programming

The AOP solution

What Spring provides in terms of AOP

AOP with IoC in Spring 2.5

Summary

Spring AOP Components

Aspect

Pointcut

Operations on Pointcut

Joinpoint

Advice

Advisor

Introductions

Summary

Spring AOP Proxies

Proxy

JDK proxy

CGLIB proxy

Creating proxies programmatically

P´╗┐roxyFactoryBean

Autoproxy

Target sources

Summary

AspectJ Support

AspectJ annotations

XML Schema-based configuration

Recipes

AspectJ weaving in Spring

Summary

Design with AOP

Concurrency with AOP

Transparent caching with AOP

Security with AOP

Summary

Three-tier Spring Application, Domain-Driven Design

Domain-Driven Design

Sample application

Summary

Three-tier Spring Application, Tests and AOP

Application layer and user interface

Test

AOP

Summary

Develop with AOP Tools

Java Development Kit

Spring

Eclipse

Eclipse plug-ins (Linux, MacOSX, and Windows)

Apache Tomcat

PostgreSQL

Summary