Extending the Agency Case Study

As the final part of today's lesson, you will return to code written on Day 10, “Message-Driven Beans,” and amend the Agency application to handle messages received as XML. First refresh your memory by returning to Day 10 and looking back over the code for the MessageSender helper class in Listing 10.4, the ApplicantMatch Message-driven bean in Listing 10.5, and the code for the AgencyBean and RegisterBean Session beans. This code has also been reproduced in the Examples directory for Day 16 on the CD-ROM.

The MessageSender class will now be modified to create an XML document that contains the applicant's full details to send to the ApplicantMatch bean. To achieve this, the following changes to the Day 10 code ...

Get Sams Teach Yourself J2EE™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.