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:
Open the ear file created in the build folder and add to the Service EJB an ejb reference for the applicant home interface.
Update the AgencyServiceClient.java file in day20/exercise/src/client to call your new method.
Build the client using asant build-client and then run it with asant run-client.
A complete solution can be found in the agency folder on the Day 20 folder on the accompanying Web site.
3.145.7.208