Session Beans

Session beans didn’t change much from EJB 1.0 to EJB 1.1 because their behavior and functionality was well defined in the original specification. Several clarifications have been added to eliminate inconsistencies between vendors and provide a more predictable bean life cycle for developers. For example, the 1.1 specification requires that the SessionContext be preserved through passivation in nontransitive fields, and clarifies what resources can be accessed in which methods. These clarifications tighten up the specification and make it easier for both vendors and developers.

Get Enterprise JavaBeans, Second Edition 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.