Build Your Own Portlets This Quick Tour has already shown you how easy it is to create new content areas and applications and add them to your portal. But does Oracle Portal let you add your existing content and applications to your portal without you having to start all over again? The answer to this question is "yes!" Seamless integration of existing content and applications built with other tools is possible by utilizing Oracle Portal's extensive portal services. In this section of the Quick Tour, you will learn more about the portal services and how you can build your own portlets.
Portlets provide a standardized, reliable, secure way to represent and package enterprise information. A portlet is made up of snippets of HTML that are added to a user-specified region on a page when the page is drawn. From a developer's perspective, portlets are PL/SQL procedures or Java servlets that execute on the server and are rendered as HTML or XML/XSL within the page. You can build portlets with a variety of tools, including Java tools such as Oracle JDeveloper. Examples of application and content-driven portlets include a corporate data report or chart, news links from the Internet, a central directory of Intranet sites, and a folder containing items which you can easily retrieve and publish. Before portlets can be added, you must create an entity that owns the portlet, named the portlet provider, and register it with Oracle Portal. A portlet provider is a Java class or PL/SQL package that exposes a data source or application to Oracle Portal through one or more portlets. A portlet provider has the following characteristics:
The best example of a portlet provider is Oracle Portal itself. All Oracle Portal product features are exposed as portlets including Oracle Portal security, administration, application building, and self-service publishing. What Portlets Are Available for My Portal? The portlets that make up a page are drawn from a library of portlets, called the portlet repository, which is accessible to an authorized Oracle Portal user. This library consists of the following portlets:
The portlet repository is refreshed periodically to update the list with newly added or deleted portlets. How are Custom Portlets Implemented? You can implement portlets by using either:
Programmable Portlets: Lets you build portlets programmatically using the Oracle Portal Development Kit (PDK) according to published APIs. Two forms of programmatic portlets are supported:
Why Build Programmable Custom Portlets? As you become more familiar with Oracle Portal, you'll want to build custom portlets to support your company's specific business needs. You'll also need to build your own portlets, in the following situations:
If you are an IT staff member, an SI, or an ISV called upon to develop portlets, refer to the Oracle Portal Development Kit (PDK). This is a self-service guide detailing the Oracle Portal API set as well as numerous examples that demonstrate API implementation. You can find the PDK on the Oracle Technology Network at http://technet.oracle.com/. While building your own portlets, you can take advantage of the common portal services provided by the Oracle Portal framework. This rich set of services enables you to build powerful portlets without having to create your own infrastructure entirely yourself! These common portal services include:
You can refer to the examples provided with the PDK which explain in detail how to use these services to extend your own portlets. Oracle Portal leverages Oracle's Web-based Login Server architecture for user authentication. The Login Server provides a single, enterprise-wide authentication mechanism that allows users to identify themselves securely to multiple applications through a single authentication step, called Single Sign-On. The Oracle Portal Security API package secures the portlet by verifying that the current portal user is a member of a privileged portal group. Using Oracle Portal's security package, Oracle Portal applications can verify user access privileges before routines are executed, and can redirect browsers to the Login Server when authentication is required. Access to pages within the portal are also defined by security privileges. Users requesting a page can access public pages as well as those portlets and pages for which they have been granted access. |
Copyright
© 1995, 2000 Oracle Corporation.
All Rights Reserved. |