Online Product Maintenance System (Reports)

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 34

Online Product Maintenance

MINI PROJECT REPORT ON

Online Product Maintenance


BY
Aniket Mankare
Umed Mahale

Course:MCA I

Roll No:20109
Roll No:20167

Guide Name: Prof. Priya Mathurkar

Kamala Education Society’s


Pratibha Institute of Business Management
Chinchwad, Pune-411019
2020-2021

PIBM
1
Online Product Maintenance

Declaration
I certify that the work contained in this report is original and has been done byme under the
guidance of my supervisor(s)

 The work has not been submitted to any other Institute for any degree or diploma.
 I have followed the guidelines provided by the Institute in preparing the report.
 I have conformed to the norms and guidelines given in the Ethical Code of Conduct
of the Institute.
 Whenever I have used materials (data, theoretical analysis, figures ,and text) from
other sources, I have given due credit to them in the text of the report and giving their
details in the references.

PIBM
2
Online Product Maintenance

ACKNOWLEDGEMENT

We are very grateful to present the project report on Online Product Maintainer
.We would like to Thank You to our project guide for their kindly and timely guidance.

We are also grateful to all faculty members from Masters of Computer


Application Department especially Mrs. Priya Mathurkar for giving us valuable advice ,
time and suggestion as far as project is concerned.

A special Thank You to Manish Patankar sir for providing ample of IT


services

PIBM
3
Online Product Maintenance

INDEX

Sr. no Topic Name Page no.


1 Introduction of the System

1.1 Introduction
1.2 Existing System and Need for System
1.3 Limitations of Existing System

2 Proposed System

2.1 Problem Statement’s


2.2 Objective of the System
2.3 Scope of System
2.4 Module Specification
2.5 Operation environment

3 System Analysis & Design

3.1 Use Case Diagram


3.2 Sequence Diagram
3.3 Activity Diagram
3.4 ER-Diagram
3.5 User Interaction Design(Input Screen etc.)
3.6 Table Specification

4 Drawbacks and Limitations


5 Proposed Enhancemets
6 Conclusion
7 Bibliography
8 ANNEXURES

8.1 ANNEXURES : User Interface Screen


8.2 ANNEXURES: Output Report with Data
8.3 ANNEXURE 3: Sample Code

PIBM
4
Online Product Maintenance

1. Introduction of the System

1.1 Introduction
The Online Product Maintenance System is fully computerized system which removes
the drawbacks of existing system. This system provides some facilities for staff members and
maintenance department.

This system is suitable for any organization for automating day-to-day activities. This
system will help the organization and users to save their time and minimize human efforts.
Hence, we have to implement it in our own way therefore the title is “Online Product
Maintainer”.

1.2 Existing System & Need of System


In exiting system, all work is done manually. A lot of time is spent into maintaining
the record of each product of each staff members and number of record increases indirect
paperwork also increases.

If any staff members have any query or any problem regarding products which is
provided by organisation then staff members need to call maintenance department. If no one
is available in maintenance department then after some time staff members will again have to
call maintenance department and also wait for response. This is major drawback of existing
system. This manual process is time consuming and very tiring.

The purpose of this system is to eliminate the paper works and maintain records on
database. Our system provides some special features to both user and admin that reduce their
work like send request or query regarding products. Using this system maintenance team
eliminates the data redundancy because this web app set up to capture information
automatically. Maintenance person can view all information related to user and their
products. This system will help to optimize the physical work like calling, waiting for
response etc

.
PIBM
5
Online Product Maintenance

1.3 Limitations of Existing System

In exiting system, all work is done manually. A lot of time is spent into maintaining
the record of each product of each staff members and number of record increases indirect
paperwork also increases.

If any staff members have any query or any problem regarding products which is
provided by organisation then staff members need to call maintenance department. If no one
is available in maintenance department then after some time staff members will again have to
call maintenance department and also wait for response. This is major drawback of existing
system. This manual process is time consuming and very tiring.

PIBM
6
Online Product Maintenance

2. Proposed System

2.1 Problem Statement’s

In this system previously it was very hard to maintain products specially for staff
members due to their busy schedule. The major problem is that if any staff member wants to
contact with maintenance department urgently but staff members are unavailable and also if
you are from maintenance department then maintaining the record of products of each
member is very hard in manual form.

So in our system we provide computer based system which provide data security,
reduce miss communication and solve all the problems of existing system.

2.2 Objective of the System

Proposed system is the computerized version of the existing system, provides


communication platform. System acts as interface between staff members and maintenance
department. This system plays a crucial role in product maintenance. The main objectives of
the proposed system are as follows:

 To save the time


 To reduce paper and file work
 To speed up the procedure
 To maintain the records
 To reduce miss communication
 Provide communication platform
 To improve reliability

PIBM
7
Online Product Maintenance

2.3 Scope of System

The purpose of this web application is to provide a platform for staff members and
maintenance department. This web application acts as an interface between user and admin,
there is no restriction for staff members. It means registered staff member can send request to
maintenance department at any time if any query or problem occurs regarding product which
is provided by organization.

User and Admin should login with their username and password if registered, if not
registered then complete registration then login. Any user can send request on single click.
This web app is partially responsible for the communication between user and admin. User
information is provided to the admin to provide better response.

There is no existing system except this which provides the features on single platform
and it is user friendly.

2.4 Module Specification

 Admin Registration: This is the registration module for Maintenance department. In


this module, department members should fill the details.

 User Registration: This is the module for staff members. In this module staff
members should fill the details.

 Login: Admin and User can login by using their username and password.

 Send request: If User have any request or query then user can send to maintenance
department.

 Dashboard: User can see all details of their all products.

 Alert: Admin will accept request of user, then it will send alert / response to user.

PIBM
8
Online Product Maintenance

2.5 Operation Enviroment

At Servers Side:

Hardware Configuration

NAME DETAILS
Processor Intel core i7

RAM 4 GB RAM

Hard Drive 500 GB

Software Environment :- Java ,JavaScript , Bootstrap , HTML5 , CSS3 ,


MySQL.

At Client Side:

Hardware Configuration

NAME DETAILS
Processor Intel core i7

RAM 4 GB RAM

Hard Drive 500 GB

Software Environment :- Java ,JavaScript , Bootstrap , HTML5 , CSS3 ,


MySQL.

3. System Analysis & Design


PIBM
9
Online Product Maintenance

3.1 USE CASE DIAGRAM

Product Maintenance System


<<extend>>
Registration

Login

Add Product

Assign product

Verify Product Details

Report Issue
Admin User

Accept Request

Communicate with user

Resolve issue

PIBM
10
Online Product Maintenance

3.2 Sequence Diagram

Product
Maintenance
System
Admin User

Register

Registration Successful
Register
Login
Registration Successful
Login Success

Add Items

Added Successfully Record in DB

Login

Login Success
Check product details

Shows details

Report an issue

Shows reports Register issue

Checks and Resolves issue

Status update

Record in DB

PIBM
11
Online Product Maintenance

3.3 Activity Diagram

Admin Product Maintenance System User

Register and Login Register and Login

[no] [yes] [yes] [no]


Login Success

Add Product

Items added
successfully
Verify Product details

Record Updated

Report issues

Check issues Record issues

Communicate
with User Explain Issues

Resolves Issues

3.4 ER - DIAGRAM
PIBM
12
Online Product Maintenance

PIBM
13
Online Product Maintenance

3.5 User InterFace Design

 Admin Login

 Admin DashBoard

PIBM
14
Online Product Maintenance

 List Of All Products

 List of All Users

PIBM
15
Online Product Maintenance

 Assigning or Deleting product of user

 User Login

PIBM
16
Online Product Maintenance

 User Registration

 User Dashboard

PIBM
17
Online Product Maintenance

 User Report Issue

PIBM
18
Online Product Maintenance

3.7 Table Specification


 DataBase Name : projectdb
 Table Name : Admin

 Table Name : User

PIBM
19
Online Product Maintenance

 Table Name : Product

 Table Name : Maintenance

PIBM
20
Online Product Maintenance

4. Drawback and Limitations


DRAWBACKS:

 Time Consuming
 Slow process
 Hard to maintain the records
 Wait for response
 Unavailability of department members
 Loss of information

Limitations :
In exiting system, all work is done manually. A lot of time is spent into maintaining
the record of each product of each staff members and number of record increases indirect
paperwork also increases.

If any staff members have any query or any problem regarding products which is
provided by organisation then staff members need to call maintenance department. If no one
is available in maintenance department then after some time staff members will again have to
call maintenance department and also wait for response. This is major drawback of existing
system. This manual process is time consuming and very tiring.

PIBM
21
Online Product Maintenance

5 Proposed Enhancemets
The web application future enhancement would be implementation of video
communication platform for more interactive and easy to solve query. The system will
provide some extra feature. e.g. admin can access some specific products like laptops from
admin desktop it will save more time.

6 Conclusion
The Online Product Maintenance System is design so that User can send request on single
click and Admin can also send response. Only authorized user can login in the system and
only Admin can view the details regarding product of all user. The system has adequate scope
for modification in future if it is necessary

7 Bibliography
www.w3school.com

www.google.com

PIBM
22
Online Product Maintenance

ANNEXURES

ANNEXURES 1: User Interface Screen

 Login( Admin )

 Login ( User )

PIBM
23
Online Product Maintenance

 Admin Dashboard

 User Dashboard

PIBM
24
Online Product Maintenance

 List of Users

 User Report Issue

PIBM
25
Online Product Maintenance

ANNEXURE 2: Output Report With Data ( if ANY)

 User Dashboard

 Report Issue

PIBM
26
Online Product Maintenance

 List Of Users:

ANNEXURE 3: Sample Code

//Admin validation & session creation

<%

String name = request.getParameter("adminname");

String pass = request.getParameter("adminpass");

if (new AdminDAO().validateAdmin(name, pass)) {

session.setAttribute("myadmin", name);

response.sendRedirect("WelcomeAdmin.jsp");

} else {

response.sendRedirect("AdminLogin.jsp");

%>

PIBM
27
Online Product Maintenance

//User Validation & session creation

<%

String name = request.getParameter("username");

String pass = request.getParameter("pass");

if (new UserDAO().validateUser(name, pass)) {

session.setAttribute("myuser", name);

response.sendRedirect("welcomeUser");

} else {

response.sendRedirect("Login.jsp");

%>

//After User & Admin logout

<%

request.getSession(false).invalidate();

response.sendRedirect("Login.jsp");

%>

//To check whether user is logged in or not.

if (session.getAttribute("myuser") == null)

response.sendRedirect("Login.jsp");

//To check whether Admin is logged in or not.

PIBM
28
Online Product Maintenance

if (session.getAttribute("myadmin") == null)

response.sendRedirect("Login.jsp");

//Servlet creation

package com.ctrl;

import java.io.IOException;

import java.sql.SQLException;

import java.time.LocalDate;

import java.util.List;

import javax.servlet.RequestDispatcher;

import javax.servlet.ServletException;

import javax.servlet.annotation.WebServlet;

import javax.servlet.http.HttpServlet;

import javax.servlet.http.HttpServletRequest;

import javax.servlet.http.HttpServletResponse;

import com.dao.AdminDAO;

import com.dao.MaintenanceDAO;

import com.dao.ProductDAO;

import com.dao.UserDAO;

import com.pojo.Maintenance;

PIBM
29
Online Product Maintenance

import com.pojo.Product;

import com.pojo.User;

/**

* Servlet implementation class ProductServlet

*/

@WebServlet("/")

public class ProductServlet extends HttpServlet {

private static final long serialVersionUID = 1L;

private ProductDAO productDAO;

private UserDAO userDAO;

private MaintenanceDAO mdao;

private AdminDAO adminDAO;

public void init() throws ServletException {

productDAO = new ProductDAO();

userDAO = new UserDAO();

mdao = new MaintenanceDAO();

adminDAO = new AdminDAO();

/**

* @see HttpServlet#doGet(HttpServletRequest request,


HttpServletResponse

* response)
PIBM
30
Online Product Maintenance

*/

protected void doPost(HttpServletRequest request, HttpServletResponse


response)

throws ServletException, IOException {

// TODO Auto-generated method stub

doGet(request, response);

//function call to show all users rom database

public List<User> showAllUsers() {

// TODO Auto-generated method stub

List<User> userList = new ArrayList<>();

try (Connection conn = new DBAdapter().getConnet();


PreparedStatement pst = conn.prepareStatement(SHOW_USER);) {

ResultSet rs = pst.executeQuery();

while (rs.next()) {

int id = rs.getInt("uid");

String name = rs.getString("uname");

String email = rs.getString("uemail");

String dept = rs.getString("udept");

String mob = rs.getString("umob");

userList.add(new User(id, name, email, dept, mob));

} catch (SQLException e) {

PIBM
31
Online Product Maintenance

// TODO Auto-generated catch block

e.printStackTrace();

return userList;

//User Validation function

public boolean validateUser(String name, String pass) {

int cnt = 0;

String QUERY = "select uid from user where uname=? and


upass=?";

try (Connection conn = new DBAdapter().getConnet();


PreparedStatement pst = conn.prepareStatement(QUERY);) {

pst.setString(1, name);

pst.setString(2, pass);

ResultSet rs = pst.executeQuery();

while (rs.next()) {

cnt = cnt + 1;

} catch (SQLException e) {

// TODO Auto-generated catch block

e.printStackTrace();

PIBM
32
Online Product Maintenance

if (cnt == 0)

return false;

return true;

//Admin Validation

public boolean validateAdmin(String name, String pass) {

int cnt = 0;

String QUERY = "select Admin_name from admin where


Admin_name=? and Admin_pass=?";

try (Connection conn = new DBAdapter().getConnet();


PreparedStatement pst = conn.prepareStatement(QUERY);) {

pst.setString(1, name);

pst.setString(2, pass);

ResultSet rs = pst.executeQuery();

while (rs.next()) {

cnt = cnt + 1;

} catch (SQLException e) {

// TODO Auto-generated catch block

PIBM
33
Online Product Maintenance

e.printStackTrace();

if (cnt == 0)

return false;

return true;

PIBM
34

You might also like