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

  Development of an automated atm machine using java

Development of an Automated ATM Machine using Java - The ATM application stack shall be loaded to a fully-equipped ATM machine with complete CPU power, chip card reader, secure crypto-processor, display monitor, function keys, in-built printer and ..

  Elliptic curve encryption

write a program to implement Elliptic Curve encryption/decryption and program will read parameters, plaintext and ciphertextfrom a file named "input.txt" (under the same directory).

  Write a class called palatine

Write a class called palatine that converts an STL string into Pig Latin form. The rules for converting a string into Pig Latin are as follows.

  A method and using a synchronizedblock

What'sthe difference between synchronizing on a method and using a synchronizedblock?

  Java script program for song

Construct a JavaScript program that declares and prints an array that includes at least twenty of your favorite songs.

  Polymorphism concepts

Explain polymorphism concepts in java

  Creating a grade book that will use arrays

You will be creating a grade book that will use arrays to store students and their grades. The breakdown of the project is as follows. You must be able to add a student, remove a student, edit a student, remove all students, and exit the program

  Implement bounded partial queue by using signaling mechanism

Implement the same using a signaling mechanism that signals to all waiting dequeuers and do a performance comparison using timing analysis. Which works faster?

  Write a function which takes two string variables

Write a function which takes two string variables not C strings as inputs and compares them. If they are equal, the function should return 0. If the first-string is less than the second string, return a negative number. If the first string is grea..

  Write a java application to display the following gui

Write a Java application to display the following GUI. At this point you are only implementing the display. We are not ready to make the calculator actually do any calculations

  Implements the queue interface

Element from an ArrayList is slow because of all the shifting. For this question, you should modify the poll()method so that it runs in constant time - implementations as well as correct/fast implementations. In the former case, your functions may..

  How these feature desirable in modern software engineerig

Java is a portable language and being an object-oriented programming language, it also encourages component reusability. How are these features desirable in modern software engineering

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