Body Meter
Body Meter
Body Meter
Report on
“body meter”
Submitted in the partial fulfilment for requirement of the degree of
BACHELOR OF
TECHNOLOGY IN
COMPUTER SCIENCE & ENGINEERING
Session (2020-2023)
Submitted By:
i.
1
ACKNOWLEDGEMENT
We extend our sincere and heartfelt thanks to our esteemed guide, Ms. Anju godara and
for her exemplary guidance, monitoring and constant encouragement throughout the course
We would like to extend thanks to our respected HOD, Dr. Sanjay Dahiya for allowing
us to use the facilities available. We would like to thank other faculty members also .Last
We would like to thank our friends and family for the support and encouragement they have
Branch : CSE
2
CONTENTS
1. ABSTRACT
2. INTRODUCTION
3. SYSTEM STUDY
4. SYSTEM DESIGN
5. SYSTEM IMPLMENTATION
5.1. Testing
6. DATABASE SCHEMA
7. CONCLUSION
LIST OF FIGURES
LIST OF ABBREVIATIONS
APPENDIX-A
APPENDIX-B
REFERENCES
3
ABSTRACT
During the busy life, people don't find time to keep track of their health and may lead to
critical medical conditions. A solution is to record all readings related to health and later
verify it manually. But with help of a computer software we can store the readings digitally
and these data can be processed for productivity.
Record your personal test results as in a diary. Weight, Diabetes, BP, Height etc with date.
The data recorded can be viewed in graphs and charts. These data is used for calculating an
expected result in future by analyzing current status using normal distribution equations and
interpolation formulas. The software also reminds the future test dates and it can produce a
warning if the readings are growing worse. The software uses a DB, and it enables multiple
user profiles, hence individuals can use the software. This software can also be used by
Doctors to keep track of their patients.
4
1. INTRODUCTION
During the busy life, people don't find time to keep track of their health and may lead to
critical medical conditions. A solution is to record all readings related to health and later
verify it manually. But with help of a computer software we can store the readings digitally
and these data can be processed for productivity.
Record your personal test results as in a diary. Weight, Diabetes, BP, Height etc with date.
The data recorded can be viewed in graphs and charts. These data is used for calculating an
expected result in future by analyzing current status using normal distribution equations and
interpolation formulas. The software also reminds the future test dates and it can produce a
warning if the readings are growing worse. The software uses a DB, and it enables multiple
user profiles, hence individuals can use the software. This software can also be used by
Doctors to keep track of their patients.
1.1. PURPOSE
This software can store the readings digitally and these data can be processed for productivity
and for calculating an expected result in future by analyzing current status.
5
1.2. SYSTEM SCOPE
6
2. SYSTEM ANALYSIS
This chapter deals with the analysis of the system proposed by our team. It covers the
features, advantages and disadvantages of both the system.
2.11 Advantage
No loss of document due to power loss or database errors.
No requirement computers knowledge
No need of costly hardware used in the system.
2.12 Disadvantage
Difficult to maintain all entries.
Difficult to generate a report.
It is very much time consuming.
Difficult to search a record.
Data may not be perfect human error.
It contains various forms and reports with different function. It has the menus created for
different forms and reports. When you click the menu, it opens the related forms about the
saving account, login form, inquiry, etc.
7
candidate system and compare them with costs. If benefits outweigh costs, then the decision is
made to design and implement the system.
JSP Overview
Java Server Pages (JSP) is a technology for developing web pages that support dynamic
content which helps developers insert java code in HTML pages by making use of special JSP
tags, most of which start with <% and end with %>.
A Java Server Pages component is a type of Java servlet that is designed to fulfill the role of a
user interface for a Java web application. Web developers write JSPs as text files that
combine HTML or XHTML code, XML elements, and embedded JSP actions and
commands.
8
Using JSP, you can collect input from users through web page forms, present records from a
database or another source, and create web pages dynamically. JSP tags can be used for a
variety of purposes, such as retrieving information from a database or registering user
preferences, accessing JavaBeans components, passing control between pages and sharing
information between requests, pages etc.
Java Server Pages often serve the same purpose as programs implemented using the Common
Gateway Interface (CGI). But JSP offer several advantages in comparison with the CGI.
also has access to all the powerful Enterprise Java APIs, including JDBC, JNDI, EJB, JAXP etc.
Finally, JSP is an integral part of J2EE, a complete platform for enterprise class applications.
This means that JSP can play a part in the simplest applications to the most complex and
demanding.
9
Advantages of JSP:
Following is the list of other advantages of using JSP over other technologies:
Active Server Pages (ASP): The advantages of JSP are twofold. First, the dynamic
part is written in Java, not Visual Basic or other MS specific language, so it is more
powerful and easier to use. Second, it is portable to other operating systems and non-
Microsoft Web servers.
Pure Servlets: It is more convenient to write (and to modify!) regular HTML than to have
plenty of println statements that generate the HTML.
Server-Side Includes (SSI): SSI is really only intended for simple inclusions, not for
"real" programs that use form data, make database connections, and the like.
JavaScript: JavaScript can generate HTML dynamically on the client but can hardly
interact with the web server to perform complex tasks like database access and image
processing etc.
JSP Compilation:
When a browser asks for a JSP, the JSP engine first checks to see whether it needs to compile
the page. If the page has never been compiled, or if the JSP has been modified since it was
last compiled, the JSP engine compiles the page.
10
ning the JSP into a servlet.
JSP Initialization:
When a container loads a JSP it invokes the jspInit() method before servicing any requests. If
you need to perform JSP-specific initialization, override the jspInit() method:
Typically initialization is performed only once and as with the servlet init method, you
generally initialize database connections, open files, and create lookup tables in the jspInit
method.
JSP Execution:
This phase of the JSP life cycle represents all interactions with requests until the JSP
is destroyed.
11
3. SYSTEM DESIGN
The system design is needed for information processing technology and the user interface
development analysis. It contain a high level overview of the organization in which the
common activities, processes and products are described in relation to how they create, use
and modify information.
Below given dfd’s can be used to describe the overall user interface:
12
LEVEL- 0 DFD:
13
LEVEL-1.1 DFD:
User Reg
:
User Registration
process
Doctor
LEVEL-1.2 DFD:
14
Patient Choose Diseases
Diseases
Add Readings
Readings
Add Diseases
Diseases
Treatment
Choose Doctor
Patient
15
LEVEL-1.3 DFD:
Add new
Doctor
diseases Diseases
Treatment
Treatment
16
5. SYSTEM TESTING
System testing is normally carried out in a planned manner according to the system test plan
document. The system test plan identifies all testing-related activities that must be performed,
specifies the schedule of testing, and allocates resources. It also lists all the test cases and the
expected outputs for each test case. Here the modules are integrated in a planned manner.
17
errors caused by omission, and all visible code must also be readable.
TEST CASES
A test case in software engineering is a set of conditions or variables
under which a tester will determine whether an application or software system is working
correctly or not.
18
The software is being divided into different components and unit testing is performed on each
of these modules. This section is repeated for all components.
19
6. DATABASE SCHEMA
The goal of database design is to ensure that the data is represented in such a way that there is
no redundancy and no extraneous data is generated, thus generate relationship in as high an
order as possible. Having identified all the data on the system it is necessary to at the logical
database design. Database design involves designing the conceptual model of the database.
This model is independent of the physical representation of the data. Once the conceptual
model is designed, it can be mapped to the DBMS/RDBMS that is actually being used.
20
2. TABLE: PATIENT
User_Id Int
Doc_Id Int
Dis_Id Int
3. TABLE:TREATMENT
21
4. TABLE: DOCTOR
User_Id Int
Specialized_In Varchar(20)
5. TABLE: READINGS
6. TABLE:DISEASES
22
7. CONCLUSION
The software is designed in such a way that future modifications can be done easily. The
following conclusions can be deduced from the development of the project:-
Automation of the tire system improves the efficiency.
It provides a friendly graphical user interface.
This application will avoid the manual work.
It records all readings related to health and later verify it, these data can be processed for
productivity. These data is used for calculating an expected result in future by analyzing
current status using normal distribution equations and interpolation formulas. The software
also reminds the future test dates and it can produce a warning if the readings are growing
worse.
23
LIST OF FIGURES
24
25
26
27
28
29
ABBREVIATIONS
30
APPENDIX – A
SYSTEM SECURITY:
Password Modification:
SpasswordChangeAction.jsp
<%
{
String uname=request.getParameter("una");
String pass=request.getParameter("upass");
if(cb.updatePass(uname,pass))
{
response.sendRedirect("SPassword.jsp?v=1");
Else
{
response.sendRedirect("SPassword.jsp?v=2");
}
%>
31
APPENDIX – B
CONNECTION ESTABLISHMENT
public ConnectiondbConnection()
{
try
{
Class.forName("com.mysql.jc.Driver);
conn = DriverManager.getConnection
("jdbc:mysql://localhost:3306/dbcuess22", "root","mysql");
catch (SQLExptione)
{
e.printStackTrace();
catch (ClassNotFoundException e)
{
e.printStackTrace();
return conn;
32
REFERENCES
1. The J2ee 1.4 Tutorial “Sun Java System Applications Platform Edition” By Eric
Armstrong & Ian Evans.
2. The Complete Reference Java “Tata McGraw Hill Publication “By Herbert
Schildt.
3. My sql Enterprise Solutions “Wiley Publication” B
Alexander Sasha Pachev.
4. My sql And Java Developer’s Guide “Wiley Publications By
Mark Matthews & Jim Cole.
33