Program on remote procedure call on a cs architecture, JAVA Programming

This project simulates a remote procedure call on a client-server architecture.

You will create both the client and the server. The server will maintain a linked list. It must NOT use one of Java's collection classes (i.e. Vectors, ArrayList, etc), write your own linked list. Singly linked is fine.

The client will request various operations on the linked list. The communication between a client and a server is implemented through sockets. You will build both the server and the client. The server must be multithreaded. I do not specify a communication protocol, you can use your own.

The server:

1. The server will provide the following operations to the client:

  • insert an integer to the end of a linked list (take one integer parameter)
  • remove an integer from a linked list (take one integer parameter - the index into the list)
  • get the number of integers in a linked list (No parameter)
  • get the first integer in a linked list (No parameter)
  • get the last integer in a linked list (No parameter)

2. The server uses semaphores to protect the linked list

3. The server is multithreaded (Ex: can handle multiple client connections).

The client:

1.       Display a menu to users and ask users to input parameters if any

  • insert an integer to the end of a linked list
  • remove an integer from a linked list given a particular index into the list
  • get the number of integers in a linked list
  • get the first integer in a linked list
  • get the last integer in a linked list
  • terminate the client

2.       Pack user's request as a message, which is sent to the server through a socket

3.       Unpack the result and display it to the user

Posted Date: 2/18/2013 7:28:58 AM | Location : United States







Related Discussions:- Program on remote procedure call on a cs architecture, Assignment Help, Ask Question on Program on remote procedure call on a cs architecture, Get Answer, Expert's Help, Program on remote procedure call on a cs architecture Discussions

Write discussion on Program on remote procedure call on a cs architecture
Your posts are moderated
Related Questions
The different types of actions in Struts are: ? DispatchAction ? LookupDispatchAction ? ForwardAction ? SwitchAction ? IncludeAction

EJB 2.0 has the additional advantages over the EJB 1.1 given below 1. Local interfaces : These are beans that can be needed locally, that means by the same Java Virtual Machi

Explain the Reading documentation for a class in the class library For instance, let's suppose you need to use the URL class in the java.net package. Through reading the docume

Move development build to production server tomcat Project Description: Move our development build and integrate with MYSQL database, to our production vps. The software i

Alia is appearing for the board exams. In order to qualify for the next class Alia need to get exactly X credits. In current semester Alia has to study N number of subjects, and ev

I want to develop a Chat application for j2me Project Description: We require a chat application for a community website. Skills required: Java, J2ME

what are all possible ways in java for user input and output

Want an expert with knowledge of UML diagrams and writing experience for pages writing including diagrams. This project needs 3-4 pages of technical writing about tickets reserv

What is required to be done from my programming is : I enter name,day(saturady or sunday),time( 10AM and 10PM) My program must then vaildate name,day and time. Name must only a

Aspect-Oriented  Programming  (AOP)  represents  OOP  (Object  Oriented  Programming)  by  giving  the developer to dynamically change the static OO model to make a system that can