SimDB Implementation & Browser IVOA InterOp 2008 Meeting, Theory Session 1. Baltimore, 26/10/2008 Laurent Bourgès Laurent Bourgès This work makes use of EURO-VO software, tools or services. The EURO-VO has been funded by the European Commission through contract numbers RI031675 (DCA) and 011892 (VO-TECH) under the 6th Framework Programme. QuickTime™ et un décompresseur TIFF (non compressé sont requis pour visionner cette i QuickTime™ décompresseur sont requis pou
14
Embed
SimDB Implementation & Browser IVOA InterOp 2008 Meeting, Theory Session 1. Baltimore, 26/10/2008 Laurent Bourgès This work makes use of EURO-VO software,
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
This work makes use of EURO-VO software, tools or services. The EURO-VO has been funded by the European Commission through contract numbers RI031675 (DCA) and 011892 (VO-
TECH) under the 6th Framework Programme.
QuickTime™ et undécompresseur TIFF (non compressé)
sont requis pour visionner cette image.
QuickTime™ et undécompresseur TIFF (non compressé)sont requis pour visionner cette image.
Objectives
The SimDB is a discovery interface for theoretical codes & simulations and SimDAP allows web services on simulation data (download, cut out, post processing…)
Our Approach applies the ‘model driven architecture’ : The UML model (SimDB) is the source to generate documents & codes :
- database model- model documentation- xml schemas (xsd)- TAP meta data- java code- web application : SimDB-Browser
SimDB pipeline
UML model(XMI)
intermediate model
DB scripts(DDL)
Doc(HTML)
Schemas(XSD)
Java code
Browser(web)
Constraint : the UML model must be ‘valid’ (unique names, descriptions & cardinalities set)
SimDB database
Supported databases : Postgres 8 & SQL Server 2005
Mapping Rules for DDL scripts :- Each UML class corresponds to :
- a database table- a view that gathers inherited data like for example :
Resource <- Experiment- Inheritance adds a discriminator column (DTYPE)
- The database schema & user creation are out of scope
Note : Custom views & indexes could be added manually
SimDB Java CodeCommon code :- XML marshalling / unmarshalling- ORM (JPA) to handle database operations- Intermediate model loaded in memory to inspect