0% found this document useful (0 votes)
54 views

JAVA MySQL Based Asset Management System

jkjfgj

Uploaded by

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

JAVA MySQL Based Asset Management System

jkjfgj

Uploaded by

Sharuk Mohammad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

International Journal of Scientific & Engineering Research, Volume 3, Issue 10, October-2012 1

ISSN 2229-5518

JAVA-MySQL based Asset Management


System
Rishabh Gulati

Abstract— Dealing with enormous amount of information has become an integral part of complex systems across all
sectors.This concept of efficient management of data when extended to the personal level can go a very long way in saving an
individual’s time. In the current era, an individual owns a variety of assets ranging from monetary assets like Fixed Deposits,
Bank Accounts to Immovable Assets like Land, Houses, etc. This paper delineates the concept of Asset Management using a
JAVA-MySQL based system and also describes the various operations this system incorporates for managing the different
assets efficiently.

Index Terms— Asset Management, Data Flow, Data Management, Java, JavaServer Page, JDBC Driver, MySQL

——————————  ——————————

1 INTRODUCTION

T he Asset Management System deals with the basic


problem of managing enormous data. It caters to the
organization of data in a well structured form facili-
tem. In this asset management system, MySQL is used for
organizing the user information. The MySQL Workbench
is used for creating and executing SQL queries. It also
tating its maintainance and expansion. helps in designing and managing the database more effi-
It makes use of the JAVA programming language to ciently.
process the data and MySQL database management sys- It provides a console to gain better visibility into a
tem for storing the data. This system uses a web-browser database. Any further expansion or manipulation to the
for user interaction and provides the user the facility to existing data structure can be achieved expeditiously us-
add, modify and view asset information. ing MYSQL workbench.
The JavaServer Pages are used for collecting, modifying
and displaying information to the user. The system also 2.1.4 Web Browser
incorporates user authentication leading to better data A web browser is a software application for retrieving
security. and presenting information on the World Wide Web. This
system is hosted using the Apache Tomcat web server
and can be accessed via a web browser by entering the
2 SYSTEM REQUIREMENTS URL of the hosted JavaServer Page. All the user-system
2.1 Software interactions are done through the web browser.
2.1.1 Eclipse IDE (Juno)
Eclipse is an open source Integrated Development En- 3 DATA FLOW AND MANAGEMENT
vironment (IDE) used extensively for web-application
When the user accesses the system using a web brows-
development. It has various versions like Callisto, Euro-
er, he is presented with a login page. The user infor-
pa, Ganymede, Galileo, Helios, Indigo and Juno. This sys-
mation is maintained in the MySQL database. On enter-
tem uses Eclipse for processing the information received
ing the credentials, username and password, the user is
via JavaServer Pages. It is also used for interacting with
authenticated with the values present in the MySQL da-
the database, in this case MySQL, for storing, modifying
tabase. After successful authentication, the user gets ac-
and retrieving information.
cess to his personal asset management system. There are
2.1.2 Apache Tomcat (7.0.29) various operations which the user is presented with,
Apache Tomcat is an open source web server and namely,
servlet container. Tomcat implements the Java Servlet and
the JavaServer Pages (JSP) specifications from Oracle 1) Adding an asset.
Corporation, and provides a pure Java HTTP web serv- 2) Modifying an existing asset entry.
er environment for Java code to run. This would be used 3) Viewing asset information.
to host the JavaServer Pages required for user interaction.
The data flow and management with regards to the
2.1.3 MySQL above three operations is detailed in succeeding sub-
MySQL is an open source database management sys- sections.
IJSER © 2012
http://www.ijser.org
International Journal of Scientific & Engineering Research, Volume 3, Issue 10, October-2012 2
ISSN 2229-5518

3.1 Adding an asset JavaServer Page


By selecting this option, the user is presented with a list
of asset types. This list contains all the major asset types Drop-Down Menu to select type of asset
that can be possessed by an individual. A few of the asset
types presented to the user are listed below –
On selection of an asset – Present an input
1) Immovable asset (Property)
Form to the user corresponding to the type
2) Cash At Bank (Savings) of asset selected
3) Fixed Deposits
4) Mutual Funds
Form for accepting user inputs like Asset
5) Insurance Policies Name, Asset value, Asset Purchase Date,
6) Appliances Asset Physical file reference
7) Provident Fund
8) Miscellaneous Form Submitted by the user

All the asset types provide certain input options to the


user corresponding to that asset. On selection of an asset,
a corresponding form with several input fields like Asset No Client Side Input
Field Validations
Name, Asset Value, Asset Purchase date, Asset Physical Appropriate Error
Successful
Message shown to
file reference are presented to the user. the user

Upon form submission, several client side validations


are addressed for each input field for having consistency Yes
in data processing and storage. The user is intimated with
appropriate error messages in case if a validation fails.
After successful client-side validation the data received
by the Java Beans, which are bound to the corresponding Server Side Input No
form input fields, is validated. In case the server-side val- Field Validations
Appropriate Error
Successful
idation is not successful, an appropriate message is dis- Message shown to
the user
played back to the user giving information about the
cause of the error. Yes
After successful server-side validation, the connection
with MySQL database is established using MySQL JDBC Data
Extracted to
(Java Database Connectivity) driver. For setting up this be stored in
connection, there are three essential parameters required, the Database

namely, the MySQL-JDBC URL, the database Username


and the database Password. Using these three parameters
a connection is established with the MySQL database. If Connection
No
the connection fails to establish, an appropriate error Establishing Process
Appropriate Error to MySQL Database
message is displayed to the user. Message shown to successful Appropriate Success
Once the connection is established, the existing data the user Message displayed
to the user
structure information of the user is extracted. The data
structure information maps the users with their associat- Yes
ed data tables. This information portrays the existing ta- Data Stored in the
bles for different types of assets for a particular user. If a database

table already exists for a particular asset for a particular


MySQL Database
user, the information is added to the table. In case it is the
first entry of a particular asset type a new table is created
Figure1: adding an asset – Data Flow
and the asset information is updated. This table infor-
mation is then appended to the user’s data structure in-
formation for future use. After successful addition of the
3.2 Modifying an existing asset
asset, the user is intimated about the same. Modifying an existing asset entry gives a user the flex-
ibility to update his asset information. When the user se-
lects this option, he is provided with a list of asset types
in which there are existing entries. This list is extracted
from the users existing data structure information, by
IJSER © 2012
http://www.ijser.org
International Journal of Scientific & Engineering Research, Volume 3, Issue 10, October-2012 3
ISSN 2229-5518

establishing a connection with MySQL database. Due to This list is


formulated based
this, the user is presented with a drop-down menu with on the user’s JavaServer Page
only those asset types which have a minimum of one as- existing assets.
Only those asset
set entry. types are Drop-Down Menu to select type of asset
indicated which
On choosing a particular asset type, all the entries for have atleast one
that asset are staged to the user in the form of a list. The existing entry

user can then select an entry from the list for updation.
On selection of an asset – Present all
Upon selection of a particular entry, the input fields in entries of the selected asset type
form for updation are embedded with the previous val-
ues which allow the user to update/modify only the de-
sired field(s). When the user submits this form, it under- On selection of an entry – Present an input
goes the same cycle of events which take place while add- Form to the user with previous values of
ing an asset. the entry embedded in the input fields
In case the user wants to delete an existing entry, he
can do so by selecting a particular entry and using the
Form Submitted by the user
delete entry option. The user is prompted before the dele-
tion transaction is initiated. Once the user’s consent is
acknowledged by the system, a connection with MYSQL
database is established and the particular entry is re- No Client Side Input
moved. After successful deletion of an entry the user is Appropriate Error
Field Validations
Successful
notified about same. The JavaServer Page is refreshed Message shown to
the user
with an updated asset list.

3.3 Viewing Asset Information Yes

This feature provides the facility of viewing asset in-


formation for all or selected asset types. When the user
selects this option, the user is presented with a list of asset Server Side Input
Field Validations
No
Yes
types, extracted by using his data structure information. Successful Appropriate Error
Message shown to
The user is provided with check-boxes alongside this list the user

of asset types. Also, an option of Select All asset types is


Yes
provided to the user in case there is more than one asset
type available for viewing.
Data
Upon submission of this form, validation with regards Extracted to
to the checkbox selection is performed. If the user submits be stored in
the Database
the form without selecting any checkbox, he is intimated
with regards to the same. In case one or more than one
checkbox selection is made by the user, this information is
Connection
processed to extract detailed information for the different No Establishing Process
entries of the selected asset types. Appropriate Error
Message shown to
to MySQL Database
successful Appropriate Success
The connection to MySQL Database is established and the user Message displayed
to the user
the database is queried for detailed information of the
selected asset types. The information with regards to the Yes
various entries in a particular asset type is collected in a Data Stored in the
list. The number of lists created equal the number of asset database

types selected by the user. These lists are then fed back to
the JavaServer Page for viewing. MySQL Database

Figure2: modifying an asset – Data Flow

IJSER © 2012
http://www.ijser.org
International Journal of Scientific & Engineering Research, Volume 3, Issue 10, October-2012 4
ISSN 2229-5518

JavaServer Page The number of possible operations on the data can be


This list is
formulated based increased. Features like sorting asset entries based on
on the user’s List of asset types along with check boxes
existing assets. their value, last modified date, etc can be incorporated.
for selection
Only those asset
types are
Computational features such as calculating the current
indicated which value of assets, calculating the increase or decrease in the
have atleast one
existing entry value of an asset can also be integrated with the existing
Form Submitted by the user
system.
A feature to create soft-copy in different file formats
Client Side like .xls, .pdf, .doc, etc of different assets possessed by a
Validation
No. Of checkboxes
No
user can also be unified in the system. This feature would
Appropriate Error
selected >=1 Message shown to help the user to instantly process an electronic copy of the
the user
list of assets currently maintained in the system.

Yes
lists based on asset type are presented to the user.
Data is queried from the database. Consolidated

Asset types required


to be fetched from
the database are
identified

Yes
Connection
Establishing Process No
to MySQL Database Appropriate Error
successful Message shown to
the user

MySQL Database
Yes

Figure3: viewing asset information – Data Flow

4 CONCLUSION
The asset management system is designed for efficient
management of several assets possessed by an individual.
It allows the user to add information about different as-
sets in a quicker and systematic way. The data is organ-
ised efficiently to aid future expansion of the system.
The user is facilitated with the feature of updating the
existing information of an asset entry. This feature is es-
Figure4: view asset information – JavaServer Page View
pecially helpful while maintaining assets like Bank Ac-
counts and Mutual funds, since their values are constant-
ly changing.
As observed in figure4, the asset management system REFERENCES
provides the facility to view the different asset entries [1] Baron Schwartz, Peter Zaitsev, Vadim Tkachenko, Jeremy
pertaining to different asset types. This feature helps to Zawodny, Arjen Lentz and Derek J. Balling, High Performance
keep a track of all assets in a much quicker and efficient MySQL
way as compared to the traditional method of poring over [2] Mark Matthews, Jim Cole, Joseph D. Gradecki, MySQL and Java
innumerable files.
Developer's Guide
[3] Budi Kurniawan, Java for the Web with Servlets, JSP, and EJB: A
5 FUTURE SCOPE Developer's Guide to J2EE Solutions
Since, the system is organized in a very structured [4] Deepak Alur, John Crupi, Dan Malks, Core J2EE Patterns: Best
manner using MySQL database, it is possible to expand Practices and Design Strategies (Second Edition)
the system to encompass even more information. More [5] http://tomcat.apache.org/tomcat-7.0-doc/index.html
number of attributes regarding an asset can be stored, [6] http://dev.mysql.com/doc/workbench/en/index.html
modified and viewed depending upon the requirement.

IJSER © 2012
http://www.ijser.org

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