Message-driven beans were introduced in EJB 2.0 to support the processing of asynchronous messages from a Java™ Message Service (JMS). The EJB 2.1 specification expands the definition of the message-driven bean so that it can support any messaging system, not just JMS. Accordingly, the deployment descriptor elements used to define message-driven beans changed in the EJB 2.1 specification. The wizard for creating an EJB 2.1 message-driven bean also includes additional pages for optionally defining your non-JMS messaging system and its activation configuration elements.
See Message-driven bean deployment descriptor examples for examples of deployment descriptor entries for message-driven beans in the EJB 2.0 and EJB 2.1 specifications.
To create an EJB 2.0 or EJB 2.1 message-driven bean: