0% found this document useful (0 votes)
49 views29 pages

Fisheries Resource Maintenance System

Uploaded by

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

Fisheries Resource Maintenance System

Uploaded by

SUBASH E
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

DEPARTMENT OF COMPUTER SCIENCE AND

ENGINEERING

Academic Year
2022 – 2023 (Odd Semester)

MINI PROJECT REPORT

U19CS202 Database Management


Systems &
U19CS203 Object-Oriented Programming

------ FISHERIES RESOURCE MAINTENANCE


SYSTEM -----

Submitted by, Mentored by,


[21CS151] SUBASH E
[21CS154] SURENDHAR M Ms. SUCHITRA B
VISHWA M
[21CS184] Assistant
[21CS185] YASWANTH R Professor,
Department of
CSE
1
TABLE OF CONTENTS

CHAPTE PAGE NO.


R TITLE
NO.
ABSTRACT 3
1 INTRODUCTION
1.1 OBJECTIVES 4

1.2 SCOPE OF THE PROJECT 5

SYSTEM ANALYSIS
2
AND SPECIFICATION
6
2.1 PROBLEM DESCRIPTION
7
2.2 FRONT END
7
2.3 BACK-END
3 SYSTEM DESIGN
ER DIAGRAM 8
3.1
SCHEMA DIAGRAM 9
3.2
4 PROPOSED SOLUTION
4.1 USER INTERFACE DESIGN 10
4.2 CLASS CONSTRUCTION 11
4.3 DATABASE CREATION 12

5 PROJECT DESCRIPTION
5.1 MODULE DESCRIPTION

1) CUSTOMER SYSTEM 13
2) FISHERIES SYSTEM
3) PACKAGE INFORMATION
SYSTEM
5.2 JDBC CONNECTIVITY 14

6 IMPLEMENTATION 15

7 RESULTS AND DISCUSSION 25

8 CONCLUSION & FUTURE 26


ENHANCEMENT
REFERENCES 27
2
ABSTRACT

The project “Fisheries Resource Maintenance System” is used to give the user
the information about the fishes so that the users can easily make their choice to
buy a fish. The project is designed in Java as front end and MySql as backend.
The coding language used is Java and Sql. The “Fisheries Resource
Maintenance System” is used to show the details about the fish like its
foodroutine, production and adaptation details. The admin can add,edit and
remove the details about the fish. Then the users can sign in and check the
details about the fish. It is an easiest platform for all the users knowing all the
details about the fishes.

3
CHAPTER 1
INTRODUCTION

1.1 OBJECTIVES

● Fisheries is one of the main sector which contributes in

economic growth. Countries near the water resources will


have this sector as their main.

● In India fisheries system contributes about 1% to India’s

GDP and over 5% to agricultural GDP.

● We help the user to buy a fish by providing all the details

about the fish.

● To provide the necessary information about the fish for the

customer to buy a fish of his desire.


4
1.2 SCOPE OF THE PROJECT

 Many of the people may not know how to buy a fish and by giving the
details it can be useful to them to buy their desired fish easily.

 For instance, Our project can give the user the necessary details about the
fish they desire to buy so that they can easily make the choice.

 The main scope of the project is to create a database about the fishes and the
user can see the data of the fishes and it seems to be easy for both the
customer and the employee who work in the fisheries sector.

5
CHAPTER 2
SYSTEM ANALYSIS AND SPECIFICATION

2.1 PROBLEM DESCRIPTION

 Fisheries Resource Management System is an integrated software


developed for fisheries business.

 The purpose is to build a system that performs all operations and give
information related to basic fishdetails, foodroutine, adaptation and
production management.

 This system gives the necessary information about the fish for the
customers so that they can easily choose their desired fish.

6
2.2 FRONT END

 Processor Type : AMD RYZEN 5

 Speed : 2.4GHZ

 RAM : 8GB DD4 RAM

 Hard disk : 512 GB

2.3 BACK END

 MySQL Libraries

 MySQL Workbench

 Visual Studio Code

 Operating system : Windows11

7
CHAPTER 3
SYSTEM DESIGN

3.1 ER DIAGRAM

8
3.2 SCHEMA DIAGRAM

 Fishdetails (fishid,cost,colour,gender,fishname)

 Foodroutine (fishid,nooftimestofeed,food,quantity,cost)

 Production (fishid,cost,breeding,diseasecontrol)

 Adaptation (fishid,climate,habitat,waterquality,survivalability)

9
CHAPTER 4
PROPOSED SOLUTION

4.1 USER INTERFACE DESIGN

Admin:
Admin has the power to

● To add details of fish.

● To remove details of fish.

USER:
User can view the details about

● The fish’s basic details.

● The fish’s food routine.

● The fish’s production.

● The fish’s adaptation.


10
4.2 CLASS CONSTRUCTION

Class FishDetails

● It has the entity and attribute for the entity.

Class BussinessOperation

● It performs the operation on the databases.

Class sqlConnection

● It establishes the connection with mysql.

Class App

● Controls all the operation.

11
4.3 DATABASE CREATION

12
CHAPTER 5
PROJECT DESCRIPTION

5.1 MODULE DESCRIPTION


Modules to be used are

1. Customer System:
This keeps track of all the new customers and old customers as
per their regular needs and generates timely report of it whose one copy is
being sent to the customer and another copy is kept into the company’s
database for future reference.

2. Fisheries System:
In this module, all the fish customers information associated with
the company is kept and next time it gives the related to the customer’s
database.

3. Package Information System:


In this module, all the information like the basic fish details, fish
production management, fish adaptation, fish food routine are kept .

13
5.2 JDBC CONNECTIVITY

import [Link].*;
public class sqlConnection{
public static Connection getConnection()
{ Connection con = null;
try{
con =
[Link]("jdbc:mysql://localhost/college","root",
"mysql");
}catch(SQLException e)
{ [Link]("Error");
}
return con;
}
}

● JDBC is a Java API to connect and execute the query with the

database.

● It is a part of JavaSE (Java Standard Edition).

● JDBC API uses JDBC drivers to connect with the database

14
CHAPTER 6

IMPLEMENTATION

[Link]:

public class FishDetails

{ private int fishid;


private double cost;
private String colour,gender,fishname;
public int getFishid() {
return fishid;

public void setFishid(int fishid) {


[Link] = fishid;
}

public double getCost() {


return cost;
}

public void setCost(double cost) {


[Link] = cost;
}

public String getColour() {


return colour;}
public void setColour(String colour) {
[Link] = colour;

public String getGender() {


return gender;
}

public void setGender(String gender) {


[Link] = gender;
}

public String getFishname() {


15
return fishname;
}

public void setFishname(String fishname) {


[Link] = fishname;
}

class FoodRoutine

private int fishid,nooftimestofeed;


private String food;
private double quantity,cost;
public int getFishid() {
return fishid;

}
public void setFishid(int fishid) { [Link] = fishid;
}

public int getNooftimestofeed() {


return nooftimestofeed;
}

public void setNooftimestofeed(int nooftimestofeed) {


[Link] = nooftimestofeed;
}

public String getFood() {


return food;
}

public void setFood(String food) {


[Link] = food;
}

public double getQuantity() {


return quantity;
}

public void setQuantity(double quantity) {


[Link] = quantity;
16
}

public double getCost() {


return cost;
}

public void setCost(double cost) {


[Link] = cost;
}

class Production

private int fishid;


private double cost;
private String breeding,diseasecontrol;
public int getFishid() {
return fishid;

public void setFishid(int fishid) {


[Link] = fishid;
}

public double getCost() {


return cost;
}

public void setCost(double cost) {


[Link] = cost;
}

public String getBreeding() {


return breeding;

public void setBreeding(String breeding) {


[Link] = breeding;
}

17
public String getDiseasecontrol() {
return diseasecontrol;
}

public void setDiseasecontrol(String diseasecontrol) {


[Link] = diseasecontrol;
}

class Adaptation

private int fishid;

private String climate,habitat,waterquality,survivalability;


public int getFishid() {
return fishid;

public void setFishid(int fishid) {


[Link] = fishid;
}
public String getClimate() { return climate;
}

public void setClimate(String climate) {


[Link] = climate;
}

public String getHabitat() {


return habitat;
}

public void setHabitat(String habitat) {


[Link] = habitat;
}

public String getWaterquality() {


return waterquality;
}
18
public void setWaterquality(String waterquality) {
[Link] = waterquality;
}

public String getSurvivalability() {


return survivalability;
}

public void setSurvivalability(String survivalability) {


[Link] = survivalability;
}

[Link]:

import [Link].*;

import [Link];
import [Link];
public class BussinessOperation {

public static int getFishdetails (Connection con)throws


SQLException{ con = [Link]();
Statement smt = [Link]();

ResultSet rs = [Link]("select * from


FishDetails"); ArrayList<FishDetails> arr = new
ArrayList<FishDetails>(); while([Link]()){
FishDetails f = new FishDetails();
[Link]([Link]("fishname"));
[Link]([Link]("fishid"));
[Link]([Link]("colour"));;
[Link]([Link]("gender"));
[Link]([Link]("cost"));
[Link](f);

int fishid;
[Link]("fishId Fishname Cost Colour Gender"); for(FishDetails f:arr){
[Link]([Link]()+" "+[Link]()+" "+[Link]()+"
"+[Link]()+" "+[Link]());

19
}

Scanner sc = new Scanner([Link]);


[Link]("Enter the fishId");
fishid = [Link]();
return fishid;

public static void getFoodRoutine(Connection con ,int fishId) throws


SQLException{
con = [Link]();
Statement smt =
[Link]();
ResultSet rs = [Link]("select * from FoodRoutine
where fishid ="+fishId);
ArrayList<FoodRoutine> arr = new ArrayList<FoodRoutine>();
while([Link]()){
FoodRoutine f = new FoodRoutine();
[Link](fishId);
[Link]([Link]("food"));
[Link]([Link]("nooftimestofeed"));
[Link]([Link]("quantity"));
[Link]([Link]("cost"));
[Link](f);

[Link]("fishId no_of_times_to_feed food quantity


cost");
for(FoodRoutine f :arr){

[Link]([Link]()+" "+[Link]()+"
"+[Link]()+" "+[Link]()+" "+[Link]());
}

public static void getProduction(Connection con, int fishId) throws


SQLException{
con = [Link]();

20
Statement smt =
[Link]();
ResultSet rs = [Link]("select * from Production where fishid
="+fishId);

ArrayList <Production> arr= new ArrayList<Production>();


while([Link]()){
Production p = new Production();
[Link](fishId);
[Link]([Link]("cost"));
[Link]([Link]("breeding"));
[Link]([Link]("diseasecontrol"))
[Link](p);

[Link]("fishId breeding Diseasecontrol cost");


for(Production p : arr){
[Link]([Link]()+" "+[Link]()+"
"+[Link]()+" "+[Link]());
}

public static void getAdaptation(Connection con,int fishId) throws


SQLException{
con = [Link]();
Statement smt =
[Link]();
ResultSet rs = [Link]("select * from Adaptation where fishid
="+fishId);

ArrayList <Adaptation> arr = new ArrayList<Adaptation>();


while([Link]())
{

Adaptation a=new Adaptation();


[Link](fishId);
[Link]([Link]("climate"));
[Link]([Link]("habitat"));
[Link]([Link]("survivalability"))
; [Link]([Link]("waterquality"));
[Link](a);
21
}

[Link]("fishId climate habitat survivalability


waterquality");
for( Adaptation a : arr)

[Link]([Link]()+" "+[Link]()+"
"+[Link]()+" "+[Link]()+" "+[Link]());
}

[Link]:

import [Link].*;

public class sqlConnection{

public static Connection getConnection()


{ Connection con = null;
try{

con =
[Link]("jdbc:mysql://localhost/college","root",
"mysql");

}catch(SQLException e)
{ [Link]("Error
");
}

return con;

22
}

[Link]:

import [Link].*;
import
[Link];

public class App {

public static void main(String[] args) throws Exception


{ Connection con = [Link]();
int fishid = [Link](con);
Scanner sc = new Scanner([Link]);
int ch;

do{

[Link]("Enter the choice\n1)FoodRoutine\


n2)Production\n3)Adaptation\n4)Change the fish\n5)Exit");
ch =[Link]();
switch (ch) {
case 1:
[Link](con, fishid); break;
case 2:

[Link](con, fishid);
break;
case 3:

[Link](con, fishid);
break;
case 4:

fishid = [Link](con);
break;

23
}

[Link](5000);

}while(ch !=5);

24
CHAPTER 7
RESULTS AND DISCUSSIONS

25
CHAPTER 8

CONCLUSION AND FUTURE ENHANCEMENT

Thus the fisheries resource maintenance system with


personalized data management of the customers is developed. In
addition to this project we can also add a login page which asks the
customer to enter username and password to see the details of fish.

27
REFERENCES

[1] [Link]

[2] [Link]
beginners-120

[3] [Link]

[4] [Link]
assistant-using-python-f57247b4494b?gi=847571c7aacd

[5] [Link]

27

Common questions

Powered by AI

The Entity-Relationship (ER) diagram in the system design of the Fisheries Resource Maintenance System serves as a blueprint for structuring the database. It defines the relationships between different data entities such as FishDetails, FoodRoutine, Production, and Adaptation. This aids in organizing and efficiently managing the data, which is crucial for operations like querying and updating the database .

Data integrity and reliability are ensured through structured database schemas consisting of distinct classes like Production and Adaptation, each managing specific attributes such as breeding techniques, disease control measures, climate, and survivalability. Consistent record creation and updates via JDBC connections further secure data accuracy .

The system can aid the local fisheries sector by improving information accessibility for both customers and businesses, streamlining operations, and enhancing decision-making processes. By providing detailed fish information and efficient inventory management, the system can attract more customers and optimize production, thereby potentially boosting local economic growth in the fisheries sector .

Integrating a user interface with existing database structures in the Fisheries Resource Maintenance System may present challenges such as ensuring data consistency and synchronization, handling concurrent user access without conflicts, and maintaining a responsive user experience under varying loads. Additionally, mapping complex database queries to simple UI operations without compromising functionality or speed can be challenging .

Proposed future enhancements include adding a login capability for customers, requiring username and password entry to access fish details. This enhancement could improve data security, tailor user experiences, and provide more personalized services, potentially increasing customer engagement and satisfaction .

The system manages customer information through a Customer System module that tracks new and existing customers according to their regular needs, generating reports for both customers and company records. This management ensures that customer interactions are accurately recorded and accessible, which enhances customer satisfaction and improves the system's overall efficiency in handling user requests .

The primary objectives of the Fisheries Resource Maintenance System are to assist users in purchasing fish by providing comprehensive details about them and to contribute to economic growth through the fisheries sector. The system aims to supply necessary fish information to facilitate buyer decision-making and supports the fisheries sector, which contributes significantly to India's GDP .

Database creation enhances the Fisheries Resource Maintenance System by providing a structured way to store and retrieve detailed information about fishes, such as their food routines, production management, and adaptation characteristics. A well-designed database enables efficient execution of queries and updates, supports the management of large data sets, and ensures data integrity and consistency across different modules like Customer, Fisheries, and Package Information Systems .

The front-end of the Fisheries Resource Maintenance System is built using Java, designed to run on systems with a processor like AMD RYZEN 5, 8GB of RAM, and 512GB hard disk space . The back-end utilizes MySQL libraries, MySQL Workbench, and JDBC for database connectivity, with the entire system running on a Windows 11 operating platform. This infrastructure supports the system's operations by providing a robust environment for data processing and user interaction .

JDBC connectivity is crucial for database operations in the Fisheries Resource Maintenance System as it provides the connection and communication channel between the Java application and the MySQL database. It enables executing SQL queries, retrieving data, and performing updates directly from the Java code, which is essential for real-time data operations like fetching fish details and updating records .

You might also like