This section describes the procedure for using EntityManager and EntityManagerFactory that are used from the application.