Chapter 13. Multitiered architectures

In this chapter:

  • The three-tiered service architecture
  • Dependency injection and why it matters
  • Creating a layered application using Wicket, Spring, and Hibernate

So far, we’ve looked at the individual nuts and bolts of Wicket through the use of simple examples. We’ve developed a virtual cheese store with functionality to browse through a catalogue, place orders, view discounts, and edit those discounts. The big thing missing from those examples is what you’d almost certainly have in real life: a database that stores the orders, discounts, and so on.

In this chapter, we’ll look at a common pattern of organizing source code into layers. We’ll use the Spring framework to manage one of these layers—the ...

Get Wicket in Action 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.