Sie sind auf Seite 1von 61

Integrating Oracle HTML DB with Oracle Application Server 10g

Scott Spendolini
Senior 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, databasecentric application development and deployment platform that resides in the Oracle Database

Portal vs. HTML DB


Oracle Portal Consolidated View of Personalized Data from Multiple Sources Oracle HTML DB Secure, 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 Environment
Physical Architecture

Oracle HTML DB

Browser

syracuse.us.oracle.com

orangemen.us.oracle.com

Demo Environment
Physical Architecture

Single Sign-On HTTP & mod_plsql

Portal

Internet Directory

Oracle HTML DB

Reports syracuse.us.oracle.com

OC4J

MapViewer

orangemen.us.oracle.com

Demo Environment
Todays Architecture

Red Hat Advanced Server


htmldb-demo.us.oracle.com

Oracle HTML DB
Logical 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

Oracle HTML DB
Logical Architecture
Workspace A Applications Applications Schema A

Workspace B Applications Applications Schema B

Workspace C Applications Applications Schema C

Integration Points with Oracle Application Server 10g

Oracle HTTP Server & mod_plsql

Single Sign-On HTTP & mod_plsql

Portal

Internet Directory

Oracle HTML DB

Reports syracuse.us.oracle.com

OC4J

MapViewer

orangemen.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_handler Order deny,allow Allow from all AllowOverride None PlsqlDatabaseUsername PlsqlDatabasePassword PlsqlDatabaseConnectString PlsqlDefaultPage PlsqlDocumentTablename PlsqlDocumentPath PlsqlDocumentProcedure PlsqlAuthenticationMode PlsqlNLSLanguage </Location>

HTMLDB_PUBLIC_USER @BXUKpCh0pabnAcDAE+X2P9w= localhost:1521:sadler ServiceNameFormat htmldb wwv_flow_file_objects$ docs wwv_flow_file_manager.process_download Basic AMERICAN_AMERICA.WE8MSWIN1252

Oracle HTTP Server & mod_plsql


Resources
OTN: Oracle HTTP Server
http://www.oracle.com/technology/products/ias/ohs/index.html

Studio: Install HTML DB into multiple Oracle Instances using a single Oracle HTTP Server
http://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

Oracle Single Sign-On

Single Sign-On HTTP & mod_plsql

Portal

Internet Directory

Oracle HTML DB

Reports syracuse.us.oracle.com

OC4J

MapViewer

orangemen.us.oracle.com

Oracle Single Sign-On


Software & Editions Required
Software
Oracle Single Sign-On Server

Editions
Oracle AS Standard Edition Oracle AS Enterprise Edition

Oracle Single Sign-On


How 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-On


Steps 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-On


Resources
OTN: Oracle Single Sign-On
http://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-On
http://www.oracle.com/technology/products/database/htmldb/howtos/sso_partner_app.html

Oracle Single Sign-On


Demonstration

Oracle Portal

Single Sign-On HTTP & mod_plsql

Portal

Internet Directory

Oracle HTML DB

Reports syracuse.us.oracle.com

OC4J

MapViewer

orangemen.us.oracle.com

Oracle Portal
Software & Editions Required
Software
Oracle Portal
OmniPortlet

Oracle Single Sign-On Server Oracle Internet Directory

Editions
Oracle AS Standard Edition Oracle AS Enterprise Edition

Oracle Portal
How 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 Portal
Steps 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 Portal
Resources
OTN: Oracle Portal
http://www.oracle.com/technology/products/ias/portal/index.html

How To: Publish an HTML DB Component as a Portlet in Oracle Application Server Portal
http://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 Portal
Demonstration

Oracle Internet Directory

Single Sign-On HTTP & mod_plsql

Portal

Internet Directory

Oracle HTML DB

Reports syracuse.us.oracle.com

OC4J

MapViewer

orangemen.us.oracle.com

Oracle Internet Directory


Software & Editions Required
Software
Oracle Internet Directory

Editions
Oracle AS Standard Edition with Identity Management Option Oracle AS Enterprise Edition

Oracle Internet Directory


How 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 Directory


Steps 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 Directory


Resources
OTN: Oracle Internet Directory
http://www.oracle.com/technology/products/oid/index.html

Studio: How to use OID Groups to Manage HTML DB Security


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

Oracle Internet Directory


Demonstration

Oracle Reports

Single Sign-On HTTP & mod_plsql

Portal

Internet Directory

Oracle HTML DB

Reports syracuse.us.oracle.com

OC4J

MapViewer

orangemen.us.oracle.com

Oracle Reports
Software & Editions Required
Software
Oracle Reports Services

Editions
Oracle AS Business Intelligence Oracle AS Enterprise Edition

Oracle Reports
How it Integrates
Oracle HTML DB applications can directly call Oracle Reports to produce PDF output
Parameters can be passed to the Report

Oracle Reports
Steps 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=sspendo l/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 Reports
Resources
OTN: Oracle Reports
http://www.oracle.com/technology/products/reports/index.html

How To: Integrate Oracle Reports with Oracle HTML DB


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

Oracle Reports
Demonstration

WebServices on Oracle AS

Single Sign-On HTTP & mod_plsql

Portal

Internet Directory

Oracle HTML DB

Reports syracuse.us.oracle.com

OC4J

MapViewer

orangemen.us.oracle.com

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 J2EE
http://www.oracle.com/technology/tech/java/oc4j/index.html

How To: Develop a Web Service From a Web Service Description Language (WSDL) Document
http://www.oracle.com/technology/tech/java/oc4j/1013/howtos/how-to-ws-topdown/doc/how-to-ws-topdown.html

Publish a JAX-RPC Web Service


http://www.oracle.com/technology/tech/webservices/htdocs/series/jaxrpc1/index.html

Oracle AS Containers for J2EE


Demonstration

Oracle AS MapViewer

Single Sign-On HTTP & mod_plsql

Portal

Internet Directory

Oracle HTML DB

Reports syracuse.us.oracle.com

OC4J

MapViewer

orangemen.us.oracle.com

Oracle AS MapViewer
Software & 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 MapViewer
How 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 MapViewer
Steps 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 MapViewer
Resources
OTN: Oracle AS MapViewer
http://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

Oracle AS MapViewer
Demonstration

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 Network http://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 Forums http://htmldb.oracle.com/forums

QUESTIONS ANSWERS

Das könnte Ihnen auch gefallen