Oracle HTML Db and Oracle as 10g 132558

download Oracle HTML Db and Oracle as 10g 132558

of 61

Transcript of Oracle HTML Db and Oracle as 10g 132558

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    1/61

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    2/61

    IntegratingOracle HTML DB withOracle ApplicationServer 10g

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    3/61

    Scott SpendoliniSenior Product Manager,Oracle HTML DB

    Oracle Corporation

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    4/61

    Agenda

    Oracle HTML DB Overview Integration Points with Oracle Application Server 10g

    Summary

    Q & A

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    5/61

    Oracle HTML DB Overview

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    6/61

    What is Oracle HTML DB?

    A secure, web-based,metadata-driven, database-

    centric application developmentand deployment platform thatresides in the Oracle Database

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    7/61

    Portal vs. HTML DB

    Oracle PortalConsolidated View of Personalized

    Data from Multiple Sources Oracle HTML DB

    Secure, Scalable Platform for Web Application Development &Deployment

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    8/61

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    9/61

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    10/61

    Demo EnvironmentPhys ical A rch i tec tu re

    Oracle HTML DB

    Reports

    InternetDirectory

    HTTP &mod_plsql

    PortalSingle

    Sign-On

    orangemen.us.oracle.comsyracuse.us.oracle.com

    OC4J MapViewer

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    11/61

    Demo EnvironmentTodays Architecture

    Red Hat Advanced Serverhtmldb-demo.us.oracle.com

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    12/61

    Oracle HTML DBLo gical A rch i tec ture

    Shared Workgroup Database Service Ability to Host Many Users on a Single Instance Centrally Deployed & Managed Accessed anywhere via a Browser

    Declarative development style Pages & Objects Stored as Metadata

    Wizard-Based Development

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    13/61

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    14/61

    Integration Points with

    Oracle Application Server 10g

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    15/61

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    16/61

    Oracle HTTP Server & mod_plsql Sof tw are & Edi t ions Requ ired

    Software Oracle HTTP Server mod_plsql

    Editions Oracle AS Java Edition Oracle AS Standard Edition

    Oracle AS Enterprise Edition

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    17/61

    Oracle HTTP Server & mod_plsql How i t In tegr ates

    Oracle HTTP Server & mod_plsql from Oracle AS can be used to serve Oracle HTML DB

    A single instance of OHS & mod_plsql canpoint to multiple instances of Oracle HTML DB

    Add entries to DAD configuration file Cluster HTTP Servers for Failover

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    18/61

    Oracle HTTP Server & mod_plsql Steps to Con f igu re

    Add an entry to your DAD configuration file foreach instance of Oracle HTML DB:

    SetHandler pls_handlerOrder deny,allow

    Allow from all AllowOverride None

    PlsqlDatabaseUsername HTMLDB_PUBLIC_USERPlsqlDatabasePassword @BXUKpCh0pabnAcDAE+X2P9w=PlsqlDatabaseConnectString localhost:1521:sadler ServiceNameFormatPlsqlDefaultPage htmldb

    PlsqlDocumentTablename wwv_flow_file_objects$PlsqlDocumentPath docsPlsqlDocumentProcedure wwv_flow_file_manager.process_downloadPlsqlAuthenticationMode BasicPlsqlNLSLanguage AMERICAN_AMERICA.WE8MSWIN1252

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    19/61

    Oracle HTTP Server & mod_plsql Resources

    OTN : Oracle HTTP Serverhttp://www.oracle.com/technology/products/ias/ohs/index.html

    Studio : Install HTML DB into multiple Oracle

    Instances using a single Oracle HTTP Serverhttp://htmldb.oracle.com/pls/otn/f?p=18326:54:::::P54_ID:481 How To : Install and Configure Oracle HTML DB for

    use with Oracle Application Server 10 g http://www.oracle.com/technology/products/database/htmldb/howtos/howto_useoas10g.html

    How To : Install and Configure Oracle HTML DB foruse by a 9iR2 Oracle HTTP Serverhttp://www.oracle.com/technology/products/database/htmldb/howtos/howto_use9ir2ohs.html

    http://www.oracle.com/technology/products/ias/ohs/index.htmlhttp://htmldb.oracle.com/pls/otn/f?p=18326:54:::::P54_ID:481http://www.oracle.com/technology/products/database/htmldb/howtos/howto_useoas10g.htmlhttp://www.oracle.com/technology/products/database/htmldb/howtos/howto_use9ir2ohs.htmlhttp://www.oracle.com/technology/products/database/htmldb/howtos/howto_use9ir2ohs.htmlhttp://www.oracle.com/technology/products/database/htmldb/howtos/howto_useoas10g.htmlhttp://htmldb.oracle.com/pls/otn/f?p=18326:54:::::P54_ID:481http://www.oracle.com/technology/products/ias/ohs/index.html
  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    20/61

    Oracle HTTP Server & mod_plsql Demons t ra t ion

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    21/61

    OC4J MapViewer

    Oracle Single Sign-On

    Oracle HTML DB

    Reports

    InternetDirectory

    HTTP &mod_plsql

    PortalSingle

    Sign-On

    orangemen.us.oracle.comsyracuse.us.oracle.com

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    22/61

    Oracle Single Sign-OnSof tw are & Edi t ions Requ ired

    Software Oracle Single Sign-On Server

    Editions Oracle AS Standard Edition Oracle AS Enterprise Edition

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    23/61

    Oracle Single Sign-OnHow i t In tegr ates

    Oracle HTML DB can integrate with OracleSingle Sign-on as a:

    Partner Application External Application

    Signing on to the Oracle Login Server meansyou're authenticated to any Oracle HTML DB

    application using the SSO AuthenticationScheme

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    24/61

    Oracle Single Sign-OnSteps to Con f igu re

    Download & Install the SSO SDK into yourHTML DB Schema

    Alternatively, you can install the SSO SDK into aseparate schema, in order to preserve it whenHTML DB is upgraded

    Create an SSO Authentication Scheme inyour HTML DB Application

    Register Oracle HTML DB or a specific OracleHTML DB Application as a Partner Application

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    25/61

    Oracle Single Sign-OnResources

    OTN : Oracle Single Sign-Onhttp://www.oracle.com/technology/products/id_mgmt/osso/index.html

    How To : Configure an HTML DB Application

    as a Partner Application in Oracle AS SingleSign-Onhttp://www.oracle.com/technology/products/database/htmldb/howtos/sso_partner_app.html

    http://www.oracle.com/technology/products/id_mgmt/osso/index.htmlhttp://www.oracle.com/technology/products/database/htmldb/howtos/sso_partner_app.htmlhttp://www.oracle.com/technology/products/database/htmldb/howtos/sso_partner_app.htmlhttp://www.oracle.com/technology/products/id_mgmt/osso/index.html
  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    26/61

    Oracle Single Sign-OnDemons t ra t ion

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    27/61

    OC4J MapViewer

    Oracle Portal

    Oracle HTML DB

    Reports

    InternetDirectory

    HTTP &mod_plsql

    PortalSingleSign-On

    orangemen.us.oracle.comsyracuse.us.oracle.com

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    28/61

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    29/61

    Oracle PortalHow i t In tegr ates

    Oracle Portal can be used as a launch point forOracle HTML DB Applications which are integratedwith Oracle SSO

    The OmniPortlet can display any Oracle HTML DBReport of type XML as a table, chart, news items,bullets, or in a form

    OmniPortlets can drill-down into Oracle HTML DBapplications

    Page Parameters can be passed to the OmniPortlet inorder to filter the results from Oracle HTML DB

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    30/61

    Oracle PortalSteps to Con f igu re

    Create a SQL Report in HTML DB Ensure the the Report Title and Column Titles contain no

    spaces (DeptNo instead of Dept No)

    Change the Report Template to export: XML Create an OmniPortlet of type XML Supply the URL for the page with your Oracle HTML

    DB XML Report for the XML URL

    Specify the Filter, View and Layout parameters Under View, select "Don't Cache the Portlet Content" to

    ensure that you don't see stale data in Oracle Portal

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    31/61

    Oracle PortalResources

    OTN : Oracle Portalhttp://www.oracle.com/technology/products/ias/portal/index.html

    How To : Publish an HTML DB Component as a

    Portlet in Oracle Application Server Portalhttp://www.oracle.com/technology/products/database/htmldb/howtos/omniportlet_index.html Publishing an HTML DB Report on a Portal Page Publishing an HTML DB Report as a Chart on a Portal

    Page

    Linking from an OmniPortlet to an HTML DB Page Making an OmniPortlet Parameter-Driven

    http://www.oracle.com/technology/products/ias/portal/index.htmlhttp://www.oracle.com/technology/products/database/htmldb/howtos/omniportlet_index.htmlhttp://www.oracle.com/technology/products/database/htmldb/howtos/omniportlet_index.htmlhttp://www.oracle.com/technology/products/ias/portal/index.html
  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    32/61

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    33/61

    OC4J MapViewer

    Oracle Internet Directory

    Oracle HTML DB

    Reports

    InternetDirectory

    HTTP &mod_plsql

    PortalSingleSign-On

    orangemen.us.oracle.comsyracuse.us.oracle.com

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    34/61

    Oracle Internet DirectorySof tw are & Edi t ions Requ ired

    Software Oracle Internet Directory

    Editions Oracle AS Standard Edition with Identity

    Management Option Oracle AS Enterprise Edition

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    35/61

    Oracle Internet DirectoryHow i t In tegr ates

    Oracle HTML DB Users & Groups can be stored inOracle Internet Directory (OID)

    OID can be synchronized with MS Active Directory

    OID Groups can be referenced in Oracle HTML DB Authorization Schemes to restrict access to OracleHTML DB applications and/or components

    Users can manage their own account (change theirpassword, edit their profile) via OID

    Administrators can enforce security policies(password settings & expiration dates, etc) via OID

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    36/61

    Oracle Internet DirectorySteps to Con f igu re

    Create an Authorization Scheme based on a PL/SQL FunctionReturning BOOLEAN

    Associate the Authorization Scheme with a page or pagecomponent in HTML DB

    Sample function call:

    return wwv_flow_ldap.is_member (:APP_USER,null,'cn=users, dc=somedomain, dc=com','oidserver.somedomain.com','389','SAMPLE_APP_ADMINS','cn=Groups, dc=somedomain, dc=com');

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    37/61

    Oracle Internet DirectoryResources

    OTN : Oracle Internet Directoryhttp://www.oracle.com/technology/products/oid/index.html

    Studio : How to use OID Groups to Manage

    HTML DB Securityhttp://htmldb.oracle.com/pls/otn/f?p=18326:54:::::P54_ID:281

    http://www.oracle.com/technology/products/oid/index.htmlhttp://htmldb.oracle.com/pls/otn/f?p=18326:54:::::P54_ID:281http://htmldb.oracle.com/pls/otn/f?p=18326:54:::::P54_ID:281http://www.oracle.com/technology/products/oid/index.html
  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    38/61

    Oracle Internet DirectoryDemons t ra t ion

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    39/61

    OC4J MapViewer

    Oracle Reports

    Oracle HTML DB

    Reports

    InternetDirectory

    HTTP &mod_plsql

    PortalSingleSign-On

    orangemen.us.oracle.comsyracuse.us.oracle.com

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    40/61

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    41/61

    Oracle ReportsHow i t In tegr ates

    Oracle HTML DB applications can directly callOracle Reports to produce PDF output

    Parameters can be passed to the Report

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    42/61

    Oracle ReportsSteps to Con f igu re

    Create and deploy and Oracle Report on your Oracle AS server

    Build an HTML DB Application that will call the OracleReport

    /reports/rwservlet?module=orders.rdf&userid=sspendol/oracle@syracuse&destype=cache&desformat=PDF&p

    _order_id=&P29_ORDER_ID. You can optionally secure the report and not pass

    username & password via the URL You can optionally store parameters in a table to

    prevent URL tampering

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    43/61

    Oracle ReportsResources

    OTN : Oracle Reportshttp://www.oracle.com/technology/products/reports/index.html

    How To : Integrate Oracle Reports with Oracle

    HTML DBhttp://www.oracle.com/technology/products/database/htmldb/howtos/howto_integrate_oracle_reports.html

    http://www.oracle.com/technology/products/reports/index.htmlhttp://www.oracle.com/technology/products/database/htmldb/howtos/howto_integrate_oracle_reports.htmlhttp://www.oracle.com/technology/products/database/htmldb/howtos/howto_integrate_oracle_reports.htmlhttp://www.oracle.com/technology/products/reports/index.html
  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    44/61

    Oracle ReportsDemons t ra t ion

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    45/61

    MapViewer

    WebServices on Oracle AS

    Oracle HTML DB

    Reports

    InternetDirectory

    HTTP &mod_plsql

    PortalSingleSign-On

    orangemen.us.oracle.comsyracuse.us.oracle.com

    OC4J

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    46/61

    WebServices on Oracle ASSof tw are & Edi t ions Requ ired

    Software Oracle AS Containers for J2EE (OC4J)

    Editions Oracle AS Java Edition Oracle AS Standard Edition Oracle AS Enterprise Edition

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    47/61

    WebServices on Oracle ASHow i t In tegr ates

    WebServices can be built using OracleJDeveloper and Deployed in an OC4Jcontainer in Oracle AS Containers for J2EE

    Oracle HTML DB can consume WebServices WebService must have valid WSDL document Both Input & Output parameters supported

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    48/61

    WebServices on Oracle ASSteps to Con f igu re

    Build & Deploy a WebService and associatedWSDL document with Oracle JDeveloper &Oracle AS

    Consume the WebService with Oracle HTMLDB

    Build a report and/or a form based on the

    in/out parameters of the WebService

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    49/61

    WebServices on Oracle ASResources

    OTN : Oracle AS Containers for J2EEhttp://www.oracle.com/technology/tech/java/oc4j/index.html

    How To : Develop a Web Service From a Web

    Service Description Language (WSDL)Documenthttp://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-ws-topdown/doc/how-to-ws-topdown.html

    Publish a JAX-RPC Web Servicehttp://www.oracle.com/technology/tech/webservices/htdocs/series/jaxrpc1/index.html

    http://www.oracle.com/technology/tech/java/oc4j/index.htmlhttp://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-ws-topdown/doc/how-to-ws-topdown.htmlhttp://www.oracle.com/technology/tech/webservices/htdocs/series/jaxrpc1/index.htmlhttp://www.oracle.com/technology/tech/webservices/htdocs/series/jaxrpc1/index.htmlhttp://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-ws-topdown/doc/how-to-ws-topdown.htmlhttp://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-ws-topdown/doc/how-to-ws-topdown.htmlhttp://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-ws-topdown/doc/how-to-ws-topdown.htmlhttp://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-ws-topdown/doc/how-to-ws-topdown.htmlhttp://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-ws-topdown/doc/how-to-ws-topdown.htmlhttp://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-ws-topdown/doc/how-to-ws-topdown.htmlhttp://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-ws-topdown/doc/how-to-ws-topdown.htmlhttp://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-ws-topdown/doc/how-to-ws-topdown.htmlhttp://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-ws-topdown/doc/how-to-ws-topdown.htmlhttp://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-ws-topdown/doc/how-to-ws-topdown.htmlhttp://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-ws-topdown/doc/how-to-ws-topdown.htmlhttp://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-ws-topdown/doc/how-to-ws-topdown.htmlhttp://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-ws-topdown/doc/how-to-ws-topdown.htmlhttp://www.oracle.com/technology/tech/java/oc4j/index.html
  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    50/61

    Oracle AS Containers for J2EEDemons t ra t ion

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    51/61

    OC4J

    Oracle AS MapViewer

    Oracle HTML DB

    Reports

    InternetDirectory

    HTTP &mod_plsql

    PortalSingleSign-On

    orangemen.us.oracle.comsyracuse.us.oracle.com

    MapViewer

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    52/61

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    53/61

    Oracle AS MapViewerHow i t In tegr ates

    Oracle MapViewer can be embedded in anOracle HTML DB application

    PL/SQL APIs will be released with the How To Functions Supported:

    Zoom In & Out Zoom Box

    Pan

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    54/61

    Oracle AS MapViewerSteps to Con f igu re

    Install PL/SQL API Download data from NavTeq or OTN

    Sample data for both Washington, DC & SanFrancisco

    Spatially Index your Data Build required HTML DB components or

    Download Template App from HTML DBStudio

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    55/61

    Oracle AS MapViewerResources

    OTN : Oracle AS MapViewerhttp://www.oracle.com/technology/products/mapviewer/index.html

    OTN : NavTeq Map Data

    http://www.navteq.com/oracle-download/index.jsp OTN : MapViewer Quick Start

    http://download.oracle.com/otn/other/mapviewer/mapviewer1012_demo.zip

    How To : Coming Soon

    http://www.oracle.com/technology/products/mapviewer/index.htmlhttp://www.navteq.com/oracle-download/index.jsphttp://download.oracle.com/otn/other/mapviewer/mapviewer1012_demo.ziphttp://download.oracle.com/otn/other/mapviewer/mapviewer1012_demo.ziphttp://www.navteq.com/oracle-download/index.jsphttp://www.navteq.com/oracle-download/index.jsphttp://www.navteq.com/oracle-download/index.jsphttp://www.oracle.com/technology/products/mapviewer/index.html
  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    56/61

    Oracle AS MapViewerDemons t ra t ion

    Launc h Viewlet

    http://localhost/var/www/apps/conversion/tmp/scratch_5/mapviewer_demo.htmlhttp://localhost/var/www/apps/conversion/tmp/scratch_5/mapviewer_demo.html
  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    57/61

    Oracle HTML DB How To's

    Step-by-Step instructions on how toconfigure/build/integrate Oracle Technologies

    Each one of these Integration Demos has acorresponding How To Document

    http://htmldb.oracle.com/howtos

    http://htmldb.oracle.com/howtoshttp://htmldb.oracle.com/howtos
  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    58/61

    Summary

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    59/61

    Summary

    Oracle HTML DB and Oracle ApplicationServer 10g are designed to w ork toge ther

    Oracle HTML DB can easily leverage many ofOracle Application Server 10g's features

    Combining Oracle HTML DB & Oracle Application Server 10g make a powerful

    development platform

  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    60/61

    More Technical Information

    Visit Oracle Technology Networkhttp://otn.oracle.com

    Oracle HTML DB Home page

    http://htmldb.oracle.com/otn Oracle HTML DB Studio

    http://htmldb.oracle.com/studio

    Discuss Oracle HTML DB in the Forumshttp://htmldb.oracle.com/forums

    http://otn.oracle.com/http://h/http://htmldb.oracle.com/studiohttp://htmldb.oracle.com/forumshttp://htmldb.oracle.com/forumshttp://htmldb.oracle.com/studiohttp://h/http://otn.oracle.com/
  • 8/13/2019 Oracle HTML Db and Oracle as 10g 132558

    61/61

    Q U E S T I O N SA N S W E R S