JEE7 sample project using JAX-RS, persistence and Glassfish 4