In this chapter we've used AOP and IoC with Spring to create in a minimal way an application with DDD Test Driver Development.
We've seen what DDD is and what its philosophy is, and how it can be applied using AOP and Spring to use IoC on domain objects instantiated outside Spring using AspectJ's weaver.
We've seen how to adopt Aspects to improve implementation by centralizing the logic of crosscutting functionalities among classes.
We've improved the application's speed, avoiding calls to the database in a transparent way, which without AOP would have been unavoidable for the application layer.
We've also employed AOP for the authorization part with Spring Security.
As an exercise, the reader will be able to apply the other aspects described in the previous chapters as well, which we left out for the sake of brevity in this partial application.
We've used JUnit, DbUnit, Spring, and SpringIDE AJDT in Eclipse.
In the next chapter will see in detail how to install the whole development environment...