Types of Enterprise Beans
Table 14–1 summarizes
the two types of enterprise beans. The following sections discuss each type
in more detail.
Table 14–1 Enterprise Bean Types
Enterprise Bean Type
|
Purpose
|
Session
|
Performs a task for a client;
optionally, may implement a web service
|
Message-driven
|
Acts as a listener for a particular messaging type, such as the Java
Message Service API
|