Chapter 7. Three-tier Spring Application, Tests and AOP

This chapter continues the sample application described in Chapter 6.

Here is a brief outline of the topics that will be covered in this chapter:

  • Application layer and user interface

  • Tests

  • AOP

Application layer and user interface

To be used by the users, the Domain Classes have to be used by the controllers that form the application layer. This layer coordinates and interprets the commands given on the User Interface (UI), which is the HTML pages seen by the final user.

Now we will see some controllers that are part of the UI.

CustomerController lets the customer interact with the store. The names of the methods of the Controller are:

  • Create: To perform creation of a new order

  • save: To save the ...

Get Spring 2.5 Aspect-Oriented Programming 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.