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.