October 2006
Intermediate to advanced
880 pages
22h 11m
English
We emphasized the importance of disciplined application layering in chapter 1. Layering helps achieve separation of concerns, making code more readable by grouping code that does similar things. Layering, however, carries a price. Each extra layer increases the amount of code it takes to implement a simple piece of functionality—and more code makes the functionality more difficult to change.
In this section, we show you how to integrate Hibernate in a typical layered application. We assume that you want to write a simple web application with Java servlets. We need a simple use case of the CaveatEmptor application to demonstrate these ideas.
When a user places a bid on an ...