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
I send you these files in order to make clear image about my task that I want you to design for me an application for PC that used to control robot arm via micro controller PIC18.

To change c code and place into a java application Project Description: To change c code and place into a java application Skills required are C Programming, Java, Softwar

How we can changing the Implementation ? Suppose the Car class requires to be used in a simulation of New York City traffic in that each actual car on the street is represente

JavaScript supports the normal control structures: The conditionals if, if...else, & switch; The iterations for, while, do...while, break, & continue;

What will be the default values of all the elements of an array explained as an instance variable? If the array is an array of primitive types, then all the elements of the arr

There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing tha


Struts is a set of cooperating classes, servlets, and JSP tags that make up a reusable MVC 2 design. ? JavaBeans components for managing application state and behavior. ? Eve

What is Constructors? Explain with an example? A constructor forms a new instance of the class. It initializes all the variables and does any work essential to prepare the clas

Payroll Calculator for Both Hourly and Commission Employees In assignment 13, we will create a payroll calculator that calculates   gross pay ,   taxes , and   net pay   fo