0% found this document useful (0 votes)
331 views9 pages

Blood Bank

This document describes a blood bank management system project created using Java, Servlets, JDBC, and MySQL. The project allows users to enter donor information and blood donation details, search for blood by city and blood group, and enter hospital information. The system stores data in tables in a MySQL database called Bloodbank. Modules include donor information entry, recording blood donation details with date and time, blood searching, and hospital information entry. The project aims to simplify and automate blood bank processes.

Uploaded by

Somil Khandelwal
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)
331 views9 pages

Blood Bank

This document describes a blood bank management system project created using Java, Servlets, JDBC, and MySQL. The project allows users to enter donor information and blood donation details, search for blood by city and blood group, and enter hospital information. The system stores data in tables in a MySQL database called Bloodbank. Modules include donor information entry, recording blood donation details with date and time, blood searching, and hospital information entry. The project aims to simplify and automate blood bank processes.

Uploaded by

Somil Khandelwal
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
You are on page 1/ 9

2015-2016

Topic :-Blood Bank


Advance Java Project

Submitted toSubmitted By:Ms. G Shivagami


Khandelwal

Somil

RA1411003010041
CSE-A

Acknowledgement

I would like to express my deepest appreciation


to all those who provided me the possibility to
complete this project report in time. A special
gratitude towards our advanced java faculty,
Ms.G Shivagami , whose contribution in
stimulating suggestions and encouragement,
helped me to coordinate my project especially in
writing this report. Also I would like to thank my
friends who helped me in this project. Last but
not the least, The Internet played an important
role in helping me understand few concepts
related to the project without which the
completion of this project was not possible.

ObjectiveThe purpose of the blood bank management system is to


simplify and automate the process of searching for blood in
case of emergency and maintain the records of blood donors,
recipients, blood donation programs and blood stocks in the
bank. It also allows entering the details of the hospital with the
contact person.

ModulesIn this project I use servlets. Servlets provide a componentbased, platform-independent method for building Web-based
applications, without the performance limitations of CGI
programs. Servlets have access to the entire family of Java
APIs, including the JDBC API to access enterprise databases.
For connectivity I used MySQL, which is a database used to
store data in table.

Donor Information

It is used to enter the details of the Donor who is giving the


blood and is stored in data base whose schema name
Bloodbank and table name donorinfo.

Donor Blood Details

It will take the Donor name from the previous table donorinfo of
the same schema. In this, present date and time is taken and
stored with all the details relating to status and quantity of the
blood in another table DonorDetails.

Present Date And Time:Algorithm:Calendar C=Calendar.getInstance();


String dt=C.get(Calendar.YEAR)+"/"+(C.get(Calendar.MONTH)
+1)+"/"+C.get(Calendar.DATE);
String tm=C.get(Calendar.HOUR)+":"+(C.get(Calendar.MINUTE)
+1)+":"+C.get(Calendar.SECOND);

Here we are using calendar class which is part of util package.

Hospital Information:-

In the above we are taking the hospital information such as


hospital id,hospital name ,contact person and its details .

Blood Search-

Here we are searching the blood city wise .

Algorithm:String q="select D.*,dd.* from donnerinfo D,donerdetails dd where


D.bloodgroup='"+bg+"' and D.City='"+ct+"' ";
ResultSet rs=smt.executeQuery(q);
if(rs.next())
{
out.println("<html>");
out.println("<table border=1><caption><h3><font
color=red>List of Doner</font></h3></caption>");
out.println("<tr><th>Doner Name</th><th>Father
Name</th><th>Blood Group</th><th>Date Of
Birth</th><th>Gender</th><th>Contact No
</th><th>Address</th><th>Date</th><th>Time</th><th>Quantity</th><th>Status<
/th></tr>");
do{

out.println("<tr><td>"+rs.getString(2)+"</td><td>"+rs.getString(3)+"</td><t
d>"+rs.getString(4)+"</td><td>"+rs.getString(5)+"</td><td>"+rs.getString(6)
+"</td><td>"+rs.getString(7)+"</td><td>"+rs.getString(10)+"</td><td>"+rs.ge
tString(14)+"</td><td>"+rs.getString(15)+"</td><td>"+rs.getString(16)+"</td
><td>"+rs.getString(17)+"</td></tr>");
}while(rs.next());
}

else
{

out.println("This Group Blood

not found..");

Software Requirements:
Front End

HTML

Back End

My sql, JDBC,java

Tools

Eclipse Juno

Hardware Requirements:
CPU
version.

Core i3 or higher

RAM

2 GB

Hard Disk

500 GB

DatabaseDonor Info table:-

Donor Details Table:-

Hospital Details Table:-

The above database is the example of the types of data


entered into the database by the user and size of each input as
defined by the programmer.

ConclusionI have successfully created the program for Blood Bank which
was developed using Java,Servlet, JDBC, MySQL and
Eclipse,Tomcat Server version 7.0 , fully meets the objectives of
the system for which it was developed.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy