java web services, JAVA Programming

Assignment Help:
#quThis 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 calls getEmployees 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.
estion..

Related Discussions:- java web services

Http tunneling and rmi calls across firewalls , RMI transport layer usually...

RMI transport layer usually opens direct sockets to the server. Several Intranets have firewalls that do not accept this. To get through the firewall an RMI call may be embedded wi

Describe in general how java garbage collector works, Describe, in general,...

Describe, in general, how java garbage collector works?

Area under curve, write a program to find the area under thecurve y=f(x)bet...

write a program to find the area under thecurve y=f(x)between x=a and x=b, integrate y=f(x) between the limits of a and b. the area under a curve between two points can be found by

Define the life cycle methods of a servlet? , The Web container is used for...

The Web container is used for managing the servlet's life cycle. The Web container produces an instance of the servlet and then the container invokes the init() function. At the co

Package, how to write bank system

how to write bank system

Java conditional operator expression, Question: a) Change the following...

Question: a) Change the following example, using the Java's conditional operator expression, to solve the duplication problem. public class Demonstrate { public static voi

What will be the output of given program, What will be the output of this p...

What will be the output of this programme? Write comments where you find "//" symbol in the following code? function doSomething() { // 1 setTimeout('doSomething()',10000

Retrieving data from Excel file , how to retrieve data from Excel file, and...

how to retrieve data from Excel file, and display that data in table on jsp page?

What are the two important tcp socket classes, Socket and ServerSocket. Ser...

Socket and ServerSocket. ServerSocket is used for normal two-way socket communication. Socket class permits us to read and write by the sockets. getInputStream() and getOutputStrea

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd