Implement client-server communication

Assignment Help JAVA Programming
Reference no: EM13847307

Field of study: Bachelor of Computer Science. Course: Distributed Systems. The project is about writing a Client/Server program.

SCENARIO

Imagine a new university registration system, on that registration system, the following must be possible. While the server is running, a client can connect to the server and select any one of the two choices (by means of the method reg as given below). After registering, the client can request the registration results up to that period.

intReg.java:
interface intReg extends java.rmi.Remote {

public void reg( int choice) throws java.rmi.RemoteException;

public String getRegResults( ) throws java.rmi.RemoteException;

}

1. Write a java program implementing Client-Server communication using Remote Method Invocation.

(a) Implement the following classes.

(i) Class RegImp.java - this class has to implement the registration interface.

(ii) Server side- the server has to initiate and register the remote object.

(iii) Client side - the client should submit the user choice to the remote server and then print the current registration on screen.

(b) (i) Implement in the remote object the counting of registrations and returning registration results.

(ii) Implement the client side functionality.

(iii) Extend the communication model to make sure that the server will only allow a client to see the current registration results after submitting its registration.

2. Plan the deployment of this project scenario for a university that has multiple campuses and has international students accessing the university registration system. In your deployment you should ensure the following are taken care of.

(i) Increase the level of fault tolerance of your system.

(ii) Decrease the time for recovery.

(iii) Add necessary features to increase scalability and security of the registration system.

3. A summary documentation of not more than 10 pages, detailing the deployment of the scenario in 1 answering Question 2, which should cover the following key headings.

(a). Description of the application.

(b). Overall structure of the implementation.

(c). Distributed systems features and algorithms you intend to use in the implementation.

(d). Plan for testing the system.

(e). How you intend to implement your system as a series of tiers.

(f). A schedule of the design and implementation.

(g). Overall documentation layout (Table of Contents, Headings, formatting, e.t.c).

- A running program, in Java or any programming language answering Question 1.

Reference no: EM13847307

Questions Cloud

Describe racial profiling and racially biased policing : Describe racial profiling and racially biased policing and explain why these phenomena have become significant issues in policing.
Roles small businesses play in most economies? : What roles do you think small businesses play in most economies?
Comprehensive authentic assessment plan : Comprehensive Authentic Assessment Plan Deliverables- For this course AAP is a response for customer's RFP or customer's design requirements and type of solution used in network design
A positive online learning experience created : a positive online learning experience created
Implement client-server communication : Write a java program implementing Client-Server communication using Remote Method Invocation.
Prepare journal entries to assign the preceding costs to job : Prepare journal entries to assign the preceding costs to jobs. Show the appropriate entries debiting Finished Goods Inventory and Cost of Goods Sold.
Analyze the concepts of nurse leadership and management : Analyze the concepts of nurse leadership and management with specific reference
Identify a brand about which you are passionate : Identify a brand about which you are passionate.
How many days will they both be on the menu again : The school cafeteria serves pizza every sixth day and applesauce every eighth day if pizza and applesauce are both on the menu today in how many days will they both be on the menu again

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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