Entity Bean Life Cycle

The EJB container determines when Entity bean objects are created and when they're destroyed. Ultimately, however, client requests determine how the data should be manipulated.

Although the in-memory copy of persisted information is destroyed when the virtual machine is terminated, Entity beans represent persisted information. Because the persisted information can and probably will outlive the JVM that WebLogic Server runs in, we can say that Entity beans outlive WebLogic Server. Figure 22.2 shows the life cycle of an Entity bean.

Figure 22.2. The life cycle of an Entity bean.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset