Summary

In this chapter we showed a working example demonstrating how to use EJBs with JMS. We examined the issues involved in using EJBs as JMS consumers for both EJB 1.1 and EJB 2.0. We modified the Case Logging application from the previous chapter so that it demonstrated a delegation solution using a specialized WebLogic Startup class for EJB 1.1, and then showed how the EJB 2.0 message-driven bean simplifies the use of EJBs with JMS when acting as asynchronous consumers of a JMS destination through the integration of the EJB container with JMS.

In the next chapter we will take a more theoretical look at the role of JMS in a clustering architecture.



Professional JMS
Professional JMS
ISBN: 1861004931
EAN: 2147483647
Year: 2000
Pages: 154

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