jax rs/ejb/jpa project