Exercises

Today's exercise is to extend the JAX-RPC front end for the Agency case study so that a client can find all the applicants at a specific location. In the exercise directory under Day 20 on the accompanying Web site there is a version of the Agency case you have seen in this chapter. Your task is to add to the Service EJB a method that takes the name of a location and returns an array of strings representing the applicants registered at that location.

The provided files consist of the stateless session bean discussed in this chapter (Service) that allows you to list all the jobs at a particular location.

If you need a few pointers, you should:

  1. Update the Service.java and ServiceImplementation.java files in day20/exercise/src/agency

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.