Session Beans

The areas we have discussed thus far apply equally well to all EJBs. Now we'll focus our attention specifically on the session bean type of EJB.

Session beans were the first EJB type to receive wide adoption and general use. In many J2EE development projects today, session beans are the only EJB type actually being used. This is likely to change in the future as the EJB specification enhances existing capabilities and introduces additional bean types, and as enterprise application servers improve their support for both the currently existing and newly defined types.

Popular Beans

Session beans are currently used primarily to handle client transactions or, as the name implies, client sessions.

The key advantages of using session ...

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.