[go: up one dir, main page]

0% found this document useful (0 votes)
157 views33 pages

AISSC 2019-2020: Book Store Management System

Uploaded by

Arish imtiaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
157 views33 pages

AISSC 2019-2020: Book Store Management System

Uploaded by

Arish imtiaz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 33

AISSC 2019-

2020

A PROJECT REPORT
ON

BOOK STORE MANAGEMENT SYSTEM

FOR
AISSCE 2020 EXAMINATION
[AS A PART OF THE INFORMATICS PRACTICES
COURSE (065)]

MADDED BY : -
ARISH IMTIAZ
BOARDS ROLL NO: -
UNDER THE GUIDANCE OF:
MR. RAVINDRA KUMAR
CERTIFICATE

This is to certify that the Project / Dissertation entitled BOOK

STORE MANAGEMENT is a bonafide work done by Arish

Imtiaz of class XII-B Session 2019-20 in partial fulfillment of

CBSE’s AISSCE Examination 2019 and has been carried out

under direct supervision and guidance of Mr Ravindra Kumar.

This report or a similar report on the topic has not been

submitted for any other examination and does not form a part of

any other course undergone by the candidate.

………………………… ……………………………..
Signature of Student Signature of Teacher/Guide

Name: Arish Imtiaz Name: MR. Ravindra Kumar


Roll No.: 12

Place: PATNA
ACKNOWLEDGEMENT

I
undertook this Project work, as the part of my XII-Informatics
Practices course. I had tried to apply my best of knowledge and
experience, gained during the study and class work experience.
However, developing software system is generally a quite complex
and time-consuming process. It requires a systematic study, insight
vision and professional approach during the design and development.
Moreover, the developer always feels the need, the help and good
wishes of the people near you, who have considerable experience and
idea.

I would like to extend my sincere thanks and gratitude to my teacher


MR. RAVENDRA KUMAR. I am very much thankful to him for
giving his valuable time and support to develop this software.

I would also take this opportunity to thank my friend Devansh verma


for his equal support. I would also like to thank my all other friends for
their valuable feedback.

ARISH IMTIAZ
Class XII B
INDEX

1) TOPIC
2) CERTIFICATE
3) ACKNOWLEDGEMENT
4) INDEX
5) INTRODUCTUION
6) ABOUT DBMS AND NETBEANS
7) HARDWARE COMPONENTS
8) SOFTWARE COMPONENTS
9) GUI AND CODE
10) MYSQL DATABASE
11) BIBLIOGRAPHY
INTRODUCTION-Objective & Scope of the
Project
The objective of the software project is to develop a computerized
MIS to automate the functions of a BOOK STORE MANAGEMENT
SYSTEM.This software project is also aimed to enhance the current
record keeping system, which will help managers to retrieve the up-to-
date information at right time in right shape.
The proposed software system is expected to do the following
functionality-
 To provide a user friendly, Graphical User Interface (GUI) based
integrated and centralized environment for MIS activities.
 The proposed system should maintain all the records and
transactions, and should generate the required reports and
information when required.
 To provide graphical and user-friendly interface to interact with a
centralized database based on client-server architecture.
 To identify the critical operation procedure and possibilities of
simplification using modern IT tools and practices.

In its current scope, the software enables user to retrieve and update
the information from centralized database designed with MySQL .
This software does not require much training time of the users due to
limited functionality and simplicity.

During the development of BOOK STORE MANAGEMENT


SYSTEM project, Java NetBeans IDE, a powerful, open source event-
driven form-based development environment is used for modular
design and future expandability of the system.

Despite of the best effort of the developer, the following limitations


and functional boundaries are visible, which limits the scope of this
application software.

1. This software can store records and produce reports in pre-


designed format in soft copy. There is no facility yet to produce
customized reports. Only specified reports are covered.

2. There is no provision to calculate fine or penalty etc. for defaulter


members; however it can be developed easily with the help of
adding modules.

3. Some application area like accounting of members etc. are not


implemented in the project. It facilitates manager to record and
update only transaction record.

So far as future scope of the project is concerned, firstly it is open to


any modular expansion i.e. other modules or functions can be designed
and embedded to handle the user need in future. Any part of the
software and reports can be modified independently without much
effort.
ABOUT DBMS AND NETBEANS
3.1 What is Database?
Introduction and Concepts:
A database is a collection of information related to a particular subject
or purpose, such as tracking customer orders or maintaining a music
collection. Using any RDBMS application software like MS SQL
Server, MySQL, Oracle, Sybase etc, you can manage all your
information from a single database file. Within the file, divide your
data into separate storage containers called tables. You may and
retrieve the data using queries.
A table is a collection of data about a specific topic, such as products
or suppliers. Using a separate table for each topic means you can store
that data only once, which makes your database more efficient and
reduces data-entry errors. Table organises data into columns (called
fields) and rows (called records).
A Primary key is one or more fields whose value or values uniquely
identify each record in a table. In a relationship, a primary key is used
to refer to specific record in one table from another table. A primary
key is called foreign key when it is referred to from another table.

To find and retrieve just the data that meets conditions you specify,
including data from multiple tables, create a query. A query can also
update or delete multiple records at the same time, and perform built-
in or custom calculations on your data.
Role of RDBMS Application Program:
A computer database works as a electronic filing system, which has a
large number of ways of cross-referencing, and this allows the user
many different ways in which to re-organize and retrieve data. A
database can handle business inventory, accounting and filing and use
the information in its files to prepare summaries, estimates and other
reports. The management of data in a database system is done by
means of a general-purpose software package called a Database
Management System (DBMS). Some commercially available DBMS
are MS SQL Server, MS ACCESS, INGRES, ORACLE, and Sybase.
A database management system, therefore, is a combination of
hardware and software that can be used to set up and monitor a
database, and can manage the updating and retrieval of database that
has been stored in it. Most of the database management systems have
the following capabilities:
 Creating of a table, addition, deletion, modification of records.
 Retrieving data collectively or selectively.
 The data stored can be sorted or indexed at the user's discretion
and direction.
 Various reports can be produced from the system. These may be
either standardized report or that may be specifically generated
according to specific user definition.
 Mathematical functions can be performed and the data stored in
the database can be manipulated with these functions to perform
the desired calculations.
 To maintain data integrity and database use.
The DBMS interprets and processes users' requests to retrieve
information from a database. In most cases, a query request will have
to penetrate several layers of software in the DBMS and operating
system before the physical database can be accessed. The DBMS
responds to a query by invoking the appropriate subprograms, each of
which performs its special function to interpret the query, or to locate
the desired data in the database and present it in the desired order.

3.2 What is My SQL ?

The management of data in a database system is done by means of a


general-purpose software package called a Database Management
System (DBMS). Some commercially available RDBMS are MS SQL
Server, MS ACCESS, INGRES, ORACLE, and Sybase.
MySQL, the most popular Open Source SQL database management
system, is developed, distributed, and supported by Oracle
Corporation. MySQL is named after co-founder Monty Widenius's
daughter, My. The name of the MySQL Dolphin (our logo) is
“Sakila,”.
 MySQL is a database management system.

A database is a structured collection of data. It may be anything


from a simple shopping list to a picture gallery or the vast
amounts of information in a corporate network. To add, access,
and process data stored in a computer database, you need a
database management system such as MySQL Server. Since
computers are very good at handling large amounts of data,
database management systems play a central role in computing,
as standalone utilities, or as parts of other applications.
 MySQL is based on SQL.

A relational database stores data in separate tables rather than


putting all the data in one big storeroom. This adds speed and
flexibility. The SQL part of “MySQL” stands for “Structured
Query Language.” SQL is the most common standardized
language used to access databases and is defined by the
ANSI/ISO SQL Standard. The SQL standard has been evolving
since 1986 and several versions exist. In this manual, “SQL-92”
refers to the standard released in 1992, “SQL:1999” refers to the
standard released in 1999, and “SQL:2003” refers to the current
version of the standard.
 MySQL software is Open Source.
Open Source means that it is possible for anyone to use and
modify the software. Anybody can download the MySQL
software from the Internet and use it without paying anything. If
you wish, you may study the source code and change it to suit
your needs. The MySQL software uses the GPL (GNU General
Public License),
 The MySQL Database Server is very fast, reliable, and easy to
use.
If that is what you are looking for, you should give it a try.
MySQL Server also has a practical set of features developed in
close cooperation with our users. You can find a performance
comparison of MySQL Server with other database managers on
our benchmark page. MySQL Server was originally developed to
handle large databases much faster than existing solutions and has
been successfully used in highly demanding production
environments for several years. Although under constant
development, MySQL Server today offers a rich and useful set of
functions. Its connectivity, speed, and security make MySQL
Server highly suited for accessing databases on the Internet.
 MySQL Server works in client/server or embedded systems.
The MySQL Database Software is a client/server system that
consists of a multi-threaded SQL server that supports different
backends, several different client programs and libraries,
administrative tools, and a wide range of application
programming interfaces (APIs).
The Main Features of MySQL
 Written in C and C++.
 Works on many different platforms.
 Uses multi-layered server design with independent modules.
 Provides transactional and nontransactional storage engines.
 Designed to make it relatively easy to add other storage engines.
This is useful if you want to provide an SQL interface for an in-
house database.
 Uses a very fast thread-based memory allocation system.
 Executes very fast joins using an optimized nested-loop join.
 Implements SQL functions using a highly optimized class library
that should be as fast as possible. Usually there is no memory
allocation at all after query initialization.
 Provides the server as a separate program for use in a
client/server networked environment, and as a library that can be
embedded (linked) into standalone applications. Such
applications can be used in isolation or in environments where no
network is available.
 Password security by encryption of all password traffic when you
connect to a server.
 Support for large databases. We use MySQL Server with
databases that contain 50 million records. We also know of users
who use MySQL Server with 200,000 tables and about
5,000,000,000 rows.
 MySQL client programs can be written in many languages. A
client library written in C is available for clients written in C or
C++, or for any language that provides C bindings.
 APIs for C, C++, Eiffel, Java, Perl, PHP, Python, Ruby, and Tcl
are available, enabling MySQL clients to be written in many
languages.
 The Connector/ODBC (MyODBC) interface provides MySQL
support for client programs that use ODBC (Open Database
Connectivity) connections.
 The Connector/J interface provides MySQL support for Java
client programs that use JDBC connections. Clients can be run on
Windows or Unix. Connector/J source is available.

3.3 What is NetBeans IDE ?


NetBeans started as a student project (originally called Xelfi) in the
Czech Republic in 1996. The goal was to write a Delphi-like Java IDE
in Java. Xelfi was the first Java IDE (Integrated Development
Environment) written in Java, with its first pre-releases in 1997. Xelfi
was a fun project to work on, especially since Java IDE space was
uncharted territory at that time. The project attracted enough interest
that these students, once they graduated, decided that they could
market it as a commercial product. Soliciting resources from friends
and relatives for a web space, they formed a company around it.
Soon after, they were contacted by Roman Stanek, an entrepreneur
who had already been involved in several startups in the Czech
Republic. He was looking for a good idea to invest in, and discovered
Xelfi. He met with the founders; they hit it off, and a business was
born.
In the spring of 1999, NetBeans DeveloperX2 was released,
supporting Swing. The performance improvements that came in JDK
1.3, released in the fall of 1999, made NetBeans a viable choice for
development tools. By the summer of 1999, the team was hard at work
re-architecting DeveloperX2 into the more modular NetBeans that
forms the basis of the software today.
Something else was afoot in the summer of 1999: Sun Microsystems
wanted better Java development tools, and had become interested in
NetBeans. It was a dream come true for the NetBeans team: NetBeans
would become the flagship tool set of the maker of Java itself! By the
Fall, with the next generation of NetBeans Developer in beta, a deal
was struck. Sun Microsystems had also acquired another tools
company, During the acqusition, the young developers who had been
involved in open-source projects for most of their programming
careers, mentioned the idea of open-sourcing NetBeans. Fast forward
to less than six months later, the decision was made that NetBeans
would be open sourced. While Sun had contributed considerable
amounts of code to open source projects over the years, this was Sun's
first sponsored open source project, one in which Sun would be paying
for the site and handling the infrastructure.

Features of NetBeans
A free, open-source Integrated Development Environment for software
developers. You get all the tools you need to create professional
desktop, enterprise, web, and mobile applications with the Java
platform, as well as C/C++, PHP, JavaScript, Groovy, and Ruby.
NetBeans IDE 6.9 introduces the JavaFX Composer, support for
JavaFX SDK 1.3, OSGi interoperability, support for the PHP Zend
framework and Ruby on Rails 3.0, and more.
 MONITOR

 CPU OR LAPTOP

 RAM 512 MB

 PROCESSOR INTEL CORE I3

 SCANNER

 PRINTER

 HARD DISK

 STORAGE SPACE 260GB OR ABOUT


 OS : WINDOWS,LINUX ETC.

 NETBEANS

 MICROSOFT WORD

 MICROSOFRT OFFICE

 MYSQL

 NETBEANS

 NOTEPAD++

 SQL DEVELOPER
GUI

CODE
import java.sql.*;
import javax.swing.JOptionPane;
public class login extends javax.swing.JFrame {

/**
* Creates new form login
*/
public login() {
initComponents();
}

private void
jButton1ActionPerformed(java.awt.event.ActionEve
nt evt) {

private void
jButton1ActionPerformed(java.awt.event.ActionEve
nt evt) {
// TODO add your handling code here:
addProduct p=new addProduct();
p.setVisible(true);
}

private void
jButton2ActionPerformed(java.awt.event.ActionEve
nt evt) {
// TODO add your handling code here:
searchBooks p=new searchBooks();
p.setVisible(true);
}

private void
jButton3ActionPerformed(java.awt.event.ActionEve
nt evt) {
// TODO add your handling code here:
showBooks p=new showBooks();
p.setVisible(true);

}
import java.sql.*;
import javax.swing.JOptionPane;
public class addBooks extends javax.swing.JFrame {

/**
* Creates new form addBooks
*/
public addBooks() {
initComponents();
}
private void
jButton1ActionPerformed(java.awt.event.ActionEve
nt evt) {
// TODO add your handling code here:
try
{
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://lo
calhost/departmental","root","");
Statement st=con.createStatement();
String q,p,n,c,t,o;

import java.sql.*;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
public class showBooks extends javax.swing.JFrame
{

/**
* Creates new form showBooks
*/
public showBooks() {
initComponents();
}

private void
jButton1ActionPerformed(java.awt.event.ActionEve
nt evt) {
// TODO add your handling code here: try
{
Class.forName("com.mysql.jdbc.Driver");

import java.sql.*;
import javax.swing.JOptionPane;
public class searchProduct extends
javax.swing.JFrame {
/**
* Creates new form searchBooks
*/
public searchBooks() {
initComponents();
}

private void
jButton1ActionPerformed(java.awt.event.ActionEve
nt evt) {
// TODO add your handling code here:
try
{
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://lo
calhost/departmental","root","");
Statement st=con.createStatement();
String q,p,c,a;
import javax.swing.JOptionPane;
import java.sql.*;
import javax.swing.table.DefaultTableModel;
public class generateBill extends
javax.swing.JFrame {
/**
* Creates new form generateBill
*/
public generateBill() {
initComponents();
try{
import java.sql.*;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
public class showBills extends javax.swing.JFrame {

/**
* Creates new form showBills
*/
public showBills() {
initComponents();
}
private void
jButton1ActionPerformed(java.awt.event.ActionEve
nt evt) {
// TODO add your handling code here:
try
{
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://lo
calhost/departmental","root","");

import java.sql.*;
import javax.swing.JOptionPane;

public class searchBill extends javax.swing.JFrame {

/**
* Creates new form searchBill
*/
public searchBill() {
initComponents();
}
private void
jButton1ActionPerformed(java.awt.event.ActionEve
nt evt) {
// TODO add your handling code here:
try
import java.sql.*;
import javax.swing.JOptionPane;
public class addProduct extends javax.swing.JFrame
{

/**
* Creates new form addProduct
*/
public addProduct() {
initComponents(); }
How to installSoftware:
Hardware Requirement-
 Intel Pentium/Celeron or similar processor based PC

at Client/Server end.
 512 MB RAM and 4GB HDD space (for Database) is
desirable.
 Standard I/O devices like Keyboard and Mouse etc.
 Printer is needed for hard-copy reports.
 Local Area Network(LAN) is required for Client-
Server Installation

Software Requirement-
 Windows 2000/XP OS is desirable.

 NetBeans Ver 5.1 or higher should be installed with


JDK and JVM.
 MySQL Ver 6.1 with Library Database must be
present at machine.
Database Installation
The software project is distributed with a backup copy of
a Database named travelagency with required tables.
Some dummy records are present in the tables for testing
purposes, which can be deleted before inserting real data.
The project is shipped with arjun.SQL file which installs
a database and tables in the computer system.
Note: The PC must have MySQL server with user (root)
and password (arjun) . If root password is any other
password, it can be changed by running MySQL Server
Instance Configure Wizard.
Start Program  MySQL MySQL Server MySQL
Server Instance Config Wizard
Provide current password of root and new password as
“arjun” , this will change the root password.
To install a MySQL database from a dump file
( arjun.sql) , simply follow the following steps.
Step 1: Copy the arjun.sql file in C:\Program
files\Mysql\MySql server 5.1\Bin folder.
Step 2: Open MySQL and type the following command
to create the dabase named travelagency.
mysql> create databasetravelagency;
Step 3: Open Command Window (Start Run  cmd)
Step 4: Go to the following folder using CD command of
DOS.
C:\Program files\Mysql\MySql server 5.1\Bin>
Step 5: type the following command on above prompt -
C:….\bin> mysql -u root -parjun travelagencyt
<arjun.sql
This will create a travelagency databse with required
tables.
Working with SoftwareProject:
The Travel agency Management Program consists of the
following logically organised Menu-structure for the easy
functionality. User may choose the menu options for
corresponding works.
BIBLIOGRAPHY

In order to work on this project titled – BOOKS


MANAGEMENT SYSTEM , the following books and
literature are refered by me during the various phases of
development of the project.

(1)The Complete Reference Java 2.0

(2)MySQL, Black Book

(3)Understanding SQL

(4) http://www.mysql.org/

(5) http://www.netbeans.org/

(6) On-line Help of NetBeans ®

(7) Informatics Practices for class XII


-by Sumita Arora
(8) Together with Informatics Practices
(9) Various Websites of Discussion Forum and software
development activities.
Other than the above-mentioned books, the suggestions and
supervision of my teacher and my class experience also helped
me to develop this software project.

You might also like