Exercises

Today's exercise is to extend the SAAJ servlet for the Agency case study so that a client can find all the applicants at a specific location. In the exercise directory under Day 21 on the accompanying Web site there is a version of the Agency case you have seen in this chapter. Your task is to add support to the servlet for another message that contains the name of a location and returns an array of strings representing the applicants registered at that location.

The provided files consist of the SAAJ servlet discussed in this chapter (LocationInformationService) that allows you to list all the jobs at a particular location.

If you need a few pointers, you should:

Update the LocationInformationService.java and ServerMarshaler.java

Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition 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.