Implemented a distributed rental car management system

Assignment Help JAVA Programming
Reference no: EM13806614

You implemented a distributed rental car management system using Java TCP Sockets and object streams. The goal of this project is to use code from your TCP project and create a new implementation of the rental car management system using Java RMI.

The basic design approach is based on the fact that the client will be interacting with the remote interface provided by a remote inventory manager object. The first step of this project is to define the remote interface provided by the inventory manager. The public methods provided by your existing inventory manager should form the basis for your remote interface specification. At most, minor changes should be needed. If you are passing messages into your inventory manager methods, you should consider that some of the items in your existing message class would not be needed in the RMI environment.

Once you have a remote interface defined, you should create a remote inventory class that implements the remote interface. This class will contain most of the code from the inventory manager of your previous assignment. This class must be built as an RMI object, so remember to do all the things necessary to create a remote object.

Next, create the object server for your remote inventory manager object. Here you may not be using any of the code the from server in your previous project. Remember, all a remote object server needs to do is create an instance of the remote object and register it with the RMI registry.

Finally, you will need to create the client for your remote object. For this, you will start with the client code from your previous project which includes all the GUI and event handling code. Remove all the socket and data stream variables and setup. In the constructor of the client, add code to acquire a reference to the remote inventory manager. In the event handler, instead of using object streams to send a message, you will simply invoke methods on the remote object and process the values returned by those method calls.

When your system is running, check all four operations for correct functionality. Also verify that your system runs correctly for multiple active clients. Be sure to demonstrate your system to the instructor for approval and take screen shots of multiple active clients. When you have completed your project, turn in your cover sheet, screen shots, and all your source code.

Reference no: EM13806614

Questions Cloud

How does mcdonalds make money : What affects customers' willingness to pay? Think about what benefits and utility consumers get from buying products from this industry.  Where else could they go to fulfill a similar need or to get a similar experience? (e.g. mobile handset as a ..
Compare and contrast oppositional defiant disorder : Compare and contrast oppositional defiant disorder and conduct disorder. Compare and contrast the neurobiology of addiction with the sociocultural views of chemical dependency.
Evaluate a virtual memory system : The objective of this lab is to simulate and evaluate a virtual memory system, and experiment with different page replacement algorithms. You will need a threads package, e.g., pThreads thread package
What public policies influenced the court''s decision : Why did the court reach the holding that it did. What steps of logic did the court take in arriving at its decision
Implemented a distributed rental car management system : You implemented a distributed rental car management system using Java TCP Sockets and object streams. The goal of this project is to use code from your TCP project and create a new implementation of the rental car management system using Java RMI
Legislation relating to business regulation or taxation : A specific piece of legislation relating to business regulation or taxation. The "party platform" of either the Republican Party or the Democratic Party
Legislation relating to business regulation or taxation : A specific piece of legislation relating to business regulation or taxation. The "party platform" of either the Republican Party or the Democratic Party
Program that will allow a user to input list of their family : Problem Statement: Design a program that will allow a user to Input a list of their family members along with their age and state where they reside. Determine and output the average age of their family and output the names of anyone who lives in T..
U.s. government should continue to have the patriot act : Do you believe the U.S. Government should continue to have the Patriot Act in place given there still remain terrorist threats ex. (ISIS)

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write a program that displays a drawing popular hangman game

Write a program that displays a drawing for the popular hangman game, as shown in Figure 15.32(c). draws a sketch for the hangman game.

  Algorithm design and development - the graduate designs and

algorithm design and development - the graduate designs and develops algorithms for problem solving and implements

  A mini game made in java using zen graphics

a mini game made in Java using Zen graphics .

  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.

  Create the program which converts fahrenheit to celsius

Create the following program which converts Fahrenheit to Celsius. Read integer Fahrenheit temperatures from the user.

  Java application that reads a date in numeric form

Designand write a java application that reads a date in numeric form from a set of three fields and displays it in English within a label. Use appropriate buttons. For Example:

  Explain where the following method invocations

Explain where the following method invocations are most likely to be found in a program for dealing with census data organized using the Model, View, Controller (MVC) design pattern. Choices are zero or more of Model, View, and Controller. Be sure to..

  Client server chat system

Threading and GUI design using Java's network library, threading system, and swing user interlace libraries to implement a basic chat client and saver system. Thc system will allow multiple. remote users to send and receive messages across the net..

  Teaching software componentization

Describe one way in which one could apply Java graphics in education. Provide one example of such use to support your response and analyze at least three commands that you would use in order to draw a bar chart. Provide a rationale for your respons..

  What secret does soraya tell amir

What secret does soraya tell amir and how does amir react to this information

  Regular expression that selects lines

Write a regular expression that selects lines containing the html BR tag. The rules for this tag are that, like all html tags, it starts with . In between are the letters b and r in that order

  Develop the game using the concepts of cohesion

Develop the game using the concepts of Cohesion, Coupling and RDD, i.e., responsibility-driven design.

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