A simple example using Hibernate and Derby for persistence and Jersey/Jettison for REST services