Supermarket Management System Project Report
Supermarket Management System Project Report
INTERNSHIP REPORT
ON
SUPERMARKET MANAGEMENT SYSTEM
PROJECT
BY
KAMAL ACHARYA
(Tribhuvan University)
Date: 2021/05/25
1|P ag e
ABSTRACT
Supermarket management is a stand-alone J2EE using Eclipse Juno program.
This project contains all the necessary required information about maintaining
the supermarket billing system.
The core idea of this project to minimize the paper work and centralize the
data. Here all the communication is taken in secure manner. That is, in this
application the information will be stored in client itself. For further security the
data base is stored in the back-end oracle and so no intruders can access it.
Customer details
Product details
Material and purchase order details
Banking details
2|P ag e
INTRODUCTION Page
1.1 Overview
no.
1.2 Purpose
1.3 Scope
1.4 Existing System
1.5 Proposed System
1.6 System Requirements
1.6.1 Hardware requirements
1.6.2 Software requirements
Programs and s/w used
LITERATURE SURVEY
2.1 Introduction to user requirements
2.2 User requirements
1.7 Development Environment
ANALYSIS AND DESIGN
3.1 Analysis
3.2 Design
2.3 3.3 E-R Diagrams
IMPLEMENTATION DETAILS
4.1 Coding
4.2 Testing
SCREEN SHOTS
Conclusion
6.1 Observation
6.2 Advantage
6.3 Future Enhancement
Bibliography
3|P ag e
INTRODUCTION
4|P ag e
1.1 Overview
1.2 Purpose
The main purpose of this project is to provide a user friendly interface commuters
to easily manage and retrieve the information.
5|P ag e
1.3 Scope:
This project aims at developing system software which would cater to the
needs of the people. So we aim to implement such a system that allows the user to
have the facility at any place and access the required information. It can be easily
customized as per the requirements and available resources to suit the needs of
different users
1.4 EXISTINGSYSTEM
Many Supermarkets use this type of billing system for a decade. It is also
Improved many times according to requirements of sellers and customers. It
Does the same work that is calculating the bill, gives it to the customer and
Maintain proper database. They are accurate in calculation and printing, they also
generate records.
A new concept is also added in the billing system is that they also maintain
Relationships with the customers who purchase more products from the store
regularly. System also concerns their requirements and gives them more
commission. It also shows the overall profit and profit on a particular product and
give repots which items are required and which have cross their expiry date..
6|P ag e
1.5 ProposedSystem
The drawback of the existing system is that it is very difficult to retrieve data
from case files. It is difficult to handle the whole system manually and it is less
accurate and to keep the data in case files for future reference because it may
get destroyed. Moreover it is very difficult to retrieve data. Redundancy of data
may occur and this may lead to the inconsistency. The manual system is so
time-consuming. The proposed system is very easy to operate. Speed and
accuracy are the main advantages of proposed system. There is no redundancy
of data. The data are stored in the computer’s secondary memories like hard
disk, etc. it can be easily receive and used at any time. The proposed system
will easily handle all the data and the work done by the existing systems. The
proposed systems eliminate the drawbacks of the existing system to a great
extent and it provides tight security to data.
7|P ag e
1.6 System Requirements
1.6.1 Hardware requirements
SERVER:
Processor : Pentium IV
Memory Capacity : 1 GB
Database : MYSQL
8|P ag e
1.7Programs and S/w used:
1.7.1 INTRODUCTION TO J2EE:
J2EE (Java 2 Platform, Enterprise Edition) is a Java platform designed for the
mainframe-scale computing typical of large enterprises. J2EE is also known as
Java EE, as subsequent versions have left behind the numeral. Designed J2EE to
simplify application development in a thin client tiered environment. J2EE
simplifies application development and decreases the need for programming and
programmer training by creating standardized, reusable modular components and
by enabling the tier to handle many aspects of programming automatically.
9|P ag e
1.7.3 INTRODUCTION TO JSP:
JSP Stands for "Java Server Page." This standard was developed by Sun
Microsystems as an alternative to Microsoft's active server page (ASP) technology.
JSP pages are similar to ASP pages in that they are compiled on the server, rather
than in a user's Web browser. After all, they don't call them "server pages" for
nothing. However, JSP is Java-based, whereas ASP is Visual Basic-based. JSP
pages are useful for building dynamic Web sites and accessing database
information on a Web server. Though JSP pages may have Java interspersed with
HTML, all the Java code is parsed on the server. Therefore, once the page gets to
the browser, it is only HTML. JavaScript, on the other hand, is usually parsed by
the Web browser, not the Web server.
10 | P a g e
1.7.5 INTRODUCTION TO JAVASCRIPT:
11 | P a g e
REQUIREMENTS
AND LITERATURE SURVEY
12 | P a g e
2.1 INTRODUCTION TO REQUIREMENTS
Since efficient application of software engineering concept during development of
software is much required , the software requirement specification(srs) of a software project has
to be thought over without any margin for errors .this will not only help complete the project in
specified deadline, but also save precious resources as the implementation of the project
proceeds.
Srs is basically a complete description of the behavior of a software system that is being
developed.
It includes a set of use cases that describe all the interactions that describe all the interactions the
user will have with the software, these are known as functional requirements. The non-functional
requirements of the srs are used to impose constraints on the design and implements to maintain
quality standards or design constraints
The primary requirements of our project we already listed out in brief in introduction.
For development of our project “super market management” we have taken care for
choosing the right requirements based on our experience based on our experience interacting
with customers of our booking lounge where we considered their valuable inputs in our software
requirements specification to design an effective user friendly and application software
Choosing the right tools for development is critical for fast and efficient completion of
project to aid the development and implementation of our project, we did a survey of available
platforms, coding languages and tools and choose the one which met our requirements and had
support for an extensive set of libraries
13 | P a g e
ANALYSIS AND DESIGN
14 | P a g e
3.1Analysis:
Analysis is detailed study of the various operations performed by a system
and their relationship within and outside of the system. One aspect of analysis the
boundaries of the system and determining or not the system should consider the
other related system.
Structure analysis is a set of technique and graphical tools that allow the
analyst to develop a kind of system specification that are easily understandable to
the user. Its goal includes:
Usage of logical system model will help user to familiarize the system
characteristic and inter-relationship before implementation.
Of course ER diagrams make it easy for the users to understand the flow of
data and control, but we have implemented the hierarchical structure to represent
the design structure of our project.
15 | P a g e
3.2 DESIGN:
1. Verifiability.
2. Traceability.
3. Completeness.
4. Consistency.
5. Efficiency.
6. Simplicity.
The above mentioned properties would exhibit and integrate if the design
process were strictly followed during the development of the program.
16 | P a g e
3.3 ER DIAGRAMS OR DATAFLOW DIAGRAM
1. HOME PAGE
17 | P a g e
2. CUSTOMER REGISTRATION FORM
Email
Fname Lname
Gender password
Customer registration
Address Phone
18 | P a g e
3. PRODUCT FORM
PRODUCT
NAME
SUPPLIER DATE
NAME
PRODUCT DETAILS
QUANTITY
PRODUCT
CODE
19 | P a g e
4. ITEM DETAILS FORM
CODE
NAME MONTH/
YEAR
CLOSING PRICE
ITEM DETAILS
STOCK
MDATE
STOCK EXP DATE
20 | P a g e
5. MATERIAL ARRIVAL FORM.
BILL NO
ARR NO P ORDER
NO
STATUS ARR
MATERIAL ARRIVAL
DATE
BILL
REC SUPPLIER
DATE
VALUE
21 | P a g e
6. PURCHASE ORDER FORM
DEL NO
P ORDER SUPPLIER
NO
PO NO STATUS
PURCHASE ORDER
PURC
DEL PURC
ITEM DATE
MODE
22 | P a g e
7. BILLING FORM
CUSTOMER IDNO
COUNTER NO TOTAL ITEMS
AMOUNT PAID
NET BILL DISCOUNT
23 | P a g e
8. BANK ACCOUNT FORM
C-ID NO
CHEQUE CHEQUE
DATE NO
BANK ACCOUNT
AMOUNT
BANK
NAME
24 | P a g e
4. IMPLEMENTATION DETAILS
4.1 CODING
1. Login form
Jsp:
</script>
</html>
26 | P a g e
SERVLET
package com.megainfo.servlet;
import java.io.IOException;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import com.megainfo.model.LoginModel;
27 | P a g e
} catch (Exception e) {
//
e.printStackTrace();
}
28 | P a g e
MODEL:
package com.megainfo.model;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
import com.megainfo.common.DBConnection;
String dbname="";
String dbpass="";
con = DBConnection.getConnection();
smt = con.createStatement();
System.out.println("LoginMode::loginMode - Statementcoustmer
created...");
29 | P a g e
System.out.println("LoginMode::loginMode - Query exectued...");
while (rs.next()) {
dbname = rs.getString(5);
dbpass = rs.getString(6);
If (dbname.equalsIgnoreCase(name)&& dbpass.equalsIgnoreCase(pass)) {
List.add(name);
List.add(pass);
break;
}}
return list;
System.out.println(list);
}}
30 | P a g e
WELCOME FORM
JSP:
</style>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<link rel="stylesheet" href="css/mm_spa.css" type="text/css" />
<%@include file="head.jsp"%>
</head>
<CENTER></CENTER>
<b><body text="black" bgcolor="black"
background="images/abstract-blue-vector-backgrounds-wallpapers.jpg">
<script language="JavaScript">
<!--
var name=prompt("Enter Your Name, Please.","name");
var today = new Date ()
var hrs = today.getHours();
document.writeln("<b>");
document.writeln("<b>");
if (hrs <= 12)
document.write("Good Morning "+name+'!');
elseif (hrs <= 18)
document.write("Good Afternoon "+name+'!');
else
document.write("Good Evening "+name+'!'); document.writeln("<br />");
31 | P a g e
// -->
</script>
<script>
</script></b>
<tr>
<td><a href="PRODUCT.jsp">Product</a></td>
</tr>
<tr>
<td><a href="stock.jsp">Item Details</a></td>
</tr>
<tr>
<td><a href="materival arrival.jsp">MaterialArrival</a></td>
</tr>
<tr>
<td><a href="purchaseorder.jsp">PurchaseOrder</a></td>
</tr>
<tr>
<td><a href="billingform.jsp">Billing</a></td>
</tr>
<tr>
<td><a href="BANK AC FORM.jsp">BANK A/C</a></td>
</tr>
<tr>
<td><a href="logout.jsp">LogOut</a></td>
</tr>
</table>
</body>
</html>
33 | P a g e
PURCHASEORDERFORM
JSP
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" media="all"
href="css/jsDatePick_ltr.min.css" />
<script type="text/javascript" src="datepicker/datetimepicker.js"></script>
<style type="text/css">
#tst {
table-layout: auto;
display: table;
}
td,h1{
color:white;}
</style>
</head>
<body bgcolor="black" text="silver" background="images\Blue-Ground.jpg">
<CENTER>
<h1>PURCHASE ORDER</h1>
</CENTER>
<hr size="3" color="red">
<form name="mt" action="PURCHASESERVLET" method="POST">
<b>
<center>
<TABLE id="tst" border=1>
<TR>
<TD>PURCHASE ORDER NO:</TD>
<TD><SELECT NAME="PONO">
<option>smb23
<option>smb24
<option>smb25
</SELECT></TD>
34 | P a g e
</TR>
<TR>
<TD>DELIVERY NO:</TD>
<TD><SELECT NAME="DELNO"><option>smb12
<option>smb13
<option>smb14</SELECT></TD
</TR>
<TR>
<TD>SUPPILER:</TD>
<TD><SELECT NAME="SUPP">
<option>RAMESH
<option>SRINIVAS
<option>SANGAMESH
</SELECT></TD>
</TR>
<TR>
<TD>STATUS:</TD>
<TD><SELECT NAME="STATUS"><option>RECIEVED
<option>REJECTED</SELECT></TD>
</TR>
<TR>
<TD>PURCHASE DATE:</TD>
<TD><INPUT TYPE="TEXT" NAME="PODATE" SIZE="20"id="ad"><a
href="javascript:NewCal('ad','ddmmyyyy')"><img src="images/cal.gif"
width="16" height="16" border="0" alt="Pick a date"></a></TD>
</TR>
<TR>
<TD>PURCHASE ITEM:</TD>
<TD><SELECT NAME="PURITEM">
<option>VEGETABLES
<option>FRUIT
<option>SPORTSITEM
<option>OTHER
</SELECT></TD>
</TR>
<TR>
<TD>DELIVERY MODE:</TD>
<TD><SELECT NAME="DELMODE">
35 | P a g e
<option>TEMPO
</SELECT></TD>
</TR>
<TR>
<TD>PO VALUE:</TD>
<TD><INPUT TYPE="TEXT" NAME="POVALUE" SIZE="20"></TD>
</TR>
</TABLE>
<BR><INPUT TYPE="SUBMIT" value="SUMBIT"><INPUT TYPE="RESET"
value="CLEAR">
</center
</b>
</form>
</body>
<script language="JavaScript" src="js/gen_validatorv2.js"
type="text/javascript">
</script>
<script language="JavaScript" type="text/javascript">
var frmVal = new Validator("mt");
frmVal.addValidation("PODATE","req","Please enter Purchase date");
frmVal.addValidation("PODATE","maxlen=5","Max length for Customer ID is
5");
MATERIVAL ARRIVALFORM
JSP:
36 | P a g e
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script language="javascript" type="text/javascript"
src="datepicker/datetimepicker.js">
</script>
<style type="text/css">
#tst {
table-layout: auto;
display: table;
}
#tst
{
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
width:100%;
border-collapse:collapse;
}
#tsttd,#tstth
{
font-size:1em;
border:1px solid #98bf21;
padding:3px 7px 2px 7px;
color :white;
}
#tstth
{
font-size:1.1em;
text-align:left;
padding-top:5px;
padding-bottom:4px;
background-color:#A7C942;
color:#ffffff;
}
#tsttr.alttd
{
37 | P a g e
color:#000000;
background-color:#EAF2D3;
}
</style>
</head>
<body bgcolor="black" text="black"
background="images\pink-wallpaper-13.jpg">
<CENTER>
<h1>MATERIAL ARRIVAL</h1>
</CENTER>
<hr size="3" color="red">
<form name ="mt" action="Materivalarrivalservlet" method="POST">
<b>
<center>
<TABLE id="tst" border=1>
<TR>
<TD>ARRIVAL NO:</TD>
<TD><INPUT TYPE="TEXT" NAME="ARRNO" SIZE="25"></TD>
</TR>
<TR>
<TD>BILL NO:</TD>
<TD><INPUT TYPE="TEXT" NAME="BILLNO" SIZE="25"></TD>
</TR>
<TR>
<TD>PURCHASE ORDER NO:</TD>
<TD><INPUT TYPE="TEXT" NAME="PONO" SIZE="25"></TD>
</TR>
<TR>
<TD>ARRIVAL DATE:</TD>
<TD><INPUT TYPE="TEXT" NAME="ARRDATE" SIZE="25" id="ad"><a
href="javascript:NewCal('ad','ddmmyyyy')"><img src="images/cal.gif"
width="16" height="16" border="0" alt="Pick a date"></a>
</TD>
</TR>
<TR>
<TD>BILL DATE:</TD>
<TD><INPUT TYPE="TEXT" NAME="BILLDATE" SIZE="25" id="bd"><a
href="javascript:NewCal('bd','ddmmyyyy')"><img src="images/cal.gif"
width="16" height="16" border="0" alt="Pick a date"></a>
38 | P a g e
</TD>
</TR>
<TR>
<TD>SUPPILER:</TD>
<TD><INPUT TYPE="TEXT" NAME="SUPP" SIZE="25"></TD>
</TR>
<TR>
<TD>RECIEPT VALUE:</TD>
<TD><INPUT TYPE="TEXT" NAME="RECVAL" SIZE="25"></TD>
</TR>
<TR>
<TD>STATUS:</TD>
<TD><SELECT NAME="STATUS">
<option>Delivered
<option>Rejected
</SELECT></TD>
</TR>
</TABLE>
<BR><INPUT TYPE="SUBMIT" value="SUMBIT"><INPUT TYPE="RESET"
value="CLEAR">
</center>
</body>
<script language="JavaScript" src="js/gen_validatorv2.js"
type="text/javascript">
</script>
<script language="JavaScript" type="text/javascript">
var frmVal = new Validator("mt");
frmVal.addValidation("ARRNO","req","Please enter arrival no");
frmVal.addValidation("ARRNO","maxlen=5","Max length for Customer ID is 5");
39 | P a g e
frmVal.addValidation("ARRDATE","maxlen=3","Max length for Total no of
members travelling is 3");
40 | P a g e
PRODUCT FORM:
JSP:
42 | P a g e
frmVal.addValidation("QUAN","maxlen=15","Max length for Total amount
charged 15");
</script>
</HTML>
43 | P a g e
SERVLET
package com.megainfo.servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.megainfo.model.ProductModel;
import com.megainfo.model.RegisterModel;
public Productservlet() {
super();
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
45 | P a g e
MODEL
package com.megainfo.model;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.ArrayList;
import com.megainfo.common.DBConnection;
47 | P a g e
REGISTRATION SUCCESS
JSP:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body bgcolor="orange"
background="images\Light_green_Vector_flowers_abstract_backgrounds.jpg"><b
r>
<img src="images\smileyface.jpg" align="right" height="200" width="200">
<h4><B><I>Thanks you have registered successfully!</I></B></h4>
<A HREF="welcome.jsp"> BACK</A>
</body>
</html>
48 | P a g e
INVALID USER
JSP:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
Sorry Invalid user!
<a href="login.jsp">Try again</a>
</body>
</html>
49 | P a g e
LOGOUT
JSP
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body><br><br><br>
<h4>Thanks, You have successfully logged out!!</h4>
<%
session.invalidate();
%>
</body>
</html>
50 | P a g e
NO_RECORDS
JSP:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title><style type="text/css">
</head>
<body bgcolor="orange"
background="images\Light_green_Vector_flowers_abstract_backgrounds.jpg">
<h5>Sorry No records!!</h5>
<a href="welcome.jsp">Go Back</a>
</body>
</html>
51 | P a g e
UPDATE CUSTOMER
JSP:
<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
ArrayList list = newArrayList();
list = (ArrayList) session.getAttribute("empdetails");
System.out.println("List in JSP " + list);
%>
<form action="UpdatecoustmerServlet">
<table border="" width="800">
<tr>
<td>Employee No</td>
<td>First Name</td>
<td>Last Name</td>
<td>Email</td>
<td>Phone</td>
<td>Gender</td>
<td>Address</td>
</tr>
<%
for (int i = 0; i < list.size(); i = i + 7) {
%>
<tr>
<td><%=list.get(i)%></td>
<td><input type="text" name="fname" value="<%=list.get(i + 1)%>">
52 | P a g e
</td>
<td><input type="text" name="lname" value="<%=list.get(i + 2)%>">
</td>
<td><input type="text" name="email" value="<%=list.get(i + 3)%>">
</td>
<td><input type="text" name="phone" value="<%=list.get(i + 4)%>">
</td>
<td><input type="text" name="gender" value="<%=list.get(i + 5)%>">
</td>
<td><input type="text" name="address" value="<%=list.get(i + 6)%>">
</td>
</tr>
<%
}
%>
<tr>
<td><input type="hidden" name="empnumber"
value="<%=list.get(0)%>"></td>
<td colspan="4"><input type="submit" value="Update"></td>
</tr>
</table>
</form>
</body>
</html>
53 | P a g e
SERVLET
package com.megainfo.servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import com.megainfo.model.Deletecoustmermodel;
import com.megainfo.model.UpdatecoustmerModel;
/**
* Servlet implementation class UpdateEmpServlet
*/
public class UpdatecoustmerServlet extends HttpServlet {
private static final long serialVersionUID = 1L;
/**
* @see HttpServlet#HttpServlet()
*/
public UpdatecoustmerServlet() {
super();
// TODO Auto-generated constructor stub
}
54 | P a g e
/**
* @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse
response)
*/
protected void doGet(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
// TODO Auto-generated method stub
String empnumber = request.getParameter("empnumber");
String fname = request.getParameter("fname");
String lname = request.getParameter("lname");
String email = request.getParameter("email");
String phone = request.getParameter("phone");
String gender = request.getParameter("gender");
String address = request.getParameter("address");
System.out.println("UpdatecoustmerServlet:doGet() : emp_nois
"+empnumber);
HttpSession session = request.getSession();
UpdatecoustmerModel dm = new UpdatecoustmerModel();
boolean flag=false;
try {
55 | P a g e
response.sendRedirect("coustmer_update_success.jsp");
} else {
response.sendRedirect("no_records.jsp");
}
} catch (Exception e) {
e.printStackTrace();
}
}
56 | P a g e
MODEL
package com.megainfo.model;
import java.sql.Connection;
import java.sql.Statement;
import java.util.ArrayList;
import com.megainfo.common.DBConnection;
public class UpdatecoustmerModel {
57 | P a g e
if (i == 1) {
flag = true;
} else {
flag = false;
}
return flag;
}
58 | P a g e
4.2 TESTING:
Scope of testing: once the code has been generated, the next task is testing.
Testing process mainly focuses on logical internals of the software, ensuring that
all statements are correct and ensure that defined input will produce an actual result
that is same as the expected results.
Unit testing: It tests whether the data saves to all units of the databse
properly.
Module testing: It tests all the modules created satisfies the user and
management.
System testing: It tests the system so that it will not harm or change other
software or hardware indulging in the process.
Acceptance testing: It plays the most important part, as it tests and verifies
that the software created is acceptable by the creator, user and the customer.
It checks for the fulfillments of all the requirements and is accepted by
everyone.
The following criteria and the corresponding tests are applied for each test phase:
Inter face integrity: internal and external interfaces are tested as each module
and are incorporated into the structure.
Functional validity: test designed to uncover functional errors are conducted.
Information content: test designed to uncover errors associated with
local/global data structures are conducted.
Performance: test designed to verify Performance bounds established during
design are conducted.
Environment and resources: testing designed to cheek the adaptability of the
software on different environment.
59 | P a g e
5 SCREEN SHOTS
.
60 | P a g e
1. EMPLOYEE REGISTER FORM :
61 | P a g e
2.REGISTER SUCCESSFUL FORM.
62 | P a g e
3. LOGIN FORM.
63 | P a g e
4. HOME FORM
5. Customer Registration
64 | P a g e
65 | P a g e
6. UPDATE CUSTOMER FORM.
66 | P a g e
7. PRODUCT FORM
67 | P a g e
8. ITEM DETAILS FORM
68 | P a g e
9. MATERIAL ARRIVAL
69 | P a g e
10.PURCHASE ORDER FORM
70 | P a g e
11. BILLING FORM
71 | P a g e
12. BANK ACCOUNT
72 | P a g e
13. details saved form
73 | P a g e
14. logout form
74 | P a g e
5.2 Database Tables:
1. BANKTABLE
2. BILLTABLE
75 | P a g e
3. CUSTOMER TABLE
4. EMPLOYEETABLE
76 | P a g e
5. ITEM TABLE
6.MATERIAL TABLE
77 | P a g e
7.PRODUCT TABLE
8.PURCHASE TABLE
78 | P a g e
CONCLUSION
79 | P a g e
6.1 Observations:
6.2 Advantage:
Very simple
Fast.
Provides high capacity.
Security for the information is provided.
Centralized and persistent data storage.
Visa processing system will in turn help in providing jobs.
80 | P a g e
BIBLIOGRAPHY
We would like to specify the names of some guides, books and websites which
have paid us a lot and have helped us to complete this project.
Reference
Acharya, Kamal. "STUDENT INFORMATION MANAGEMENT
SYSTEM." Authorea Preprints (2023).
Acharya, Kamal. "Library Management System." Available at SSRN4807104 (2019).
ACHARYA, KAMAL, et al. "LIBRARY MANAGEMENT SYSTEM." (2019).
Acharya, Kamal. "Online bus reservation system project report." Authorea
Preprints (2024).
Acharya, Kamal. "Online bus reservation system project report." (2024).
Acharya, Kamal. “Online Bus Reservation System.” SSRN ElectroNIC ASIA
Journal (2024): n. pag.
Acharya, Kamal. “Student Information Management System Project.” SSRN
ElectroNIC ASIA Journal (2024): n. pag.
Acharya, Kamal. “ATTENDANCE MANAGEMENT SYSTEM.” International
Research Journal of Modernization in Engineering Technology and
Science (2023): n. pag.
Acharya, Kamal. “College Information Management System.” SSRN ElectroNIC
ASIA Journal (2024): n. pag.
Acharya, Kamal, Attendance Management System Project (April 28, 2024).
Available at
SSRN: https://ssrn.com/abstract=4810251 or http://dx.doi.org/10.2139/ssrn.4810251
Acharya, Kamal, Online Food Order System (May 2, 2024). Available at
SSRN: https://ssrn.com/abstract=4814732 or http://dx.doi.org/10.2139/ssrn.4814732
Acharya, Kamal, University management system project. (May 1, 2024). Availableat
81 | P a g e
SSRN: https://ssrn.com/abstract=4814103 or http://dx.doi.org/10.2139/ssrn.4814103
Acharya, Kamal, Online banking management system. (May 1, 2024). Available at
SSRN: https://ssrn.com/abstract=4813597 or http://dx.doi.org/10.2139/ssrn.4813597
Acharya, Kamal, Online Job Portal Management System (May 5, 2024). Available at
SSRN: https://ssrn.com/abstract=4817534 or http://dx.doi.org/10.2139/ssrn.4817534
Acharya, Kamal, Employee leave management system. (May 7, 2024). Available
at SSRN: https://ssrn.com/abstract=4819626 or http://dx.doi.org/10.2139/ssrn.4819626
Acharya, Kamal, Online electricity billing project report. (May 7, 2024). Available at
SSRN: https://ssrn.com/abstract=4819630 or http://dx.doi.org/10.2139/ssrn.4819630
Acharya, Kamal, POLICY MANAGEMENT SYSTEM PROJECT REPORT. (December 10, 2023).
Available at
SSRN: https://ssrn.com/abstract=4831694 or http://dx.doi.org/10.2139/ssrn.4831694
Acharya, Kamal, Online job placement system project report. (January 10, 2023). Available at
SSRN: https://ssrn.com/abstract=4831638 or http://dx.doi.org/10.2139/ssrn.4831638
Acharya, Kamal, Software testing for project report. (May 16, 2023). Available at
SSRN: https://ssrn.com/abstract=4831028 or http://dx.doi.org/10.2139/ssrn.4831028
Acharya, Kamal, ONLINE CRIME REPORTING SYSTEM PROJECT. (August 10, 2022).
Available at
SSRN: https://ssrn.com/abstract=4831015 or http://dx.doi.org/10.2139/ssrn.4831015
Acharya, Kamal, Burber ordering system project report. (October 10, 2022). Available at
SSRN: https://ssrn.com/abstract=4832704 or http://dx.doi.org/10.2139/ssrn.4832704
Acharya, Kamal, Teachers Record Management System Project Report (December 10, 2023).
Available at
SSRN: https://ssrn.com/abstract=4833821 or http://dx.doi.org/10.2139/ssrn.4833821
Acharya, Kamal, Dairy Management System Project Report (December 20, 2020). Available at
SSRN: https://ssrn.com/abstract=4835231 or http://dx.doi.org/10.2139/ssrn.4835231
Acharya, Kamal, Electrical Shop Management System Project (December 10, 2019). Available
at SSRN: https://ssrn.com/abstract=4835238 or http://dx.doi.org/10.2139/ssrn.4835238
Acharya, Kamal, Online book store management system project report. (Febuary 10, 2020).
Available at
SSRN: https://ssrn.com/abstract=4835277 or http://dx.doi.org/10.2139/ssrn.4835277
Acharya, Kamal, Paint shop management system project report. (January 10, 2019). Available
at SSRN: https://ssrn.com/abstract=4835441 or http://dx.doi.org/10.2139/ssrn.4835441
Acharya, Kamal, Supermarket billing system project report. (August 10, 2021). Available at
SSRN: https://ssrn.com/abstract=4835474 or http://dx.doi.org/10.2139/ssrn.4835474
Acharya, Kamal, Online taxi booking system project report. (March 10, 2022). Available at
SSRN: https://ssrn.com/abstract=4837729 or http://dx.doi.org/10.2139/ssrn.4837729
Acharya, Kamal, Online car servicing system project report. (March 10, 2023). Available at
SSRN: https://ssrn.com/abstract=4837832 or http://dx.doi.org/10.2139/ssrn.4837832
Acharya, Kamal, School management system project report. (July 10, 2021). Available at
82 | P a g e
SSRN: https://ssrn.com/abstract=4837837 or http://dx.doi.org/10.2139/ssrn.4837837
Acharya, Kamal, Furniture Showroom Management System Project Report (March 21, 2021).
Available at
SSRN: https://ssrn.com/abstract=4839422 or http://dx.doi.org/10.2139/ssrn.4839422
Acharya, Kamal, Online Vehicle Rental System Project Report (March 21, 2019). Available at
SSRN: https://ssrn.com/abstract=4839429 or http://dx.doi.org/10.2139/ssrn.4839429
Acharya, Kamal, Fruit Shop Management System Project Report (August 10, 2023). Available at
SSRN: https://ssrn.com/abstract=4841048 or http://dx.doi.org/10.2139/ssrn.4841048
Acharya, Kamal, Hall Booking Management System Project Report (December 21, 2023).
Available at
SSRN: https://ssrn.com/abstract=4841055 or http://dx.doi.org/10.2139/ssrn.4841055
Acharya, Kamal, Lundry Management System Project Report (October 21, 2023). Available at
SSRN: https://ssrn.com/abstract=4841059 or http://dx.doi.org/10.2139/ssrn.4841059
Acharya, Kamal, A CASE STUDY OF CINEMA MANAGEMENT SYSTEM PROJECT
(September 25, 2023). Available at
SSRN: https://ssrn.com/abstract=4841209 or http://dx.doi.org/10.2139/ssrn.4841209
Acharya, Kamal, A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT (May
25, 2024). Available at
SSRN: https://ssrn.com/abstract=4841210 or http://dx.doi.org/10.2139/ssrn.4841210
Acharya, Kamal, ONLINE DATING MANAGEMENT SYSTEM PROJECT REPORT. (April 25,
2023). Available at
SSRN: https://ssrn.com/abstract=4842066 or http://dx.doi.org/10.2139/ssrn.4842066
Acharya, Kamal, ONLINE RESUME BUILDER MANAGEMENT SYSTEM PROJECT REPORT.
(April 25, 2021). Available at
SSRN: https://ssrn.com/abstract=4842071 or http://dx.doi.org/10.2139/ssrn.4842071
Acharya, Kamal, TOLL TEX MANAGEMENT SYSTEM PROJECT REPORT (August 21, 2023).
Available at
SSRN: https://ssrn.com/abstract=4842082 or http://dx.doi.org/10.2139/ssrn.4842082
Acharya, Kamal, Chat Application Through Client Server Management System Project Report
(June 25, 2023). Available at
SSRN: https://ssrn.com/abstract=4842761 or http://dx.doi.org/10.2139/ssrn.4842761
Acharya, Kamal, Web Chatting Application Management System Project Report (April 25,
2022). Available at
SSRN: https://ssrn.com/abstract=4842771 or http://dx.doi.org/10.2139/ssrn.4842771
Acharya, Kamal, Automobile management system project report (May 25, 2022). Available at
SSRN: https://ssrn.com/abstract=4846917 or http://dx.doi.org/10.2139/ssrn.4846917
Acharya, Kamal, College bus management system project report (April 25, 2023). Available at
SSRN: https://ssrn.com/abstract=4846920 or http://dx.doi.org/10.2139/ssrn.4846920
Acharya, Kamal, Courier management system project report (May 25, 2023). Available at
SSRN: https://ssrn.com/abstract=4846922 or http://dx.doi.org/10.2139/ssrn.4846922
83 | P a g e
Acharya, Kamal, Event management system project report (April 25, 2021). Available at
SSRN: https://ssrn.com/abstract=4846927 or http://dx.doi.org/10.2139/ssrn.4846927
Acharya, Kamal, Library management system project report II (May 25, 2020). Available at
SSRN: https://ssrn.com/abstract=4848857 or http://dx.doi.org/10.2139/ssrn.4848857
84 | P a g e