This project is based on the teams example of chapter 1. Instead of teams, you will consider employees working in a department in a company. (Departments and employees are analogous to teams and players, respectively.) A department has a name, department number, and a collection of employees. An employee has a name and an employee id number. Initialize the service with 4 departments with between 2 and 5 employees each.
The service will support three web methods.
• getDepartments takes no araguments and returns a list of department names and department numbers.
• getEmployees takes one argument which is a department number and returns a list of employees in the department (name and id).
• getAuthor takes no arguments and returns your name.
The service should be coded with separate interface, implementation, and publisher classes Publish the service on port 9002. All of the classes should be coded in the package ws.asg3.
Write a client that calls get Departments to obtain the list of all departments and then callsgetEmployees for each one to produce a list of departments and their employees. Finally the service should call getAuthor and print the returned value. Output should include appropriate descriptive text to make it meaningful and readable.
If you want to write the service for a different setting with similar characteristics, email me your proposal for review and quick response.