Section 7.11. JMS Checklist


7.11. JMS Checklist

Before moving on to Message-Driven Beans, let's recap what we've done so far:

  • Upgraded the web site:

    • Added a "Run Credit Check" link and form.

    • Added a "Run Credit Check" action to the Controller Servlet.

  • Added JMS:

    • Created a CreditCheckReqDTO object that holds the user's credit information to send as a JMS message.

    • Wrote the JmsProducer utility class to encapsulate sending a JMS message.

    • Added JMS-based JNDI reference settings to the Web-based deployment descriptors (web.xml and jboss-web.xml).

    • Automated JMS-based JNDI reference settings with XDoclet.

    • Deployed the JMS CreditCheckQueue on JBoss with an MBean.

We developed the code to send a JMS message, and completely deployed your JMS Queue on JBoss. We now need to add a Message-Driven Bean that consumes and processes the credit check JMS message.



JBoss at Work. A Practical Guide
JBoss at Work: A Practical Guide
ISBN: 0596007345
EAN: 2147483647
Year: 2004
Pages: 197

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