The Message-Driven Bean and the Container

   

Using Message-Driven Beans with EJB

Because there is no home or component interface, other enterprise beans are not able to communicate directly with message-driven beans. The only communication is through the JMS destination via the container. Integrating message-driven beans into the EJB container is really just a matter of creating the JMS-administered objects and creating the proper deployment information for the message-driven bean.

For a refresher on creating the JMS administered objects, including destinations for a message-driven bean, see Chapter 10, "Java Message Service."



Special Edition Using Enterprise JavaBeans 2.0
Special Edition Using Enterprise JavaBeans 2.0
ISBN: 0789725673
EAN: 2147483647
Year: 2000
Pages: 223

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net