Example of java web app with CXF ReST service and JPA (Hibernate/MySQL)