Using Java Persistence API in Java EE Platform - Part II