To obtain the container-managed EntityManager from the J2EE application, use one of the following methods:
The following subsections describe each of the methods.