Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Java Expert


Home >> Java

You are required to design and implement online food delivery system by using Java RMI technology. This includes writing both the server and the client program(s). Client programs can use either a command line interface or a graphical user interface. The program must have the following characteristics or features:

1) A new user must be able to register a new account to the online food delivery system. The user must be able to register by using his/her username and password. If the username exists in the system, the user will be notified to enter a different username.

2) After the user has registered to the online food delivery system, the user should be permitted to log in with username and password he/she registered earlier.

3) When log in, the user should be able deposit money (add money to his/her account) and the online food delivery system should update the cash balance of the user. At any point of time, the user should as well be able to inquire current balance of his/her account from online food delivery system.

4) The user should be able to request a list of available food menu from online food delivery system. The system should return a list of available food menu to the user as following:

a) Order: Pizza
Quantity: 4
Price: RM12
Total: RM48 2.

b) Order: Satay
Quantity: 2
Price: RM10
Total: RM20

(You may make your own illustrations of the menu list above. To store the food menu detail, you might use Hash Table or any other Java collection or external database as you preferred).

5) Based on a list food menu given, the user must be able to purchase food by choosing from the list above. Upon confirmation, the user cash balance from his/her account must be deducted from the food price. It must not be possible to purchase the food if the cash is not enough from the user account. If the server crashes during purchasing transaction, what would happen? How would your RMI program handle this problem?

6) Finally, given two users in the system ex: usernames A and B, User A should be able to transfer cash voucher from his/her account to other user's B account.

7) Implement secure communication between session with the user and the food online system

(i) When user purchases food and
(ii) When the user performs cash transfer

8) What happen if multiple users use the online food system at the same time? What if/she purchases the same food item from the online system at the same time? What issues you might face? How can we solve the issues? Implement your program to solve the potential issues. Point out exactly in the report of the code segment that you have written to solve the issues and please provide detailed explanations.

Java, Programming

  • Category:- Java
  • Reference No.:- M91737

Have any Question? 


Related Questions in Java

The taskyou must design and implement in java a bookshop

The Task You must design and implement in Java a Bookshop Management System corresponding to the attached scenario. You are not required to implement the entire scenario, but the more functionality your system has, the h ...

Java programing essaywrite a paper of 700-word response to

JAVA programing essay Write a paper of 700-word response to the following: In your opinion, what are the three biggest challenges in planning and designing a solution for a programming problem? What can you do to overcom ...

Assessment scenarioproblemjava program for a music social

Assessment Scenario/Problem Java program for a Music Social Network system. You can work on this coursework either alone or in a pair with a colleague, not necessarily from the same seminar or lab group. If you elect to ...

Assignmentexercise1write a java class that asks the user to

Assignment Exercise#1: Write a java class that asks the user to enter three numbers N1, N2, N3 , obtains the numbers, then calculates and displays the largest number Max followed by the text "is the largest" and the smal ...

The paris hotels company needs a computer program to track

The Paris Hotels Company needs a computer program to track their hotel occupancy for the hotels in their chain. Write a Java program that calculates the occupancy rate for each floor of a hotel. A hotel's occupancy rate ...

Write a java program and pseudocode to read a number up to

Write a java program and pseudocode to read a number up to 15 digits long or a date (dd/mm/yyyy). The program should distinguish numbers from input date, and prints them in alphabetic spelling form. Example: for input 23 ...

Assignmentyou have to doone of the following1modify your

Assignment You have to doONE of the following: 1. Modify your Registration project(s) to use a Hash Table to maintain the student information instead of the sorted array or BST. Your hash function should be based on the ...

This assignment consists of two sectionsbulljava program

This assignment consists of two sections: • Java program file(s) • A screenshot of the execution and source code of your Java program Label each file name according to the section of the assignment for which it is writte ...

Java programming using ide netbeansdetailed question must

Java programming using IDE NetBeans Detailed Question: Must use file operations, exception handling, recursive programming (to calculate averages), and encapsulation (or inheritance) in the program Must have four java fi ...

Jva programmingmodify the given java application attached

JAVA PROGRAMMING Modify the given Java application (attached) using NetBeans IDE to meet these additional and changed business requirements: • The application will now compare the total annual compensation of at least tw ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen