Advance Java Program Microproject
Advance Java Program Microproject
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”
Course code:22412
1|Page
MAHARASHTRA STATE
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.
Name of Guide:
2|Page
Student/Group Details (if group is applicable):-
3|Page
INDEX
5 Implementation
7 Reference
4|Page
INTRODUCTION
5|Page
Abstract
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:
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.
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.
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:
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
Conclusion:
• 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 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