|
The CaveatEmptor example application![]() CaveatEmptor is an online auction application with business objects such as Item, User, and Bid. The domain model covers various kinds of entities, entity associations and collections, in other words, (almost) all business entities and especially data persistence problems you usually encounter in any multi-user application. Browse and re-use the source code of CaveatEmptor to learn Hibernate application development. This is also the website for the books Java Persistence with Hibernate and the older edition Hibernate in Action. Both books explain the CaveatEmptor application. You can download the source code for the books here. (Note that the source code for Hibernate in Action is old and only interesting to readers of this book!) Use the forum to discuss CaveatEmptor and the Hibernate books. You can also find the errata for the books on the forum. Getting Started - Hello WorldThe Hello World example is a standalone tutorial, download the source code and the free sample chapter of Java Persistence with Hibernate that guides you step-by-step through the code. If you haven't used Hibernate before, start here. CaveatEmptor NativeThis version of CaveatEmptor uses only native Hibernate APIs and Hibernate XML mapping files. Included are all common and special mapping techniques, Hibernate configuration, audit logging examples, a data access object (DAO) implementation, as well as integration testing utilities. CaveatEmptor Java PersistenceThis version of CaveatEmptor uses Java Persistence interfaces, and JDK 5.0 annotations for the object/relational mapping. All XML mappings of the CaveatEmptor Native package are duplicated with annotations. Included are data access objects (DAO) implemented with Java Persistence, and EJB 3.0 container integration with unit testing. CaveatEmptor SeamThis version of CaveatEmptor, with a user interface implemented in JSF and integrated with the JBoss Seam framework, is currently in development with no set release date. Furthermore, the Seam chapter in the book Java Peristence with Hibernate is now slightly outdated and your best starting point is the current Seam Getting Started Guide. Download
|
|||||||||||||||||||||||||||