SlideShare uma empresa Scribd logo
1 de 53
Oracle XML DB
   Marco Gralike
     Principal Database Consultant
     DBA; Specialized Oracle XML DB
     AMIS Services BV, Holland

   Oracle experience since 1993

   Oracle ACE Director
   OakTable Member
Oracle XML DB
   Storage and handling of XML data
    • Optimized storage for structured, semi-structured and unstructured
       data
    • Build-in Standard Gateways to the outside world:
       ▪ WebDAV, HTTP, FTP, SOAP Webservices
       ▪ (Binary) XMLType support in Oracle Streams
       ▪ XMLType API’s for C / Java / .Net
   Reasons
    • Complies to almost all (W3C) XML standards
    • Build-in XML Aware Repository
    • Versioning Capabilities
    • Security build-in (ACL / On top off the known relational features)
   Relational data to XML conversion capabilties
    • XML can easily be exposed via Webservices etc.
    • Buildin Standard Gateways to the outside world:
       ▪   WebDAV, HTTP, FTP, Native Database Web Services
       ▪   (Binary) XMLType support in Oracle Streams
       ▪   XMLType API’s for C / Java / .Net
       ▪   UriTypes
   Reasons
    • Adaption of current systems to the XML / SOA world
    • International Format Standards of Sharing Data (XML Taxonomy)
   Database content shared via Native Database Web Services as part of a
    Service Orientated Architecture
    • Decoupled
    • Stateless, etc

   Reasons
    • Adaption of current systems
    • SOA “API” compliant  SOAP, WS*
    • Web browser compatible
   The historical data storage for end-of-life systems
    • Data Sources: relational, hierarchical, network, object orientated
      databases
    • Data Target: The Oracle XML Database
   Reasons
    • Data still needed
       ▪ * Fraud Investigation
       ▪ * Mash-ups
    • Ease of Sharing Data for example via Webservices
    • Dutch Law: Deletion of Historical Data allowed after 7 years
    • Intelligent ways to search (Unstructured) Data
   XBRL Extension capabilties
    • XML Business Reporting Language
    • Oracle Database Enterprise Edition 11.2.0.2 and onwards
    • Why build the functionality if it has already been done?
       ▪ No extra cost / a no cost option
       ▪ Extention can be downloaded via http://support.oracle.com
   Reasons
    • Following the official standards
    • Supported and further optimized
    • Quick start…
Oracle XML DB
Oracle Fusion Middleware                               Oracle Database

                                                 J2EE                 Integration               Wireless                  RAC
                    Oracle
                                                                                                                                               Oracle
                    Fusion
                                           Web Service                Web Cache                BI & Reports           Data Pump              Grid Control
                     Apps

                                                                                                                    Oracle XML DB
                                              Portal                      OID                     LDAP


                      XSQL      TransX                                                             C/C++ XML Utilities (oraxml10.lib)
                                                        Java XML Utilities (xml.jar)
Oracle JDeveloper




                             (XSU)          JSR170      XML Diff     JAXB       XML Pipeline                              XML Diff          Class Generator


                                     Java XML Processing (xmlparserv2.jar)                         C XML Processing (oraxml10.lib)
                       DO        SA
                                          JAXP       XPath      XQuery      XSLT       XSD           DOM      SAX      Pull      XPath       XSD      XSLT VM
                       M          X

                                                                   Oracle XML Broadband Network— Binary XML

       Multi-Platform, Multi-OS Runtime in Java C and C++

                      JDK 1.5             JDBC (classes12.jar)           NLS (orai18n*.jar)            NLS (oranls.lib)              CORE (oracore10.lib)
   Based on XML Standards:
    XPath , XSLT, XQuery ,
    XQuery Update (11.2.0.3) , XBRL (Extention)
   XML Handling
     Stores, Consumes, Generates, Validates
   XDB Repository
     HTTP(s), FTP & WebDAV
     XDB Repository Events, Versioning & Security
   No Cost Option, Core database feature
•   File Storage      Oracle XML DB
•   XML Database       A World within a World
    • C / Kernel       More then one Option
    • XML Enabled      Complies to Standards
    • Native & more    License Free
                       Core part of (OXJR)DBMS
    • An XML Parser
                       The (relational) foundation is
      does not have     there and can be used for
      a dictionary      solving XML “imperfections”
DBA
                                           WSDL




      PL/SQL

                                 ? SOAP                            SOA
                         DB WS


      SQL


      XQuery



Easy: a few steps, no other software installation and no coding
Secure: HTTP authentication and easily integrate with WS Security Products
High performance : C-based engine, natively build in to the Oracle DB
Create        Lock the     Make it
 Resource       Resource    Versioned




               Update the
Check it Out                Check It In
                Resource




               UnLock the
                Resource
# Create file / dbms_xdb.createResource
1.   dbms_xdb.lockResource
2.   dbms_xdb_version.makeVersioned
3.   dbms_xdb_version.checkOut
       # Update file content
4.   dbms_xdb_version.checkIn
5.   dbms_xdb.unlockResource
       # Done…
Oracle XML DB
   Ever executed DBMS_XDB…?

    dbms_xdb.SetHTTPPort(8080)
    dbms_xdb.SetFTPPort(2100)
Servlet ?


MIME Type?


Security ?

XML
Schema ?

XDB Event ?


Extention?
   XDB Repository File / Folder (aka Resources)
   Resource manipulation
     DBMS_XDB, DBMS_XDBRESOURCE
   Default XDB ACL Driven Security
   XDB Protocol Listener
   Respository Events
   Versioning
   XML Schema awareness
   Extending XML Schema functionality
   XDB$RESOURCE
     XDBResource.xsd
     XMLType Table (Schema based XML Table)
   Access to XDB Repository
     WebDAV, FTP, HTTP(s)
     SQL, PL/SQL, NDWS
     PATH_VIEW, RESOURCE_VIEW
   Select, Update, Delete
     UNDER_PATH, EQUALS_PATH
XML Schema      XML Schema
XML Document
                     in XML ?       Registered ?



Physical XMLType   Shred XML into      Update
 Associated ?         XMLType       XDB$Resource
Use Case
Database FileServer   2 The MAX

      Copy a FILE
    to the Database
Event
MIME                     Event
             Listener
Check                   Handler

         XML Protocol
        Server (Listener)
Extract
               Move
File Info

     Store in XDB
      Repository
Extract File    XDB File to
 Content          Server


    Batch File to XDB
    “Batch” Directory
Use Case
Jeffrey's EXIF Viewer
   Camera Make and Model
   Aperture, Shutter Speed, Focal Length
   ISO Speed, Date Taken, Description
   Geo-coding, Copyright Information

   EXIF XML Schema is pre-registered with XML
    DB by Oracle MultiMedia
   Type ordsys.ordimage extracts EXIF
    metadata document from a JPG image
Database FileServer   2 The MAX

    Copy a PICTURE
    to the Database
Event
MIME                     Event
             Listener
Check                   Handler

         XML Protocol
        Server (Listener)
Extract       Store in
 XML           Table

    Store in XDB
     Repository
EXIF           KML



  Display in GUI,
   Google Map
Servlet ?


MIME Type?


Security ?

XML
Schema ?

XDB Event ?


Extension?
Its about Time to wrap it Up
•   XML Database      Oracle XML DB
    • C / Kernel       A World within a World
    • XML Enabled      More then one Option
    • Native & more    Complies to Standards
    • An XML Parser
                       License Free
                       Core part of (OXJR)DBMS
      does not have
                       The (relational) foundation is
      a dictionary      there and can be used for
                        solving XML “imperfections”
Servlet ?


MIME Type?


Security ?

XML
Schema ?

XDB Event ?


Extention?
   URL: OTN XMLDB Sample Code

     XFILES Version 5
     Introduction to Oracle XML DB Repository Events
     Oracle XML DB-based Mashup with Google Earth
     Oracle XML DB Repository Features
     XDB Utilities and more…
   Blog posts about, among others…

     Storage of XML
     Creating and Handling XML
     Concepts & Howto’s for XDB Repository
     Automatically shred content out of Windows
      Office (docx) into table columns
     Setting up logging in the XDB Repository
     Security and Performance
   www.expertezed.com
   www.amis.nl


                     marco.gralike@amis.nl

Mais conteúdo relacionado

Mais procurados

ORM, JPA, & Hibernate Overview
ORM, JPA, & Hibernate OverviewORM, JPA, & Hibernate Overview
ORM, JPA, & Hibernate Overview
Brett Meyer
 
Hibernate in XPages
Hibernate in XPagesHibernate in XPages
Hibernate in XPages
Toby Samples
 
Developer & Fusion Middleware 1 | Mark Drake | An introduction to Oracle XML ...
Developer & Fusion Middleware 1 | Mark Drake | An introduction to Oracle XML ...Developer & Fusion Middleware 1 | Mark Drake | An introduction to Oracle XML ...
Developer & Fusion Middleware 1 | Mark Drake | An introduction to Oracle XML ...
InSync2011
 

Mais procurados (20)

ORM, JPA, & Hibernate Overview
ORM, JPA, & Hibernate OverviewORM, JPA, & Hibernate Overview
ORM, JPA, & Hibernate Overview
 
What is WebDAV - uploaded by Murali Krishna Nookella
What is WebDAV - uploaded by Murali Krishna NookellaWhat is WebDAV - uploaded by Murali Krishna Nookella
What is WebDAV - uploaded by Murali Krishna Nookella
 
TechEvent 2019: Oracle to PostgreSQL - a Travel Guide from Practice; Roland S...
TechEvent 2019: Oracle to PostgreSQL - a Travel Guide from Practice; Roland S...TechEvent 2019: Oracle to PostgreSQL - a Travel Guide from Practice; Roland S...
TechEvent 2019: Oracle to PostgreSQL - a Travel Guide from Practice; Roland S...
 
Create a Database Application Development Environment with Docker
Create a Database Application Development Environment with DockerCreate a Database Application Development Environment with Docker
Create a Database Application Development Environment with Docker
 
An introduction into Oracle VM V3.x
An introduction into Oracle VM V3.xAn introduction into Oracle VM V3.x
An introduction into Oracle VM V3.x
 
Oracle 12c Multitenant architecture
Oracle 12c Multitenant architectureOracle 12c Multitenant architecture
Oracle 12c Multitenant architecture
 
XMLDB Building Blocks And Best Practices - Oracle Open World 2008 - Marco Gra...
XMLDB Building Blocks And Best Practices - Oracle Open World 2008 - Marco Gra...XMLDB Building Blocks And Best Practices - Oracle Open World 2008 - Marco Gra...
XMLDB Building Blocks And Best Practices - Oracle Open World 2008 - Marco Gra...
 
Expose your data as an api is with oracle rest data services -spoug Madrid
Expose your data as an api is with oracle rest data services -spoug MadridExpose your data as an api is with oracle rest data services -spoug Madrid
Expose your data as an api is with oracle rest data services -spoug Madrid
 
Hibernate in XPages
Hibernate in XPagesHibernate in XPages
Hibernate in XPages
 
Developer & Fusion Middleware 1 | Mark Drake | An introduction to Oracle XML ...
Developer & Fusion Middleware 1 | Mark Drake | An introduction to Oracle XML ...Developer & Fusion Middleware 1 | Mark Drake | An introduction to Oracle XML ...
Developer & Fusion Middleware 1 | Mark Drake | An introduction to Oracle XML ...
 
LDAP Integration
LDAP IntegrationLDAP Integration
LDAP Integration
 
High-Performance Hibernate Devoxx France 2016
High-Performance Hibernate Devoxx France 2016High-Performance Hibernate Devoxx France 2016
High-Performance Hibernate Devoxx France 2016
 
Wizard of ORDS
Wizard of ORDSWizard of ORDS
Wizard of ORDS
 
XML parsing using jaxb
XML parsing using jaxbXML parsing using jaxb
XML parsing using jaxb
 
Brk2051 sql server on linux and docker
Brk2051 sql server on linux and dockerBrk2051 sql server on linux and docker
Brk2051 sql server on linux and docker
 
PHP Oracle
PHP OraclePHP Oracle
PHP Oracle
 
SQLcl the next generation of SQLPlus?
SQLcl the next generation of SQLPlus?SQLcl the next generation of SQLPlus?
SQLcl the next generation of SQLPlus?
 
Access Data from XPages with the Relational Controls
Access Data from XPages with the Relational ControlsAccess Data from XPages with the Relational Controls
Access Data from XPages with the Relational Controls
 
Silicon Valley JUG - How to generate customized java 8 code from your database
Silicon Valley JUG - How to generate customized java 8 code from your databaseSilicon Valley JUG - How to generate customized java 8 code from your database
Silicon Valley JUG - How to generate customized java 8 code from your database
 
Exploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cExploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12c
 

Semelhante a Expertezed 2012 Webcast - XML DB Use Cases

OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
Marco Gralike
 
OOW09 EBS Tech Essentials
OOW09 EBS Tech EssentialsOOW09 EBS Tech Essentials
OOW09 EBS Tech Essentials
jucaab
 
IBM Solutions '99 XML and Java: Lessons Learned
IBM Solutions '99 XML and Java: Lessons LearnedIBM Solutions '99 XML and Java: Lessons Learned
IBM Solutions '99 XML and Java: Lessons Learned
Ted Leung
 
The Java Content Repository
The Java Content RepositoryThe Java Content Repository
The Java Content Repository
nobby
 

Semelhante a Expertezed 2012 Webcast - XML DB Use Cases (20)

OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
 
Real World Experience With Oracle Xml Database 11g An Oracle Ace’s Perspectiv...
Real World Experience With Oracle Xml Database 11g An Oracle Ace’s Perspectiv...Real World Experience With Oracle Xml Database 11g An Oracle Ace’s Perspectiv...
Real World Experience With Oracle Xml Database 11g An Oracle Ace’s Perspectiv...
 
Denodo Partner Connect: Technical Webinar - Ask Me Anything
Denodo Partner Connect: Technical Webinar - Ask Me AnythingDenodo Partner Connect: Technical Webinar - Ask Me Anything
Denodo Partner Connect: Technical Webinar - Ask Me Anything
 
Summer training oracle
Summer training   oracle Summer training   oracle
Summer training oracle
 
OOW09 EBS Tech Essentials
OOW09 EBS Tech EssentialsOOW09 EBS Tech Essentials
OOW09 EBS Tech Essentials
 
Summer training oracle
Summer training   oracle Summer training   oracle
Summer training oracle
 
Local Storage for Web Applications
Local Storage for Web ApplicationsLocal Storage for Web Applications
Local Storage for Web Applications
 
IBM Solutions '99 XML and Java: Lessons Learned
IBM Solutions '99 XML and Java: Lessons LearnedIBM Solutions '99 XML and Java: Lessons Learned
IBM Solutions '99 XML and Java: Lessons Learned
 
Developer’s intro to the alfresco platform
Developer’s intro to the alfresco platformDeveloper’s intro to the alfresco platform
Developer’s intro to the alfresco platform
 
Understanding Oracle GoldenGate 12c
Understanding Oracle GoldenGate 12cUnderstanding Oracle GoldenGate 12c
Understanding Oracle GoldenGate 12c
 
Enterprise service bus part 2
Enterprise service bus part 2Enterprise service bus part 2
Enterprise service bus part 2
 
Rollin onj Rubyv3
Rollin onj Rubyv3Rollin onj Rubyv3
Rollin onj Rubyv3
 
ODTUG Webcast - Thinking Clearly about XML
ODTUG Webcast - Thinking Clearly about XMLODTUG Webcast - Thinking Clearly about XML
ODTUG Webcast - Thinking Clearly about XML
 
Azure - Data Platform
Azure - Data PlatformAzure - Data Platform
Azure - Data Platform
 
XFILES, the APEX 4 version - The truth is in there
XFILES, the APEX 4 version - The truth is in thereXFILES, the APEX 4 version - The truth is in there
XFILES, the APEX 4 version - The truth is in there
 
Azure: Lessons From The Field
Azure: Lessons From The FieldAzure: Lessons From The Field
Azure: Lessons From The Field
 
Solr -
Solr - Solr -
Solr -
 
The Java Content Repository
The Java Content RepositoryThe Java Content Repository
The Java Content Repository
 
OpenProdoc Overview
OpenProdoc OverviewOpenProdoc Overview
OpenProdoc Overview
 
ORACLE 9i
ORACLE 9iORACLE 9i
ORACLE 9i
 

Mais de Marco Gralike

Miracle Open World 2011 - XML Index Strategies
Miracle Open World 2011  -  XML Index StrategiesMiracle Open World 2011  -  XML Index Strategies
Miracle Open World 2011 - XML Index Strategies
Marco Gralike
 
UKOUG 2010 (Birmingham) - XML Indexing strategies - Choosing the Right Index ...
UKOUG 2010 (Birmingham) - XML Indexing strategies - Choosing the Right Index ...UKOUG 2010 (Birmingham) - XML Indexing strategies - Choosing the Right Index ...
UKOUG 2010 (Birmingham) - XML Indexing strategies - Choosing the Right Index ...
Marco Gralike
 

Mais de Marco Gralike (20)

UKOUG2018 - I Know what you did Last Summer [in my Database].pptx
UKOUG2018 - I Know what you did Last Summer [in my Database].pptxUKOUG2018 - I Know what you did Last Summer [in my Database].pptx
UKOUG2018 - I Know what you did Last Summer [in my Database].pptx
 
eProseed Oracle Open World 2016 debrief - Oracle Management Cloud
eProseed Oracle Open World 2016 debrief - Oracle Management CloudeProseed Oracle Open World 2016 debrief - Oracle Management Cloud
eProseed Oracle Open World 2016 debrief - Oracle Management Cloud
 
eProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 Database
eProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 DatabaseeProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 Database
eProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 Database
 
Oracle Database - JSON and the In-Memory Database
Oracle Database - JSON and the In-Memory DatabaseOracle Database - JSON and the In-Memory Database
Oracle Database - JSON and the In-Memory Database
 
UKOUG Tech15 - Going Full Circle - Building a native JSON Database API
UKOUG Tech15 - Going Full Circle - Building a native JSON Database APIUKOUG Tech15 - Going Full Circle - Building a native JSON Database API
UKOUG Tech15 - Going Full Circle - Building a native JSON Database API
 
OakTable World 2015 - Using XMLType content with the Oracle In-Memory Column...
OakTable World 2015  - Using XMLType content with the Oracle In-Memory Column...OakTable World 2015  - Using XMLType content with the Oracle In-Memory Column...
OakTable World 2015 - Using XMLType content with the Oracle In-Memory Column...
 
UKOUG Tech14 - Getting Started With JSON in the Database
UKOUG Tech14 - Getting Started With JSON in the DatabaseUKOUG Tech14 - Getting Started With JSON in the Database
UKOUG Tech14 - Getting Started With JSON in the Database
 
UKOUG Tech14 - Using Database In-Memory Column Store with Complex Datatypes
UKOUG Tech14 - Using Database In-Memory Column Store with Complex DatatypesUKOUG Tech14 - Using Database In-Memory Column Store with Complex Datatypes
UKOUG Tech14 - Using Database In-Memory Column Store with Complex Datatypes
 
Ordina Oracle Open World
Ordina Oracle Open WorldOrdina Oracle Open World
Ordina Oracle Open World
 
Starting with JSON Path Expressions in Oracle 12.1.0.2
Starting with JSON Path Expressions in Oracle 12.1.0.2Starting with JSON Path Expressions in Oracle 12.1.0.2
Starting with JSON Path Expressions in Oracle 12.1.0.2
 
An introduction into Oracle Enterprise Manager Cloud Control 12c Release 3
An introduction into Oracle Enterprise Manager Cloud Control 12c Release 3An introduction into Oracle Enterprise Manager Cloud Control 12c Release 3
An introduction into Oracle Enterprise Manager Cloud Control 12c Release 3
 
An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)
 
Flexibiliteit & Snel Schakelen
Flexibiliteit & Snel SchakelenFlexibiliteit & Snel Schakelen
Flexibiliteit & Snel Schakelen
 
Hotsos 2013 - Creating Structure in Unstructured Data
Hotsos 2013 - Creating Structure in Unstructured DataHotsos 2013 - Creating Structure in Unstructured Data
Hotsos 2013 - Creating Structure in Unstructured Data
 
BGOUG 2012 - XML Index Strategies
BGOUG 2012 - XML Index StrategiesBGOUG 2012 - XML Index Strategies
BGOUG 2012 - XML Index Strategies
 
Miracle Open World 2011 - XML Index Strategies
Miracle Open World 2011  -  XML Index StrategiesMiracle Open World 2011  -  XML Index Strategies
Miracle Open World 2011 - XML Index Strategies
 
UKOUG 2010 (Birmingham) - XML Indexing strategies - Choosing the Right Index ...
UKOUG 2010 (Birmingham) - XML Indexing strategies - Choosing the Right Index ...UKOUG 2010 (Birmingham) - XML Indexing strategies - Choosing the Right Index ...
UKOUG 2010 (Birmingham) - XML Indexing strategies - Choosing the Right Index ...
 
Amis ACE
Amis ACEAmis ACE
Amis ACE
 
XML In The Real World - Use Cases For Oracle XMLDB
XML In The Real World - Use Cases For Oracle XMLDBXML In The Real World - Use Cases For Oracle XMLDB
XML In The Real World - Use Cases For Oracle XMLDB
 
Oracle Developer Day, 20 October 2009, Oracle De Meern, Holland: Oracle Datab...
Oracle Developer Day, 20 October 2009, Oracle De Meern, Holland: Oracle Datab...Oracle Developer Day, 20 October 2009, Oracle De Meern, Holland: Oracle Datab...
Oracle Developer Day, 20 October 2009, Oracle De Meern, Holland: Oracle Datab...
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Expertezed 2012 Webcast - XML DB Use Cases

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 8. Marco Gralike Principal Database Consultant DBA; Specialized Oracle XML DB AMIS Services BV, Holland  Oracle experience since 1993  Oracle ACE Director  OakTable Member
  • 9.
  • 10.
  • 11.
  • 13. Storage and handling of XML data • Optimized storage for structured, semi-structured and unstructured data • Build-in Standard Gateways to the outside world: ▪ WebDAV, HTTP, FTP, SOAP Webservices ▪ (Binary) XMLType support in Oracle Streams ▪ XMLType API’s for C / Java / .Net  Reasons • Complies to almost all (W3C) XML standards • Build-in XML Aware Repository • Versioning Capabilities • Security build-in (ACL / On top off the known relational features)
  • 14. Relational data to XML conversion capabilties • XML can easily be exposed via Webservices etc. • Buildin Standard Gateways to the outside world: ▪ WebDAV, HTTP, FTP, Native Database Web Services ▪ (Binary) XMLType support in Oracle Streams ▪ XMLType API’s for C / Java / .Net ▪ UriTypes  Reasons • Adaption of current systems to the XML / SOA world • International Format Standards of Sharing Data (XML Taxonomy)
  • 15. Database content shared via Native Database Web Services as part of a Service Orientated Architecture • Decoupled • Stateless, etc  Reasons • Adaption of current systems • SOA “API” compliant  SOAP, WS* • Web browser compatible
  • 16. The historical data storage for end-of-life systems • Data Sources: relational, hierarchical, network, object orientated databases • Data Target: The Oracle XML Database  Reasons • Data still needed ▪ * Fraud Investigation ▪ * Mash-ups • Ease of Sharing Data for example via Webservices • Dutch Law: Deletion of Historical Data allowed after 7 years • Intelligent ways to search (Unstructured) Data
  • 17. XBRL Extension capabilties • XML Business Reporting Language • Oracle Database Enterprise Edition 11.2.0.2 and onwards • Why build the functionality if it has already been done? ▪ No extra cost / a no cost option ▪ Extention can be downloaded via http://support.oracle.com  Reasons • Following the official standards • Supported and further optimized • Quick start…
  • 19. Oracle Fusion Middleware Oracle Database J2EE Integration Wireless RAC Oracle Oracle Fusion Web Service Web Cache BI & Reports Data Pump Grid Control Apps Oracle XML DB Portal OID LDAP XSQL TransX C/C++ XML Utilities (oraxml10.lib) Java XML Utilities (xml.jar) Oracle JDeveloper (XSU) JSR170 XML Diff JAXB XML Pipeline XML Diff Class Generator Java XML Processing (xmlparserv2.jar) C XML Processing (oraxml10.lib) DO SA JAXP XPath XQuery XSLT XSD DOM SAX Pull XPath XSD XSLT VM M X Oracle XML Broadband Network— Binary XML Multi-Platform, Multi-OS Runtime in Java C and C++ JDK 1.5 JDBC (classes12.jar) NLS (orai18n*.jar) NLS (oranls.lib) CORE (oracore10.lib)
  • 20. Based on XML Standards: XPath , XSLT, XQuery , XQuery Update (11.2.0.3) , XBRL (Extention)  XML Handling Stores, Consumes, Generates, Validates  XDB Repository HTTP(s), FTP & WebDAV XDB Repository Events, Versioning & Security  No Cost Option, Core database feature
  • 21. File Storage Oracle XML DB • XML Database  A World within a World • C / Kernel  More then one Option • XML Enabled  Complies to Standards • Native & more  License Free  Core part of (OXJR)DBMS • An XML Parser  The (relational) foundation is does not have there and can be used for a dictionary solving XML “imperfections”
  • 22.
  • 23. DBA WSDL PL/SQL ? SOAP SOA DB WS SQL XQuery Easy: a few steps, no other software installation and no coding Secure: HTTP authentication and easily integrate with WS Security Products High performance : C-based engine, natively build in to the Oracle DB
  • 24. Create Lock the Make it Resource Resource Versioned Update the Check it Out Check It In Resource UnLock the Resource
  • 25. # Create file / dbms_xdb.createResource 1. dbms_xdb.lockResource 2. dbms_xdb_version.makeVersioned 3. dbms_xdb_version.checkOut # Update file content 4. dbms_xdb_version.checkIn 5. dbms_xdb.unlockResource # Done…
  • 26.
  • 28. Ever executed DBMS_XDB…? dbms_xdb.SetHTTPPort(8080) dbms_xdb.SetFTPPort(2100)
  • 29. Servlet ? MIME Type? Security ? XML Schema ? XDB Event ? Extention?
  • 30. XDB Repository File / Folder (aka Resources)  Resource manipulation DBMS_XDB, DBMS_XDBRESOURCE  Default XDB ACL Driven Security  XDB Protocol Listener  Respository Events  Versioning  XML Schema awareness  Extending XML Schema functionality
  • 31. XDB$RESOURCE  XDBResource.xsd  XMLType Table (Schema based XML Table)  Access to XDB Repository  WebDAV, FTP, HTTP(s)  SQL, PL/SQL, NDWS  PATH_VIEW, RESOURCE_VIEW  Select, Update, Delete  UNDER_PATH, EQUALS_PATH
  • 32. XML Schema XML Schema XML Document in XML ? Registered ? Physical XMLType Shred XML into Update Associated ? XMLType XDB$Resource
  • 34. Database FileServer 2 The MAX Copy a FILE to the Database
  • 35. Event MIME Event Listener Check Handler XML Protocol Server (Listener)
  • 36. Extract Move File Info Store in XDB Repository
  • 37. Extract File XDB File to Content Server Batch File to XDB “Batch” Directory
  • 39.
  • 41.
  • 42. Camera Make and Model  Aperture, Shutter Speed, Focal Length  ISO Speed, Date Taken, Description  Geo-coding, Copyright Information  EXIF XML Schema is pre-registered with XML DB by Oracle MultiMedia  Type ordsys.ordimage extracts EXIF metadata document from a JPG image
  • 43. Database FileServer 2 The MAX Copy a PICTURE to the Database
  • 44. Event MIME Event Listener Check Handler XML Protocol Server (Listener)
  • 45. Extract Store in XML Table Store in XDB Repository
  • 46. EXIF KML Display in GUI, Google Map
  • 47. Servlet ? MIME Type? Security ? XML Schema ? XDB Event ? Extension?
  • 48. Its about Time to wrap it Up
  • 49. XML Database Oracle XML DB • C / Kernel  A World within a World • XML Enabled  More then one Option • Native & more  Complies to Standards • An XML Parser  License Free  Core part of (OXJR)DBMS does not have  The (relational) foundation is a dictionary there and can be used for solving XML “imperfections”
  • 50. Servlet ? MIME Type? Security ? XML Schema ? XDB Event ? Extention?
  • 51. URL: OTN XMLDB Sample Code  XFILES Version 5  Introduction to Oracle XML DB Repository Events  Oracle XML DB-based Mashup with Google Earth  Oracle XML DB Repository Features  XDB Utilities and more…
  • 52. Blog posts about, among others…  Storage of XML  Creating and Handling XML  Concepts & Howto’s for XDB Repository  Automatically shred content out of Windows Office (docx) into table columns  Setting up logging in the XDB Repository  Security and Performance
  • 53. www.expertezed.com  www.amis.nl marco.gralike@amis.nl