Example of jersey rest services using Mongo and JPA