What Does a Session Bean Do?

A session bean represents a conversation between a client application and an EJB container. Session beans typically implement business logic and often interact with a number of entity beans to perform an operation. A session bean isn't required to use entity beans, however. It communicates directly with the database if it needs to.

Get Special Edition Using Java™ 2 Enterprise 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.