O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required