SIBAN Ip Project
SIBAN Ip Project
SIBAN Ip Project
ANGUL
INFORMATICS PRACTICES PROJECT
2019-20
Submitted to Submitted by
MISS DOLLY NAYAK NAME : SIBAN PRADHAN
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.
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.
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.
OBJECTIVE
T he objective of the software project is to develop a computerized MIS to
automate the functions of a PLANT AND ANIMAL KINGDOM .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.
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 PLANT AND ANIMAL KINGDOM 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 vehicles and fines 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.
Problem Definition & Analysis
The hardest part of building a software system is deciding precisely what to build. No
other part of the conceptual work is so difficult as establishing the detailed technical
requirement. Defining and applying good, complete requirements are hard to work, and
success in this endeavor has eluded many of us. Yet, we continue to make progress.
Problem definition describes the What of a system, not How . The quality of a software
product is only as good as the process that creates it. Problem definition is one of the
most crucial steps in this creation process. Without defining a problem, developers do
not know what to build, customers do not know what to expect, and there is no way to
validate that the built system satisfies the requirement.
Problem definition and Analysis is the activity that encompasses learning about the
problem to be solved, understanding the needs of customer and users, trying to find out
who the user really is, and understanding all the constraints on the solution. It includes
all activities related to the following:
To provide a user friendly, Graphical User Interface (GUI) based integrated and
centralized environment for computerized Plant And Animal Kingdom,
The proposed system should maintain all the records and transactions, and
should generate the required reports and information when required.
To provide efficient and secured Information storage, flow and retrieval system,
ensuring the integrity and validity of records.
Laptop with AMD A8 Processor (1.60GHz), having 6 GB RAM and other required
devices.
(4) http://www.mysql.org/
(5) http://www.netbeans.org/
DriverManager.getConnection("jdbc:mysql://localhost:3306/BIOLOGY","r
oot","password");
Statement stmt=(Statement)con.createStatement();
String query="INSERT INTO FRIEND
VALUES('"+name+"','"+biological+"','"+genus+"','"+family+"','"+order+"','"
+clas+"','"+phylum+"');";
stmt.executeUpdate(query);
}
catch(Exception e)
{
JOptionPane.showMessageDialog(this,e.getMessage());
}
JOptionPane.showMessageDialog(this,"your file file has been
successfully saved");
}
}
else
if(jRadioButton2.isSelected())
{ biological=jTextField2.getText();
{ if(biological.isEmpty())
{
jTextField1.setText("");
jTextField3.setText("");
jTextField4.setText("");
jTextField5.setText("");
jTextField6.setText("");
jTextField7.setText("");
JOptionPane.showMessageDialog(this,"enter the biological
name");
}
else
{
try
{ Class.forName("java.sql.DriverManager");
Connection con=(Connection)
DriverManager.getConnection("jdbc:mysql://localhost:3306/BIOLOGY","r
oot","password");
Statement stmt=(Statement)con.createStatement();
String query="SELECT
COMMON_NAME,GENUS,FAMILY,B_ORDER,B_CLASS,PHYLUM
FROM FRIEND WHERE BIOLOGICAL_NAME='"+biological+"';";
ResultSet rs =stmt.executeQuery(query);
int found=0;
while(rs.next())
{
name=rs.getString("COMMON_NAME");
genus=rs.getString("GENUS");
family=rs.getString("FAMILY");
order=rs.getString("B_ORDER");
clas=rs.getString("B_CLASS");
phylum=rs.getString("PHYLUM");
jTextField1.setText(name);
jTextField3.setText(genus);
jTextField4.setText(family);
jTextField5.setText(order);
jTextField6.setText(clas);
jTextField7.setText(phylum);
JOptionPane.showMessageDialog(this,"click OK to
continue");
found++;
}
if(found==0)
JOptionPane.showMessageDialog(this,"sorry no biological
name is found");
}
catch(Exception e)
{
JOptionPane.showMessageDialog(this,"e.getMessage");
}
}
}
}
else
if(jRadioButton3.isSelected())
{ genus=jTextField3.getText();
{ if(genus.isEmpty())
{
jTextField1.setText("");
jTextField2.setText("");
jTextField4.setText("");
jTextField5.setText("");
jTextField6.setText("");
jTextField7.setText("");
JOptionPane.showMessageDialog(this,"enter the genus");
}
else
{
try
{ Class.forName("java.sql.DriverManager");
Connection con=(Connection)
DriverManager.getConnection("jdbc:mysql://localhost:3306/BIOLOGY","r
oot","password");
Statement stmt=(Statement)con.createStatement();
String query="SELECT
COMMON_NAME,BIOLOGICAL_NAME,FAMILY,B_ORDER,B
_CLASS,PHYLUM FROM FRIEND WHERE
GENUS='"+genus+"';";
ResultSet rs =stmt.executeQuery(query);
int found=0;
while(rs.next())
{
name=rs.getString("COMMON_NAME");
biological=rs.getString("BIOLOGICAL_NAME");
family=rs.getString("FAMILY");
order=rs.getString("B_ORDER");
clas=rs.getString("B_CLASS");
phylum=rs.getString("PHYLUM");
jTextField2.setText(biological);
jTextField1.setText(name);
jTextField4.setText(family);
jTextField5.setText(order);
jTextField6.setText(clas);
jTextField7.setText(phylum);
JOptionPane.showMessageDialog(this,"click OK to
continue");
found++;
}
if(found==0)
JOptionPane.showMessageDialog(this,"sorry no such genus is
found");
}
catch(Exception e)
{
JOptionPane.showMessageDialog(this,"e.getMessage");
}
}
}
}
else
if(jRadioButton4.isSelected())
{ family=jTextField4.getText();
{ if(family.isEmpty())
{
jTextField1.setText("");
jTextField2.setText("");
jTextField3.setText("");
jTextField5.setText("");
jTextField6.setText("");
jTextField7.setText("");
JOptionPane.showMessageDialog(this,"enter the family");
}
else
{
try
{ Class.forName("java.sql.DriverManager");
Connection con=(Connection)
DriverManager.getConnection("jdbc:mysql://localhost:3306/BIOLOGY","r
oot","password");
Statement stmt=(Statement)con.createStatement();
String query="SELECT
COMMON_NAME,BIOLOGICAL_NAME,GENUS,B_ORDER,B_CLASS,
PHYLUM FROM FRIEND WHERE FAMILY='"+family+"';";
ResultSet rs =stmt.executeQuery(query);
int found=0;
while(rs.next())
{
name=rs.getString("COMMON_NAME");
biological=rs.getString("BIOLOGICAL_NAME");
genus=rs.getString("GENUS");
order=rs.getString("B_ORDER");
clas=rs.getString("B_CLASS");
phylum=rs.getString("PHYLUM");
jTextField2.setText(biological);
jTextField1.setText(name);
jTextField3.setText(genus);
jTextField5.setText(order);
jTextField6.setText(clas);
jTextField7.setText(phylum);
JOptionPane.showMessageDialog(this,"click OK to
continue");
found++;
}
if(found==0)
JOptionPane.showMessageDialog(this,"sorry no such family is
found");
}
catch(Exception e)
{
JOptionPane.showMessageDialog(this,"e.getMessage");
}
}
}
}
else
if(jRadioButton5.isSelected())
{ order=jTextField5.getText();
{ if(order.isEmpty())
{
jTextField1.setText("");
jTextField2.setText("");
jTextField3.setText("");
jTextField4.setText("");
jTextField6.setText("");
jTextField7.setText("");
JOptionPane.showMessageDialog(this,"enter the order");
}
else
{
try
{ Class.forName("java.sql.DriverManager");
Connection con=(Connection)
DriverManager.getConnection("jdbc:mysql://localhost:3306/BIOLOGY","r
oot","password");
Statement stmt=(Statement)con.createStatement();
String query="SELECT
COMMON_NAME,BIOLOGICAL_NAME,GENUS,FAMILY,B_CLASS,P
HYLUM FROM FRIEND WHERE B_ORDER='"+order+"';";
ResultSet rs =stmt.executeQuery(query);
int found=0;
while(rs.next())
{
name=rs.getString("COMMON_NAME");
biological=rs.getString("BIOLOGICAL_NAME");
genus=rs.getString("GENUS");
family=rs.getString("FAMILY");
clas=rs.getString("B_CLASS");
phylum=rs.getString("PHYLUM");
jTextField2.setText(biological);
jTextField1.setText(name);
jTextField3.setText(genus);
jTextField4.setText(family);
jTextField6.setText(clas);
jTextField7.setText(phylum);
JOptionPane.showMessageDialog(this,"click OK to
continue");
found++;
}
if(found==0)
JOptionPane.showMessageDialog(this,"sorry no such order is
found");
}
catch(Exception e)
{
JOptionPane.showMessageDialog(this,"e.getMessage");
}
}
}
}
else
if(jRadioButton6.isSelected())
{ clas=jTextField6.getText();
{ if(clas.isEmpty())
{
jTextField1.setText("");
jTextField2.setText("");
jTextField3.setText("");
jTextField4.setText("");
jTextField5.setText("");
jTextField7.setText("");
JOptionPane.showMessageDialog(this,"enter the class");
}
else
{
try
{ Class.forName("java.sql.DriverManager");
Connection con=(Connection)
DriverManager.getConnection("jdbc:mysql://localhost:3306/BIOLOGY","r
oot","password");
Statement stmt=(Statement)con.createStatement();
String query="SELECT
COMMON_NAME,BIOLOGICAL_NAME,GENUS,FAMILY,B_ORDER,P
HYLUM FROM FRIEND WHERE B_CLASS='"+clas+"';";
ResultSet rs =stmt.executeQuery(query);
int found=0;
while(rs.next())
{
name=rs.getString("COMMON_NAME");
biological=rs.getString("BIOLOGICAL_NAME");
genus=rs.getString("GENUS");
family=rs.getString("FAMILY");
order=rs.getString("B_ORDER");
phylum=rs.getString("PHYLUM");
jTextField2.setText(biological);
jTextField1.setText(name);
jTextField3.setText(genus);
jTextField4.setText(family);
jTextField5.setText(order);
jTextField7.setText(phylum);
JOptionPane.showMessageDialog(this,"click OK to
continue");
found++;
}
if(found==0)
JOptionPane.showMessageDialog(this,"sorry no such class is
found");
}
catch(Exception e)
{
JOptionPane.showMessageDialog(this,"e.getMessage");
}
}
}
}
else
JOptionPane.showMessageDialog(this," please do full
information about this and login to this site");
}
MYSQL TABLE FOR THE FORM:
DESCRICPTION OF TABLE:
TABLE:
FRAME FOR THE MORE INFORMATION
BUTTON: