For the book Use Case Driven Object Modeling with UML, the example ‘Internet Bookstore’ project was written using Spring Framework, with Spring Web MVC and Spring’s JDBC support to map relational data to domain objects.

Here’s the complete source code for the Internet Bookstore.

Click screenshot for a larger version:
Write Customer Review screenshot from the Internet Bookstore

The Bookstore project is often used as the basis for ICONIX training courses. Here’s the result of one such class, a UML model produced using Enterprise Architect. (You’ll need EA to view the file – a 30-day trial version can be downloaded from their website).