Mini Project Report: Body Meter
Mini Project Report: Body Meter
Mini Project Report: Body Meter
BODY METER
Submitted by
AKHILA HARIDAS
ASWATHY A G
SABITHA SUBAIR
B. TECH DEGREE
in
SCHOOL OF ENGINEERING
MARCH 2014
CERTIFICATE
Body Meter
Done by
Akhila Haridas
Aswathy A G
Sabitha Subair
of VI semester Computer Science & Engineering in the year 2014 in partial fulfillment
of the requirements for the award of Degree of Bachelor of Technology in Computer
Science & Engineering of Cochin University of Science & Technology.
ACKNOWLEDGEMENT
encouragement throughout the course at crucial junctures and for showing us the
right way.
Dr. Pramod Pavithran for allowing us to use the facilities available. We would like
to thank other faculty members also .Last but not the least,
We would like to thank our friends and family for the support and
AKHILA HARIDAS
ASWATHY A G
SABITHA SUBAIR
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
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.
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.
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.
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.
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 %>.
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.
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.
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.
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.
3. SYSTEM DESIGN
Below given dfd’s can be used to describe the overall user interface:
LEVEL- 0 DFD:
LEVEL-1.1 DFD:
User Reg
:
User Registration
process
Doctor
LEVEL-1.2 DFD:
Add Readings
Readings
Add Diseases
Diseases
Treatment
Choose Doctor
Patient
LEVEL-1.3 DFD:
Add new
Doctor
diseases Diseases
Treatment
Treatment
5. SYSTEM TESTING
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.
the test team has access to the system source code. The system is tested as
components are integrated.
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.
2. TABLE: PATIENT
User_Id Int
Doc_Id Int
Dis_Id Int
3. TABLE:TREATMENT
4. TABLE: DOCTOR
User_Id Int
Specialized_In Varchar(20)
5. TABLE: READINGS
6. TABLE:DISEASES
7. CONCLUSION
LIST OF FIGURES
ABBREVIATIONS
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");
}
%>
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;
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.