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 servlet code for accepting two numbers from user

Write the servlet code for accepting two numbers from user show addition and multiplication of numbers. If error occurs, then call JSP error page to display suitable error message.

  Compute the average grades

Write a program that allows a teacher to compute the average grades for EACH student in his or her class (NOT a single average for the entire class)

  Write a class that implements an ordered list of strings

In this problem you will write a class that implements an ordered list of Strings.

  Prepare an application that creates object of the classes

Write a CarbonFootPrint with only a pure virtual getCarbonFootprint method -  Have each of your classes inherit from the abstract class and implement the getCarbonFootprint method to compute an appropriate carbon footprint for that class.

  Prepare a demo program

Design, and implement a class that will be used in a program that simulates a combination lock. The lock has a circular knob with the numbers 0 through 39 marked on the edge, and it has a three-number combination, which we will call x,y,z.

  Programming using the java language

Programming using the Java language. The basic concepts of object-oriented programming. Topics used will include algorithmic logic, control structures, data and program design, objects and classes.

  The array at the index method

have an array, how do i remove an entry from the array at the index method?

  Write a program that prompts the user for a start date

You need to write a program that prompts the user for a start date and an end date and then prints all of the dates between them (inclusive), with seven tab-separated dates on each line.

  Create a 2-dimensional array for the volume of concrete

Your Company constructs concrete hemispherical domes that range in diameter from 40 to 90 feet and increments of 5 feet.

  Create a program in java that displays hello world

Create a program in Java that displays "Hello world!", No Design Section is required for this assignment, Copy and Paste your code into the Source Programs section and a screen shot of the results in the Output section.

  A game of tic-tac-toe

A game of tic-tac-toe, two players (one the computer) take turns marking an available cell in a 3 X 3 grid (a two dimensional array) with their respective tokens (either and X or an O). When one player has placed three tokens in a horizontal

  Report the last letter of each word in the string

Write a sequence of Java statements that report the last letter of each word in the string.

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