Presentation is loading. Please wait.

Presentation is loading. Please wait.

Caching the MDSPlus Data via Hibernate By Ajith M Jose Comp6703 Project Client: Raju Karia Supervisor: Dr. Henry Gardner (Development of “WebScope”)

Similar presentations


Presentation on theme: "Caching the MDSPlus Data via Hibernate By Ajith M Jose Comp6703 Project Client: Raju Karia Supervisor: Dr. Henry Gardner (Development of “WebScope”)"— Presentation transcript:

1 Caching the MDSPlus Data via Hibernate By Ajith M Jose Comp6703 Project Client: Raju Karia Supervisor: Dr. Henry Gardner (Development of “WebScope”)

2 Outline Introduction What is “Hibernate” ? What is “MDSPlus” ? Working of “WebScope” Demonstration Software Requirements Client Requirements Major Issues Faced Project Planning Conclusion Questions

3 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

4 Hibernate powerful, ultra-high performance object/relational persistence and query service for Java uses HDLCA (Hibernate Dual- Layer 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

5 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

6 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

7 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.

8 Development of “WebScope” WebScope (EScope over web)

9 Software Requirements Jakarta Tom Cat 5.0 Hibernate3.0 JDK1.5 HSQLDB Java Applet enabled Web Browser

10 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

11 Demonstration

12 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

13 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

14 Planned Mile Stones

15 Achieved Mile Stones

16 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

17 Hibernate Mapping file MESSAGE_IDMESSAGE_TEXT MESSAGES TABLE

18 Java Code To store value to the table MESSAGES After the Storage of Data MESSAGES TABLE MESSAGE_IDMESSAGE_TEXT 1Ajith M Jose

19 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).

20 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.

21 Questions ?


Download ppt "Caching the MDSPlus Data via Hibernate By Ajith M Jose Comp6703 Project Client: Raju Karia Supervisor: Dr. Henry Gardner (Development of “WebScope”)"

Similar presentations


Ads by Google