Integrating Oracle HTML DB with Oracle Application Server 10g.
-
Upload
juan-jenkins -
Category
Documents
-
view
239 -
download
2
Transcript of Integrating Oracle HTML DB with Oracle Application Server 10g.
Integrating Oracle HTML DB with Oracle Application Server 10g
Scott SpendoliniSenior Product Manager, Oracle HTML DB
Oracle Corporation
Agenda
• Oracle HTML DB Overview
• Integration Points with Oracle Application Server 10g
• Summary
• Q & A
Oracle HTML DB Overview
What is Oracle HTML DB?
• A secure, web-based, metadata-driven, database-centric application development and deployment platform that resides in the Oracle Database
Portal vs. HTML DB
• Oracle PortalConsolidated View of Personalized Data from Multiple Sources
• Oracle HTML DBSecure, Scalable Platform for Web Application Development & Deployment
Availability
• Release 1.5• Software ships on Oracle Database 10g Companion CD
• Release 1.6• Available as a Download from OTN• 1.6.1 Patchset Available via Metalink
• Works & Supported in Oracle Database 10g and Oracle Database 9iR2 (9.2.0.3+)
• Included as a component of Standard One, Standard and Enterprise Editions
• No Additional Charge
Demo EnvironmentPhysical Architecture
Browser
syracuse.us.oracle.com
Oracle HTML DB
orangemen.us.oracle.com
Demo EnvironmentPhysical Architecture
Oracle HTML DB
Reports
InternetDirectory
HTTP & mod_plsql
PortalSingle
Sign-On
orangemen.us.oracle.comsyracuse.us.oracle.com
OC4J MapViewer
Demo EnvironmentToday’s Architecture
Red Hat Advanced Serverhtmldb-demo.us.oracle.com
Oracle HTML DBLogical Architecture
• 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
ApplicationsApplications
ApplicationsApplications
ApplicationsApplications
Oracle HTML DBLogical Architecture
ApplicationsApplications Schema ASchema A
ApplicationsApplications Schema BSchema B
ApplicationsApplications Schema CSchema C
Workspace A
Workspace B
Workspace C
Integration Points with Oracle Application Server 10g
OC4J MapViewer
Oracle HTTP Server & mod_plsql
Oracle HTML DB
Reports
InternetDirectory
HTTP & mod_plsql
PortalSingle
Sign-On
orangemen.us.oracle.comsyracuse.us.oracle.com
Oracle HTTP Server & mod_plsql
Software & Editions Required
• Software• Oracle HTTP Server• mod_plsql
• Editions• Oracle AS Java Edition• Oracle AS Standard Edition• Oracle AS Enterprise Edition
Oracle HTTP Server & mod_plsql
How it Integrates
• Oracle HTTP Server & mod_plsql from Oracle AS can be used to serve Oracle HTML DB
• A single instance of OHS & mod_plsql can point to multiple instances of Oracle HTML DB
• Add entries to DAD configuration file
• Cluster HTTP Servers for Failover
Oracle HTTP Server & mod_plsql
Steps to Configure
• Add an entry to your DAD configuration file for each instance of Oracle HTML DB:<Location /pls/htmldb>SetHandler pls_handlerOrder deny,allowAllow from allAllowOverride NonePlsqlDatabaseUsername HTMLDB_PUBLIC_USERPlsqlDatabasePassword @BXUKpCh0pabnAcDAE+X2P9w= PlsqlDatabaseConnectString localhost:1521:sadler ServiceNameFormat PlsqlDefaultPage htmldbPlsqlDocumentTablename wwv_flow_file_objects$PlsqlDocumentPath docsPlsqlDocumentProcedure wwv_flow_file_manager.process_downloadPlsqlAuthenticationMode BasicPlsqlNLSLanguage AMERICAN_AMERICA.WE8MSWIN1252</Location>
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 10g http://www.oracle.com/technology/products/database/htmldb/howtos/howto_useoas10g.html
• How To: Install and Configure Oracle HTML DB for use by a 9iR2 Oracle HTTP Server http://www.oracle.com/technology/products/database/htmldb/howtos/howto_use9ir2ohs.html
Oracle HTTP Server & mod_plsql
Demonstration
OC4J MapViewer
Oracle Single Sign-On
Oracle HTML DB
Reports
InternetDirectory
HTTP & mod_plsql
PortalSingle
Sign-On
orangemen.us.oracle.comsyracuse.us.oracle.com
Oracle Single Sign-OnSoftware & Editions Required
• Software• Oracle Single Sign-On Server
• Editions• Oracle AS Standard Edition• Oracle AS Enterprise Edition
Oracle Single Sign-OnHow it Integrates
• Oracle HTML DB can integrate with Oracle Single Sign-on as a:
• Partner Application• External Application
• Signing on to the Oracle Login Server means you're authenticated to any Oracle HTML DB application using the SSO Authentication Scheme
Oracle Single Sign-OnSteps to Configure
• Download & Install the SSO SDK into your HTML DB Schema
• Alternatively, you can install the SSO SDK into a separate schema, in order to preserve it when HTML DB is upgraded
• Create an SSO Authentication Scheme in your HTML DB Application
• Register Oracle HTML DB or a specific Oracle HTML DB Application as a Partner Application
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 Single Sign-Onhttp://www.oracle.com/technology/products/database/htmldb/howtos/sso_partner_app.html
Oracle Single Sign-OnDemonstration
OC4J MapViewer
Oracle Portal
Oracle HTML DB
Reports
InternetDirectory
HTTP & mod_plsql
PortalSingle
Sign-On
orangemen.us.oracle.comsyracuse.us.oracle.com
Oracle PortalSoftware & Editions Required
• Software• Oracle Portal
• OmniPortlet
• Oracle Single Sign-On Server• Oracle Internet Directory
• Editions• Oracle AS Standard Edition• Oracle AS Enterprise Edition
Oracle PortalHow it Integrates
• Oracle Portal can be used as a launch point for Oracle HTML DB Applications which are integrated with Oracle SSO
• The OmniPortlet can display any Oracle HTML DB Report of type XML as a table, chart, news items, bullets, or in a form
• OmniPortlets can drill-down into Oracle HTML DB applications
• Page Parameters can be passed to the OmniPortlet in order to filter the results from Oracle HTML DB
Oracle PortalSteps to Configure
• 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
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
Oracle PortalDemonstration
OC4J MapViewer
Oracle Internet Directory
Oracle HTML DB
Reports
InternetDirectory
HTTP & mod_plsql
PortalSingle
Sign-On
orangemen.us.oracle.comsyracuse.us.oracle.com
Oracle Internet DirectorySoftware & Editions Required
• Software• Oracle Internet Directory
• Editions• Oracle AS Standard Edition with Identity
Management Option• Oracle AS Enterprise Edition
Oracle Internet DirectoryHow it Integrates
• Oracle HTML DB Users & Groups can be stored in Oracle 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 Oracle HTML DB applications and/or components
• Users can manage their own account (change their password, edit their profile) via OID
• Administrators can enforce security policies (password settings & expiration dates, etc) via OID
Oracle Internet DirectorySteps to Configure
• Create an Authorization Scheme based on a PL/SQL Function Returning BOOLEAN
• Associate the Authorization Scheme with a page or page component 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');
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
Oracle Internet DirectoryDemonstration
OC4J MapViewer
Oracle Reports
Oracle HTML DB
Reports
InternetDirectory
HTTP & mod_plsql
PortalSingle
Sign-On
orangemen.us.oracle.comsyracuse.us.oracle.com
Oracle ReportsSoftware & Editions Required
• Software• Oracle Reports Services
• Editions• Oracle AS Business Intelligence• Oracle AS Enterprise Edition
Oracle ReportsHow it Integrates
• Oracle HTML DB applications can directly call Oracle Reports to produce PDF output
• Parameters can be passed to the Report
Oracle ReportsSteps to Configure
• Create and deploy and Oracle Report on your Oracle AS server
• Build an HTML DB Application that will call the Oracle Report
• /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
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
Oracle ReportsDemonstration
MapViewer
WebServices on Oracle AS
Oracle HTML DB
Reports
InternetDirectory
HTTP & mod_plsql
PortalSingle
Sign-On
orangemen.us.oracle.comsyracuse.us.oracle.com
OC4J
WebServices on Oracle AS Software & Editions Required
• Software• Oracle AS Containers for J2EE (OC4J)
• Editions• Oracle AS Java Edition• Oracle AS Standard Edition• Oracle AS Enterprise Edition
WebServices on Oracle AS How it Integrates
• WebServices can be built using Oracle JDeveloper and Deployed in an OC4J container in Oracle AS Containers for J2EE
• Oracle HTML DB can consume WebServices• WebService must have valid WSDL document• Both Input & Output parameters supported
WebServices on Oracle AS Steps to Configure
• Build & Deploy a WebService and associated WSDL document with Oracle JDeveloper & Oracle AS
• Consume the WebService with Oracle HTML DB
• Build a report and/or a form based on the in/out parameters of the WebService
WebServices on Oracle AS Resources
• 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
Oracle AS Containers for J2EE
Demonstration
OC4J
Oracle AS MapViewer
Oracle HTML DB
Reports
InternetDirectory
HTTP & mod_plsql
PortalSingle
Sign-On
orangemen.us.oracle.comsyracuse.us.oracle.com
MapViewer
Oracle AS MapViewerSoftware & Editions Required
• Software• Oracle AS MapViewer• Oracle AS Containers for J2EE (OC4J)
• Editions• Oracle AS Java Edition• Oracle AS Standard Edition• Oracle AS Enterprise Edition
Oracle AS MapViewerHow it Integrates
• Oracle MapViewer can be embedded in an Oracle HTML DB application
• PL/SQL APIs will be released with the How To• Functions Supported:
• Zoom In & Out• Zoom Box• Pan
Oracle AS MapViewerSteps to Configure
• Install PL/SQL API• Download data from NavTeq or OTN
• Sample data for both Washington, DC & San Francisco
• Spatially Index your Data• Build required HTML DB components or
Download Template App from HTML DB Studio
Oracle AS MapViewerResources
• OTN: Oracle AS MapViewerhttp://www.oracle.com/technology/products/mapviewer/index.html
• OTN: NavTeq Map Datahttp://www.navteq.com/oracle-download/index.jsp
• OTN: MapViewer Quick Starthttp://download.oracle.com/otn/other/mapviewer/mapviewer1012_demo.zip
• How To: Coming Soon
Oracle AS MapViewerDemonstration
Launch Viewlet
Oracle HTML DB How To's
• Step-by-Step instructions on how to configure/build/integrate Oracle Technologies
• Each one of these Integration Demos has a corresponding How To Document
http://htmldb.oracle.com/howtos
Summary
Summary
• Oracle HTML DB and Oracle Application Server 10g are designed to work together
• Oracle HTML DB can easily leverage many of Oracle Application Server 10g's features
• Combining Oracle HTML DB & Oracle Application Server 10g make a powerful development platform
More Technical Information
• Visit Oracle Technology Networkhttp://otn.oracle.com
• Oracle HTML DB Home pagehttp://htmldb.oracle.com/otn
• Oracle HTML DB Studiohttp://htmldb.oracle.com/studio
• Discuss Oracle HTML DB in the Forumshttp://htmldb.oracle.com/forums
AQ&Q U E S T I O N SQ U E S T I O N S
A N S W E R SA N S W E R S