JavaServer Faces: The Complete Reference

Chapter 9 - The "Virtual Trainer" Example Application Code

This page provides some guidance on downloading and installing the "Virtual Trainer" example application featured in Chapter 9. As you can see, there are two downloadable versions available. One is a pure JavaServer Faces prototype application, while the other is a implementation of the prototype that is persisted with Hibernate.
Code Description
VirtualTrainer-Java Prototype
This is a pure JavaServer Faces prototype application. Instead of storing data in a persistence technology, it simply uses application scoped managed beans. This Java prototype serves as a foundation for later persisted versions of the app.

No special installation instruction are needed for this version. (Just run Ant)
VirtualTrainer-Hibernate
This is a Hibernate based persistence enabled implementation of the Virtual Trainer application. Instead of using application scoped managed beans, data access objects interact with a persistence technology (Hibernate) to manage the data. Example configurations for either an Oracle or MySQL database are provided.

Click here for special Installation instructions for the Hibernate persisted version.

Return to download page


Contact Information | For general questions: jsfcomprefinfo | For errata: jsfcompreferrata