Package wicket.contrib.phonebook
Wicket-PhoneBook - An example of
Spring &
Hibernate usage in a
Wicket web-app.
- The database is an in-memory HSQLDB DB and the schema gets generated automatically everytime the app starts up.
- Hooking up to a different database should be a simple matter of editing src/conf/application.properties.
- All database-related code is inside a dao object, so Wicket never touches anything database related.
- All Hibernate session management and transaction management is handled by Spring.
-
Interface Summary Interface Description ContactDao The implementation-independent DAO interface. -
Class Summary Class Description Contact Contact details.DataGenerator HibernateContactDao implementsContactDao.HibernateContactFinderQueryBuilder QueryParam Encapsulates the Query Paramaters to be passed toContactDao.find(wicket.contrib.phonebook.QueryParam, wicket.contrib.phonebook.Contact)method.ShadesContactDao ShadesContactORM ShadesORMDictionary StartPhonebook Seperate startup class for people that want to run the examples directly.