93% found this document useful (27 votes)
27K views

Advance Java Program Microproject

The document summarizes a student's micro project on developing a restaurant management system with online ordering capabilities. The project was completed to fulfill requirements for an Advanced Java Programming course. Key aspects of the project included building modules for online ordering, menu management, and order retrieval to streamline the ordering process for customers and employees.

Uploaded by

Arib Khan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
93% found this document useful (27 votes)
27K views

Advance Java Program Microproject

The document summarizes a student's micro project on developing a restaurant management system with online ordering capabilities. The project was completed to fulfill requirements for an Advanced Java Programming course. Key aspects of the project included building modules for online ordering, menu management, and order retrieval to streamline the ordering process for customers and employees.

Uploaded by

Arib Khan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 17

MAHARASHTRA STATE BOARD OF TECHNICAL

EDUCATION
P.E.S Polytechnic

Nagsenvana Aurangabad

MICRO PROJECT
Academic year: 2021-22

TITLE OF PROJECT
“Restaurant Management System: Expected to develop a module to place
an order and generate bill”

Program: Computer Engineering

Program code: CO-5I

Course: Advance Java Programming

Course code:22412

1|Page
MAHARASHTRA STATE

BOARD OF TECHNICAL EDUCATION

Certificate

This is to certify that Md. Arib Khan Roll No.CO- of 5rd Semester of
Diploma in COMPUTER ENGINEERING of Institute: PES Polytechnic
Aurangabad has completed the Micro Project satisfactorily in Subject –AJP
(22412) for the academic year 2021-2022 as prescribed in the curriculum.

Place: Aurangabad Enrollment No: 1914970017

Date: ………….. Exam Seat No: ………..

Name of Guide:

2|Page
Student/Group Details (if group is applicable):-

Sr. Name of group Roll Enrollment Seat No.


No member/Students No.CO- No.
1 Khan Mohd Arib 1914970017
2 Salman Amin 19149700
3 Shaikh Zeeshan Uddin 19149700

3|Page
INDEX

Sr. No Topic Page.no


1 Introduction
2 Abstract
3 Background & Related work
4 Program Requirements

5 Implementation

6 Hardware & Software Requirement

7 Reference

4|Page
INTRODUCTION

It is known globally that, in today's market, it is extremely


difficult to start a new small-scale beanie, and live-through the
competition from the well-established and settled owners. In fast
paced time today when everyone is squeezed for time, the majority of
people are finicky when it comes to placing a food order The
customers of today are not only attracted because placing an order
online is very convenient but also because they have visibility into the
items offered, price and extremely simplified navigation for the order.
Online ordering system that I ant proposing here. greatly simplifies
the ordering process for both customer and the restaurant. System
presents an interactive and up-to-date menu with all available options
in an easy to use manner. Customer can choose one or more items to
place an order which will land in the Cart. Customer can view, all the
order details in the can before checking out. At the end. customer gets
order confirmation details. Once the order is placed it is entered in the
database and retrieved in pretty much real time. This allows
Restaurant Employees to quickly go through the orders as they are
received and process all orders efficiently and effectively with
minimal delays and confusion.

5|Page
Abstract

Restaurant food ordering system is a project designed primarily


for use in the food delivery industry. This system will allow hotels
and restaurants to increase scope of business by reducing the labor
cost involved. The system also allows to quickly and easily manage
an online menu which customers can browse and use to place orders
with just few clicks. Restaurant employees then use these orders
through an easy to navigate graphical interface for efficient
processing.
The purpose of this project is to develop an online Food Ordering
System. It is a system that enable customer of food to place their
order online at any time and any place. The reason to develop the
system is due to the issues facing by the food industry. These issues
are such as peak hour-long queue issue, increase of take away foods
than visitors, speed major requisite of food preparation, limited
promotion and advertising on current strategy, and quality control of
food management issues. Therefore, this system enhances the speed
and standardization of taking the order from the customer and
displays it to the staff in the kitchen accordingly, beside that, it
provide a user-friendly web page and effective advertising medium to
the new product of the online food restaurant to the customer with
cheaper cost. Further more, it also extend and deliver customer
satisfactions especially to the hectic customer or reaching the
customer who are constrain of transport to be in food restaurant. At
the same time boost up market share for food restaurant and increase
return on investment for the investor.

6|Page
Background & Related Work
1.1 Motivation
The motivation for designing this application came because my family is
involved in the fast food business and I personally do not like waiting for long
in the store or to have to call store to place an order especially during the peak
lunch or dinner hours. Moreover, I value recent learning about the Java and JSP
Programming languages as well as seeing how powerful and dynamic they arc
when it comes to web designing and applications. The languages used to build
this application are JavaScript, JSP. HTML and Java at client facing whereas
Oracle database at t le back-end because I found them to be extremely useful
while working on the technologies.
1.2 Aim of the Software
This software is developed to help computer science students to learn about the
Web application designing using JSP and HTML from their basic capabilities to
build a complete working application from 5 scratch. Further, it gives insight
about how GUI interacts with server-side language, Java, and finally with the
Oracle database.
1.3 Background and Related Work
This Case study looks at the problem of setting up a fast food restaurant. In
existing system there are few problems:
• For placing any orders customers have to visit hotels or restaurants to know
about food items and then place order and pay. In this method time and manual
work is required.
• While placing an order over the phone, customer lacks the physical copy of
the menu item, lack of visual confirmation that the order was placed correctly.
• Every restaurant needs certain employees to take the order over phone or in-
person, to after a rich dining experience and process the payment. In today's
market, labor rates are increasing day by day making it difficult to find
employees when needed.
Hence, to solve this issue, what I propose is an "Online Food Order System,
originally designed for small scale business like College Cafeterias, Fast Food
restaurant or Take-Out, but this system is just as applicable in any food delivery
industry.
The main advantage of my system is that it greatly simplifies the ordering
process for both the customer and the restaurant and also greatly lightens the
load on the restaurant's end, as he entire process of taking orders is automated.

7|Page
Program Requirements
Outline your solution. Describe the "whats" of your project -- what does it do?

Product Perspective:
The Online Food Order System application is a web-based system. It can be
accessed using IE 10.0 and above, Fire Fox 31 and above and Google Chrome.

System Model:

Figure 1

The structure of the system can be divided into 3 main logical components:
•Web Ordering System- provides the functionality for customers to place their
order and supply necessary details.
•Menu Management-allows the restaurant to control what can be ordered by the
customers

8|Page
•Order Retrieval System-This is a final logical component. Allows restaurant to
keep track of all orders placed. This component takes care of order retrieving
and displaying order information.

Product Function:
The Online Food Order System application would have the following basic
functions:

Web Ordering System Module


This module provides the functionality for customers to place their order and
supply necessary details. Users of the system, namely restaurant customers,
must be provided the following functionality:
• Create an account.
• Manage their account.
• Log in to the system.
• Navigate the restaurant’s menu.
• Select an item from the menu.
• Add an item to their current order.
• Review their current order.
• Remove an item/remove all items from their current order.
• Provide payment details.
• Place an order.
• Receive confirmation in the form of an order number.
• View order placed.

9|Page
Additional Feature:
•eClub- Allows user to subscribe to eClub to get promotional deals and
discounts offers.
Out of all the functions outlined above, Account Creation and Management only
will be used every time a customer places an order. This will allow to simplify
the overall user experience.

Menu Management System Module


This module provides functionality for the power user-Administrator only. It
will not be available to any other users of the system like Restaurant Employees
or Customers.
Using a graphical interface, it will allow an Admin to manage the menu that is
displayed to users of the web ordering system:
• Add/update/delete food category to/from the menu.
• Add /update/delete food item to/from the menu.
• Update price for a given food item.
• Update additional information (description, photo, etc.) for a given food
item.

Before customers can actually use this system, functionality provided by this
component will have to be configured first. Once the initial configuration is
done, this will be the least likely used component as menu updates are mostly
seasonal and do not occur frequently.

Order Retrieval System Module


This is the most simplest module out of all 3 modules. It is designed to be used
only by restaurant employees, and provides the following functions:
• Retrieve new orders from the database.
• Display the orders in an easily readable, graphical way.

10 | P a g e
Implementation
Program

package swingloggingsscce;

import java.io.IOException;
import java.util.logging.FileHandler;
import java.util.logging.Level;
import java.util.logging.Logger;
mport javax.swing.JFrame:
import restaurantsystem.component.auth.Login:

public class Main extends JFrame (

public static void main(String[] args) {


// At first, show the login page and show menu after
// the authentication process completed

createRequired FilelfDoes NotExist();

Login im= new Login();


im setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
im set Visible(true);
}
private static void createRequiredFile!!Does NotExist() {
String fileNames [];

11 | P a g e
File root Dir = new File("storage");
rootDir.mkdirs();
file Names= new String[] {"storage/item.txt",
"storage/labour.txt",
"storage/order.txt",
"storage/orderline.txt");
for (String fileName: fileNames) {
File file= new File(fileName);
if(!file.exists())
{
try {
file.create New File();
} catch (IOException ex) {
Logger.getLogger(Main.class.getName()).log(Level SEVERE, null, ex);
}
}
}
}

12 | P a g e
Output

Figure 2

Figure 3

Figure 4

13 | P a g e
Figure 5

Figure 6

Hardware/Software Requirement/Interface:
This section lists the minimum hardware and software requirements needed
to run the system efficiently.
Hardware Interface:
• Pentium Processor
• 60 MB of free hard-drive space
• 128 MB of RAM

14 | P a g e
Software Interface:
• Operating System: Windows (Vista/7 or above)
• Web Browser: IE 10 or above, Mozilla FF 31 and above or Google
Chrome
• Drivers: Java Runtime Environment
• Integrated Development Environment: Eclipse J2EE or Apache Tomcat

Conclusions and Future Work

Conclusion:

The main objective of the application is to help Computer Science students


understands the basics of Java, JavaScript and HTML. The following results
have been achieved after completing the system and relate back to the system’s
objective.

• Should allow Computer Science students to browse through the code and
application:

This can be achieved when students are able to run and install the application.
When they run the application, they can browse through the implementation of
different objects.

• Should allow users to browse through different product categories: This is


achieved through an easy to use graphical interface menu options.

• Should allow users to save items to the cart and view detailed information
about the order: The users can add any number of items to the cart from any of
the available food categories by simply clicking the Add to Cart button for each
item. Once item is added to the cart, user is presented with detailed order to
review or continue shopping.

• Should allow the user to CheckOut the item(s): This is achieved using the
“Proceed to checkout button” in the cart initially and then “CheckOut” button at
last step after “review Order” step.. Button is disabled when there are no items
in the cart.

15 | P a g e
• Should allow the user to process the payment: This is achieved when user
selects “Processed to Checkout” button and fill up the Payment information
details.

• Should allow the user to see Success message after placing an order: This
is achieved when user successfully places an order. The user is given the order
conformation number along with success message.

REFERENCE:
Teachers, notes, YouTube, etc.

SOURCES USED:
www.wikipedia.com
Comments or suggestions (if any)
……………………………………………………………………………..
Roll. No. Student Name Marks of 10
Khan Mohd Arib
Yousuf

……………..

16 | P a g e
17 | P a g e

You might also like