student register sample with EJB, JPA and Jax-RS