Section 7.15. Looking Ahead ...


7.15. Looking Ahead ...

This chapter covered JMS and Message-Driven Beans. We upgraded the JAW Motors application by adding the ability to run a credit check on a customer by using JMS messaging and an MDB. Along the way, we showed how to deploy these technologies on JBoss.

The JBoss console output proves that the Controller Servlet sent the credit check JMS message and that the CreditCheckProcessor MDB consumed and processed the message. However, it isn't completely satisfying because the web site user doesn't know the final result of the credit verification process. In the next chapter, we'll upgrade the MDB to use the JavaMail API when sending the user an email notification 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