You can dei ne interceptors in the business code and in the deployment descriptor i les. This aspect of
interceptors and much more is discussed in Chapter 8, “Aspect-Oriented Programming (Interceptors).”
In this chapter, you have seen a brief summary of Java EE and the history of the current principles
You have discovered how the architecture should be layered properly in a Java EE project. We
also provide a long JSR compatibility list to help you determine which container best suits your
project. Finally the chapter focused on Core Principles of Java EE by presenting convention over
coni guration and giving a brief summary of CDI.
Next, we will be ready to move on to each pattern, focusing on their implementations and
providing specii c examples.
1. Think about a banking application where you need to integrate into the mainframe back end
and provide services for web, mobile, and native desktop clients.
2. Think about implementing the web application for the project you designed in the i rst step.
Which layer should host the web application?
3. After a long debate, the bank you are working for decided to move away from the mainframe,
asking you to design a substitute system. What parts of the current project will be impacted?