0% found this document useful (0 votes)
4 views

java

Uploaded by

Sanket Karade
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

java

Uploaded by

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

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,

MUMBAI
A Project Report
On:

‘ Advanced Java Programming '

DIPLOMA
IN
COMPUTER ENGINEERING
Submitted by :
Omkar Laxman Khandekar
Tejas Pandurang Savardekar
Pratik Shantinath Kapase
Sanket Balkrishna Karade

Department of computer Engineering

Sant Gajanan Maharaj Rural Polytechnic, Mahagaon.


Semester – 5th
Academic year 2024-25

Under the guidance of

Mr. A. T. Narvekar.
(MSBTE)
SANT GAJANAN MAHARAJ RURAL HOSPITAL AND RESEARCH CENTRE,
MAHAGAON
“SANT GAJANAN MAHARAJ RURAL POLYTECHNIC”
A/P MAHAGAON, SITE – CHINCHEWADI, TAL – GADHINGLAJ, DIST – KOLHAPUR

CERTIFICATE
This is to certify that the following students of first year of Diploma in Computer
Engineering of Institute ‘SANT GAJANAN MAHARAJ RURAL POLYTECHNIC
MAHAGAON – 416503 (CODE – 0965)’ has completed Micro-project on ‘ Restaurant
Food Ordering System ' in Advanced Java Programming ( Subject code – 22517 ) for
academic year 2024-25 as prescribed in the curriculum.

ROLL
ENROLLMENT NO. NAME OF STUDENT SIGNATURE
NO.

52 2209650067 Omkar Laxman Khandekar

39 2209650052 Tejas Pandurang Savardekar

45 2209650058 Pratik Shantinath Kapase

D49 2209650064 Sanket Balkrishna Karade


a
Date of submission: / /2024

Mr. A. T. Narvekar Mr. G. K. Biranagaddi Prof. R. S. Patil


(Project Guide) (Head of Department) (Principal)
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
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.
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.
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.
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
•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.
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.
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 [];
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);
}
}
}
}
Output

Figure 2

Figure 3

Figure 4
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
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.
• 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:
www.wikipedia.com
17 | P a g e

You might also like