| Last Updated: | November 13, 2003 |
| Status: | Production |
| Version: | PDK Release 9.0.4 |
Welcome to URL-based portlets. Now that you have successfully installed the PDK Framework and samples, you may want to create URL-based portlets.
Note: URL-based portlets enable you to expose content from external websites as portlets using a manual, XML file-based approach. However, if you are targeting your provider to be registered with OracleAS Portal 9.0.2 or later, the recommended approach to perform the same task is to use the Web Clipping Portlet. To find out about using Web Clipping or how to migrate your URL-based portlet to Web Clipping, go to the OmniPortlet and Web Clipping area of Portal Center.
URL-based portlets has extended the PDK to support portlets created in any Web-based language. This article describes how to install and configure the URL-based portlet samples. There are three portlets in the URL-based samples:
The URL-based portlets are pre-configured within jpdk.ear, with a service ID of urn:urlsample
The URL-based portlets are pre-configured within the jpdk.ear. However, you may need to change the provider.xml file to specify the proxy server you use. Open the provider.xml file for the sample (it should be located in the WEB-INF/providers/urlsample directory) and provide appropriate replacement values for the following tags:
Note: You will either need to alter these tags or remove them. The portlets access URL's over the internet, so if you may or may not need a proxy server to access external URL's.
<proxyInfo class="oracle.portal.provider.v2.ProxyInformation">
<httpProxyHost>proxyServer.myDomain.com</httpProxyHost>
<httpProxyPort>80</httpProxyPort>
</proxyInfo>
For example: <stylesheet><OC4J_HOME>\j2ee\home\applications\jpdk\jpdk\htdocs\urlsample\default_mit.xsl</stylesheet>
Next, you can test that the sample is properly configured with OC4J.
For example: http://myserver.mydomain.com:port/jpdk/providers/urlsample
You must now register the provider with OracleAS Portal.
| Revision History: |
|
| Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores, CA 94065, USA http://www.oracle.com/ |
Worldwide Inquiries: 1-800-ORACLE1 Fax 650.506.7200 |
Copyright and Corporate Info |