Files
hello_provider.pks: Detailed comments and headers for the Provider.Documentationhello_provider.pkb: Logic behind the Provider.
helloworld_portlet.pks: Detailed comments and headers for the PL/SQL portlet using Java stored procedures.
helloworld_portlet.pkb: Logic behind the PL/SQL portlet using Java stored procedures.
HelloWorldJava.java: Java source file containing static methods which return content for the various SHOW modes.
HelloWorldJava.class: Java class called by helloworld_portlet.pks.
helloinst.sql: SQL script internally called by install.cmd to load the .pks and .pkb files.
install.cmd: Main installation file that installs this sample (NT).
install.sh: Main installation file that installs this sample (Unix).
installing.plsql.portlet.sample.using.java.stored.procedures.html : This document.
Installing the Packages
on NT C:\portal30\webdb30\admin\plsql\wwc
Later, you will run this script to grant permission to call Oracle Portal APIs.
NT: install.cmd <provider_schema> <provider_schema_passwd> <connect_string>
Unix: install.sh <provider_schema> <provider_schema_passwd> <connect_string>
For Oracle Portal to display this Provider (and for your users to see its portlets), you need to register the new provider with Oracle Portal.
Login to Oracle Portal as a portal administrator.
Click the Administer tab.
Under the Administer tab, click on Add a Portlet Provider within the portlet called Provider.
Fill out Provider information for the sample:
Note: This registration can also be done programmatically. Please see the PL/SQL API Reference for more information.
For more information on this sample, read the article Developing PL/SQL Portlets Using Java Stored Procedures.
Revision history:
September 26, 2001