Apache Wicket > Framework Documentation > Reference library > How to do things in Wicket > Database Interaction > Wicket Phonebook
Added by Confluence Administrator, last edited by Confluence Administrator on Oct 16, 2006

Wicket Phonebook is an example of Spring & Hibernate usage in a Wicket web-app.

  • The database is an in-memory HSQLDB DB - In this example, the schema gets generated automatically everytime the app starts up.
  • Hooking up to a different database is 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

http://wicket-stuff.sourceforge.net/wicket-phonebook/