Download Presentation

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Expense and cost recovery system (ECRS) wikipedia , lookup

Data analysis wikipedia , lookup

Information privacy law wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Semantic Web wikipedia , lookup

3D optical data storage wikipedia , lookup

Data vault modeling wikipedia , lookup

Clusterpoint wikipedia , lookup

Versant Object Database wikipedia , lookup

Relational model wikipedia , lookup

Open data in the United Kingdom wikipedia , lookup

Web analytics wikipedia , lookup

Business intelligence wikipedia , lookup

Database model wikipedia , lookup

Transcript
Caching the MDSPlus Data via
Hibernate
(Development of “WebScope”)
By
Ajith M Jose
Comp6703 Project
Client: Raju Karia Supervisor: Dr.Henry Gardner
Outline
•
•
•
•
•
•
•
•
•
•
•
Introduction
What is “Hibernate” ?
What is “MDSPlus” ?
Working of “WebScope”
Demonstration
Software Requirements
Client Requirements
Major Issues Faced
Project Planning
Conclusion
Questions
Introduction
• my project
• retrieve datasets from MDSPlus server
using a web GUI
• cache data using Java object/relational
mapping solution Hibernate
• based on the work done by Shi Hu
Hibernate
• powerful, ultra-high performance
object/relational persistence and
query service for Java
• uses HDLCA (Hibernate DualLayer Cache Architecture)
• two levels of cache
• Session level- serves one client or
session at one time
• JVM level- works on a global basis
(for different sessions using same
instance of JVM)
• Can use Hibernate query language
(HQL) or native SQL
MDSPlus
-millions of datasets are generated during
fusion experiments
-data storage and management system
-developed for fusion researchers
-researchers from different parts of the world
connect to the MDSPlus using client side
applications like “EScope” and “JScope”
-they connect to the MDSPlus server and
retrieve the required datasets
Current way of retrieving data
from MDSPlus
Issues with the current way of retrieving data from MDSPlus
• no caching of data
• researchers need to wait for the same amount of time even when
accessing the previously accessed datasets
• longer period to retrieve data
• researchers need to install EScope software into their machine
Solution to the issues with
retrieving data from MDSPlus
WebScope
-uses java object/relational mapping solution Hibernate to cache
datasets from the MDSPlus so that the researchers can get the
datasets quickly
-works from a web server and retrieve the MDSPlus datasets ,so that
the researchers need not install any specific software to run it.
Development of “WebScope”
• WebScope (EScope over web)
Software Requirements
•
•
•
•
•
Jakarta Tom Cat 5.0
Hibernate3.0
JDK1.5
HSQLDB
Java Applet enabled Web Browser
Client Requirements
• Use the “Hibernate” package to make the data
access from the MDSPlus server faster
• Allow researchers to retrieve and view the required
dataset from the MDSPlus server using a web
browser
• Obtain information about researchers who use the
data from the MDSPlus.
• Track the actions of the Researchers
• Allow researchers to contribute meta data based on
the retrieved dataset
• Allow them to view all the user contributed
metadata
• Software should work on all the platforms
Demonstration
Major Issues Faced
• Linux specific issues
- due to specific nature of project, used the
Linux machine provided by department.
- my Linux skills were very basic
- had real nightmare in configuring required
software packages
- thanks to Raju, Henry and Hugh
• Learning Curve
- Hibernate
- Tom Cat
- Java Servlets
Project Scheduling
• Weekly meeting with my client and supervisor
• Had to change the initial time table since I took
extra 2 weeks for the software installation and
configuration.
• Scheduled the work for every week based on the
client/supervisor’s feedback
• Maintained a work book
Planned Mile Stones
Achieved Mile Stones
Hibernate-Implementation
• Uses persistent classes that are mapped to database
tables –Example: Message.java
• Fields id and text will be converted to corresponding
database table fields
Hibernate Mapping file
MESSAGES TABLE
MESSAGE_ID
MESSAGE_TEXT
Java Code
• To store value to the table MESSAGES
After the Storage of Data
MESSAGES TABLE
MESSAGE_ID
MESSAGE_TEXT
1
Ajith M Jose
Future Work
• Implementation of a metadata index based
search mechanism
• Implementation of a more powerful database
(MySql)
• Implementation of an administration side which
gives special privileges to the administrator
• Implementation of an engine which allows the
users to create metadata tables dynamically.
• Implementation of a new mechanism to plot the
graphs (removing applets).
Conclusion
• Hibernate package is a very powerful tool
to perform caching operations.
• It makes the life of programmers easier
and the life of users faster.
• Through the successful implementation of
the “WebScope”, it is now possible for the
researchers to quickly access the
MDSPlus datasets through a web browser.
Questions ?