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

Annotation or attribute oriented programming? , Annotation or Attribute ori...

Annotation or Attribute oriented programming There are two types of code generation processes. Passive code generation: is template driven . Input process are used in mo

What is casting, What is casting? There are two types of casting, casti...

What is casting? There are two types of casting, casting among primitive numeric types and casting among object references. Casting among numeric types is used to convert large

Describe inner classes in java, Describe Inner Classes in java? An inne...

Describe Inner Classes in java? An inner class is a class whose body is described inside another class, referred to as the top-level class. For instance: public class Queue {

Use the constructor, Can we use the constructor, instead of init(), to init...

Can we use the constructor, instead of init(), to initialize servlet? Ans) Yes. Of course you can use the constructor instead of init(). There's nothing to stop you. But you sho

Javaserver faces navigation model, What is JavaServer Faces navigation mode...

What is JavaServer Faces navigation model? Ans) A mechanism for describing the sequence in which pages in a JavaServer Faces application are shown.

How to scaling images in java applet, How to Scaling Images in java applet?...

How to Scaling Images in java applet? You can scale an image within a particular rectangle using this version of the drawImage() method: public boolean drawImage(Image img,

Write a parser, I have a parser. it is written in Java. I need to add a has...

I have a parser. it is written in Java. I need to add a hash table to it. I am wondering about if you can do it.

Write a program to add integer value, Write a program to add integer value?...

Write a program to add integer value? class AddInts { public static void main (String args[]) { int i = 1; int j = 2; System.out.println("i is " + i); System.out.println("

How can you pass parameters in rmi?, RMI parameters : Primitive types ...

RMI parameters : Primitive types are given by value. 2. References to remote objects are given as remote references that allow the client process to call methods on the rem

What is a packet in the network environment, What is a packet within the ne...

What is a packet within the network environment? What kind of information does it contain? A packet is the shortest unit of data transmitted over a computer network. It's a mes

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