The Java EE 6 Tutorial

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 



Performs a task for a client; optionally, may implement a web service


Acts as a listener for a particular messaging type, such as the Java Message Service API