Click Next to display the Portal Registration Property Values page

6-30 Oracle Fusion Middleware Developers Guide for Oracle Portal

6.4 Introduction to Oracle PDK-Java

Oracle PDK-Java gives you a framework to simplify the development of Java portlets by providing commonly required utilities and allowing you to leverage existing development skills and application components such as JSPs, servlets, and static HTML pages. Oracle PDK-Java also enables you to create portlets without having to deal directly with the complexity of communications between Oracle Portal and providers. The Oracle PDK-Java framework is divided into the following areas: ■ The Provider Adapter insulates the developer from the HTTP syntax defined by Oracle Portal for communication with Web providers. It translates the information passed between Oracle Portal and your Java Web provider. Without an adapter, your provider would not only manage portlets, but it would also have to communicate this information directly to Oracle Portal in the expected language. The adapter eliminates the need for your Web provider to understand the portal language and vice-versa. ■ The Provider Interface defines the APIs functions required by your Java implementation to integrate with the Provider Adapter. The Provider Adapter receives messages from the portal, translates them into calls to the Provider Interface, and translates the providers response into a format that the portal can understand. The Provider Interface contains a set of Java classes that define the methods your provider needs to implement and, in many cases, provides a standard implementation. Some of the primary classes are as follows: – ProviderDefinition oracle.portal.provider.v2.ProviderDefinition – ProviderInstance oracle.portal.provider.v2.ProviderInstance – PortletDefinition oracle.portal.provider.v2.PortletDefinition – PortletInstance oracle.portal.provider.v2.PortletInstance – ParameterDefinition oracle.portal.provider.v2.ParameterDefinition – EventDefinition oracle.portal.provider.v2.EventDefinition ■ The Provider Runtime provides a base implementation that follows the specification of the Provider Interface. The Provider Runtime includes a set of default classes that implement each one of the Provider Interfaces and enables you to leverage the rendering, personalization, and security frameworks provided with PDK-Java. These classes and the associated frameworks simplify the development of a provider by implementing common functions for Oracle Portal requests and providing a declarative mechanism for configuring the provider. Using the Provider Runtime, you can focus your development efforts on the portlets themselves rather than the infrastructure needed to communicate with the portal. If the standard behavior of the Provider Runtime does not meet your requirements, you can easily extend or override specific behaviors. Some of the primary classes are as follows: – DefaultProviderDefinition oracle.portal.provider.v2.DefaultProviderDefinition – DefaultProviderInstance oracle.portal.provider.v2.DefaultProviderInstance – DefaultPortletDefinition oracle.portal.provider.v2.DefaultPortletDefinition – DefaultPortletInstance oracle.portal.provider.v2.DefaultPortletInstance – PortletRenderer oracle.portal.provider.v2.render.PortletRenderer