Session Bean Life Cycle

The session bean life cycle includes all of the concepts discussed thus far in this chapter. Figure 12-11 shows a UML state diagram for the stateful session bean life cycle. Figure 12-12 shows the significantly different (and simple) life cycle for a stateless session bean.

Figure 12-11. Stateful session bean life cycle

Figure 12-12. Stateless session bean life cycle

Get Developing Enterprise Java Applications with J2EE™ and UML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.