Experiments with Remote Access to Scientific Data using HDF5 Kun Yan Robert E. McGrath NCSA May 15, 2002.

Slides:



Advertisements
Similar presentations
Apache Struts Technology
Advertisements

Servlets Enterprise Systems Programming. Servlets  Servlets: server-side Java programs that enable dynamic processing of web-based requests  Web-based.
 Copyright Wipro Technologies JSP Ver 1.0 Page 1 Talent Transformation Java Server Pages.
Using JavaServer Pages Harry R. Erwin, PhD CIT304/CSE301.
JSP: JavaServer Pages Juan Cruz Kevin Hessels Ian Moon.
Sapana Mehta (CS-6V81) Overview Of J2EE & JBoss Sapana Mehta.
Fundamentals, Design, and Implementation, 9/e Chapter 14 JDBC, Java Server Pages, and MySQL.
WEB1P servintro1 Introduction to servlets and JSP Dr Jim Briggs.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
Layers & Tiers Umair Javed Lec - 41.
J2EE Java 2 Enterprise Edition. Relevant Topics in The Java Tutorial Topic Web Page JDBC orial/jdbc
M.Sc. Course, Dept. of Informatics and Telecommunications, University of Athens S.Hadjiefthymiades “Web Application Servers” Basics on WAS WAS are necessary.
JavaServer Pages TM Introduce by
Java web development Servlet & Java server pages.
Introduction to Java web programming Dr Jim Briggs JWP intro1.
Quick Tour of the Web Technologies: The BIG picture LECTURE A bird’s eye view of the different web technologies that we shall explore and study.
Intro to Servlets Lec 26. Web-Based Enterprise Applications in Java Figure shows a simplified view of one application and its layers.
HDF 1 NCSA HDF XML Activities Robert E. McGrath Mike Folk National Center for Supercomputing Applications.
Eclipse is an open source IDE (Integrated Development Environment) for developing applications in Java, C/C++, HTML, Cobol, Perl, etc. The official Eclipse.
Java Pet Store Application. Outline Introduction Introduction Information Layer Information Layer Application Layer Application Layer Infrastructure Layer.
Struts 2.0 an Overview ( )
Introduction Servlets and JSP Celsina Bignoli
Java Server Pages (JSP) Presented by: Ananth Prasad & Alex Ivanov May 10, 2001.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Applets & Servlets.
EJB Overview Celsina Bignoli Distributed Business Applications Server DB Client DB Server DB.
CIS 285 ROBINSON WINTER 2005 CIS 285 Web Application Development with Java CIS 285 Sinclair Community College Instructor: Mary Robinson.
DICOM / HL7 Verfication / Java Basis Random user with no account justs wants to validate an HL7 message or DICOM object The next diagram shows a number.
Modern Software Technologies Java™, J2EE™, JSP™, JDBC™ by Radoslav Tr. Ivanov
HDF Windows Support MuQun Yang, Xuan Bai, Elena Pourmal, Barbara Jones, Pedro Vincent, Robert E. McGrath National Center for Supercomputing Applications.
Location Based Information Service using CORBA CS597 Direct Reading Madhu Narayanan & Rahul Vaghela Advisor: Dr. Yugi Lee.
CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES LECTURE 5_1 George Koutsogiannakis/ Summer
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
Important ESDIS 2009 tasks review Kent Yang, Mike Folk The HDF Group April 1st, /1/20151Annual briefing to ESDIS.
Case study concerning architecture development Emil Doychev, Georgi Cholakov, University of.
|Tecnologie Web L-A Anno Accademico Laboratorio di Tecnologie Web Introduzione ad Eclipse e Tomcat
By Mircea Jivoin. Objectives Achieving the warehouse management over the internet using the SOAP Web Services Achieving the warehouse management over.
第十四章 J2EE 入门 Introduction What is J2EE ?
J2EE Structure & Definitions Catie Welsh CSE 432
Fall CIS 764 Database Systems Design L8. Web ….
HDF Converting between HDF4 and HDF5 MuQun Yang, Robert E. McGrath, Mike Folk National Center for Supercomputing Applications University of Illinois,
J2EE Overview Web Programming CSCI J2EE multi-tier architecture Servlet: Java class loaded into Web server JSP page: enhanced HTML page that is.
HDF Dimension Scales in HDF5 HDF-EOS Workshop IX San Francisco, CA November 30 - December 2, 2005 Pedro Vicente Nunes THG/NCSA Champaign-Urbana, IL HDF.
HDF5 OPeNDAP Project Update and Demo MuQun Yang and Hyo-Kyung Lee (The HDF Group) James Gallagher (OPeNDAP, Inc.) 1HDF and HDF-EOS Workshop XII10/17/2008.
- 1 - HDF5, HDF-EOS and Geospatial Data Archives HDF and HDF-EOS Workshop VII September 24, 2003.
HDF Windows Support MuQun Yang, Xuan Bai, Elena Pourmal, Barbara Jones, Pedro Vincent, Robert E. McGrath National Center for Supercomputing Applications.
An Introduction to JavaServer™ Pages Prepared by Nicole Swan.
HDF5 OPeNDAP Project Update and Demo MuQun Yang and Hyo-Kyung Lee (The HDF Group) James Gallagher (OPeNDAP, Inc.) 1 HDF and HDF-EOS Workshop XII10/17/2008.
Page 1 R MVC Design Pattern Definition Properties Describing MVC design patterns.
HDF and HDF-EOS Workshop VII September 24, 2003 HDF5, HDF-EOS and Geospatial Data Archives Don Keefer Illinois State Geological Survey Mike Folk Univ.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Core basic Java web server technologies. Tools Eclipse IDE for Java EE Developers (Netbeans also works) nloads/packages/eclipse-
STRUCTURE OF JSP PRESENTED BY: SIDDHARTHA SINGH ( ) SOMYA SHRIVASTAV ( ) SONAM JINDAL ( )
11/8/2007HDF and HDF-EOS Workshop XI, Landover, MD1 Software to access HDF5 Datasets via OPeNDAP MuQun Yang, Hyo-Kyung Lee The HDF Group.
October 15-17, 2008HDF and HDF-EOS Workshop XII1 HDF-Java Products Peter Cao The HDF Group HDF and HDF-EOS Workshop XII October 15, 2008.
CSI 3125, Preliminaries, page 1 JSP (Java Server Pages)
 Java Server Pages (JSP) By Offir Golan. What is JSP?  A technology that allows for the creation of dynamically generated web pages based on HTML, XML,
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
Distributed Data Servers and Web Interface in the Climate Data Portal Willa H. Zhu Joint Institute for the Study of Ocean and Atmosphere University of.
Bayu Priyambadha, S.Kom. Static content  Web Server delivers contents of a file (html) 1. Browser sends request to Web Server 3. Web Server sends HTML.
10 Copyright © 2004, Oracle. All rights reserved. Building ADF View Components.
HDF and HDF-EOS Workshop XII
JSP (Java Server Page) JSP is server side technology which is used to create dynamic web pages just like Servlet technology. This is mainly used for implementing.
Integrating Web Applications with Novell eDirectory™
Unit 6-Chapter 2 Struts.
MSIS 655 Advanced Business Applications Programming
Access HDF5 Datasets via OPeNDAP’s Data Access Protocol (DAP)
Java Server Pages (JSP)
This material is based upon work supported by the National Science Foundation under Grant #XXXXXX. Any opinions, findings, and conclusions or recommendations.
SDMX IT Tools SDMX Registry
Presentation transcript:

Experiments with Remote Access to Scientific Data using HDF5 Kun Yan Robert E. McGrath NCSA May 15, 2002

Today’s Talk 1.Background 2.Experiments with JSP, XML, HDF4, HDF5, etc. 3.Experiments with CORBA, Java, HDF5 4.Discussion

Acknowledgements Kun Yan conducted these experiments as a Research Assistant at NCSA. This report is based upon work supported in part by a Cooperative Agreement with NASA under NASA grants NAG and NCC Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Aeronautics and Space Administration. Other support provided by NCSA and other sponsors and agencies.

Java Native Interface HDF Library and File H5view, etc C Java C Applet Java CORBA Server Other App. Other App. C++ Any Client/RemoteServer/Local Java Server Platform Web browser HTML XML Java Any Java Native Interface Java C Distributed Product Demonstrated in Research Should work, but not demonstrated

2. Experiments with JSP Experiments with JSP, XML, XSL, etc. –Web access to Data and services. –Demonstration of browsing HDF5 datasets Generate HTML or XML Convert data from HDF4 to HDF5 on demand

Tomcat is a standalone web server that supports the Servlet and JSP specifications. developed under the Jakarta project at the Apache Software Foundation. integrated into the J2EE Reference Implementation. Tomcat 4.x (Catalina, Servlet 2.3, JSP 1.2) Tomcat 3.3

JavaServer Pages JavaServer Pages TM (JSP TM ) technology rapidly develop and easily maintain, dynamic web pages uses XML-like tags and Java scriptlets application logic can reside in server- based resources

The Flow of a Request

beans request response client JSP DB data lib XSL XML beans Xalan.jar Xerces.jar HTML response How JSP and Beans Work together Application

3. Experiments with CORBA Created a demonstration CORBA server that reads HDF5 –Written in C++, linked directly to HDF5 library. Created a pure-java client –No CORBA required on the client –Can be used from an applet within a standard Web browser

Technology used Orbacus (C++) (free, full source) Java 1.3 or above HDF , HDF5 C++ interface

HDF5 CORBA Experiment -- Design Diagram CORBA Object Hierarchy

HDF5 CORBA Experiment – IDL File 1.module HDF5{ 2. struct ObjInfo{ 3. long oid; 4. long fid; 5. long type; 6. string name; 7. long numOfMembers; 8. }; typedef sequence Sizes; 11. struct DatasetInfo{ 12. string name; 13. long numOfDim; 14. Sizes dimSizes; 15. Sizes dimMaxSizes; 16. long dataTypeClass; 17. long dataTypeSize; 18. long long storageSize; 19. }; struct DatatypeInfo{ 22. string name; 23. long type; 24. long size; 25. }; 26. interface H5Obj{ 27. void getObjInfo(out ObjInfo obji); 28. void getNumAttributes(out long attrNum); 29. void openAttributes (out long attr); 30. }; interface H5DatasetObj:H5Obj{ 33. void getDatasetInfo(out DatasetInfo dsinfo); 34. long long getStorageSize(); 35. }; interface H5GroupObj:H5Obj{ 38. ObjInfo getGMember(in long fid, in string gName, in long index); 39. void openGroup(in string gName, out H5GroupObj h5gobj); 40. void getDatasetInfo(in string dsName, out DatasetInfo dsinfo); 41. void openDataset(in string dsName, out H5DatasetObj h5ds); 42. void getDataTypeInfo(in string ttName, out DatatypeInfo dtinfo); 43. }; interface H5FileObj{ 46. void getTOC(out ObjInfo obji); 47. void openRootGroup(out H5GroupObj h5gobj); 48. }; interface H5FileAccess{ 51. void openH5File(in string fileName, out H5FileObj h5fobj); 52. void numOfGMembers(in long fileId, in string gName, out long gNum); 53. string closeH5File(in long fileId); 54. }; };

HDF5 CORBA Experiment -- Design Diagram C++ Servant Object Hierarchy H5FileAccessH5FileObj H5Obj H5GroupObj H5DatasetObj H5FileAccess_impl H5::H5File poa_ openFile: closeFile: H5FileObj_impl H5::H5File ObjInfo poa_ getTOC openRootGroup setFileName: H5GroupObj_impl H5::H5Group poa_ openGroup getGMembers openDataset: getDatasetInfo: getDatatypeInfo: H5Obj_impl ObjInfo poa_ getObjInfo setObjName: H5DatasetObj_impl H5::H5Daraset DatasetInfo getDatasetInfo getStorageSize

HDF5 CORBA Experiment -- How to Use the Client Applet Select file name from drop-down list (file resides corba server side) Select Flags and Access Property of the selected file Click on “open file” to open the file Click on “get file TOC” to get the file object info Click on “open root” to open the root group Click on “get group TOC” to get the root group object info Click on “iterate group” to get the group member’s info of the root and each subgroup Input dataset name including path, then click on “get dataset” to get the dataset object –Click on “get dataset TOC” to get the dataset object info –Click on “get storage size” to get the storage size of the opened dataset object Input dataset name including path, then click on “get dataset info” to get object info of the given dataset Input datatype name including path, then click on “get datatype info” to get object info of the given datatype

URLs JSP experiments:

4. Discussion

Java Native Interface HDF Library and File H5view, etc C Java C Applet Java CORBA Server Other App. Other App. C++ Any Client/RemoteServer/Local Java Server Platform Web browser HTML XML Java Any Java Native Interface Java C Distributed Product Demonstrated in Research Should work, but not demonstrated

HDF5 CORBA Experiment -- User Interface

HDF5 CORBA Experiment -- Examples of Object Info window

Other HDF Tools

Viewer/ Editor Generator Source code ASCII HDF5 file XML HDF5 file Java HDF4 h4toh5 HDF4

Dumper HDF DDL HDF5 file XML Non-Java (C) h4toh5 HDF4 file HDF5 h5toh4 HDF5 file HDF4 gif2hdf GIF file HDF5 fp2hdf flat file HDF5 H4 to H5 LIbrary

Silly XMLTricks Netcdf to HDF5, via XML using XSL netcdf ncxdump nc.xml netcdf.dtd h5.xml xalan nctoh5.xsl h5gen hdf5

URLs JSP experiments: