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

Developing the Agency Case Study Example

Now you will turn your attention to a more realistic example. You will extend the Agency case study to utilize a Message-driven bean to match advertised jobs to new applicants as they register with the system or when an applicant updates his or her skills or location.

The steps are as follows:

1.
Write a helper class that creates and sends a message to the jms/applicantQueue containing the applicant's login.
2.
Amend the Agency and Register Session beans to call this new method when a new applicant is registered or the applicant's location or skills are changed.
3.
Write a Message-driven bean to
  • Consume a message on the jms/applicantQueue

  • Look up the applicant's location and skills information

  • Find all ...

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