Register or Edit Oracle PDK-Java Portlet Producer - Specify Connection Details

Use to provide connection details for an Oracle PDK-Java portlet producer.

Element Description

id

Enter the producer's URL, using the following syntax:

http://host_name:port_number/context-root/providers

  • host_name is the server to which your producer has been deployed.

  • port_number is the port to which the server is listening for HTTP requests.

  • context-root is the Web application's context root.

  • providers is static text. The text entered here depends on how the producer is deployed.

For example:

http://myHost:7778/myEnterprisePortlets/providers

Should you re-enter the wizard, the value for URL Endpoint is editable.

Service ID

Enter a unique identifier for this producer. PDK-Java enables you to deploy multiple producers under a single adapter servlet. Different producers are identified by their unique service IDs.

A service ID is required only when a service ID/producer name is not appended to the URL endpoint. For example the following URL endpoint requires the service ID, sample:

http://domain_name:port_number/context-root/providers

However, the following URL endpoint does not need a service ID:

http://domain_name:port_number/context-root/providers/sample

The service ID is used for looking up a file called service_id.properties, which defines the characteristics of the producer, such as whether to display its test page. Use any value to create the service ID.

Should you re-enter the wizard, the value for Service ID is editable.

Use Proxy for Contacting Producer

Select this checkbox if the application must use an HTTP proxy to contact the producer. The proxy is required in cases where the consumer application and the remote portlet producer are separated by a firewall and an HTTP proxy is needed for communication with the producer.Should you re-enter the wizard, the value for Use Proxy for Contacting Producer is editable.

Proxy Details

Provide details about the proxy host and port.

Note that the proxy fields on this panel default to the proxy preferences set in Oracle JDeveloper Preferences. (From the Tools menu, choose Preferences, then choose Web Browser and Proxy.)

  • Proxy Host - Enter the name of the proxy host.

    Should you re-enter the wizard, the value for Proxy Host editable.

  • Proxy Port

    Enter the port number used by the proxy host.

    Should you re-enter the wizard, the value for Proxy Port is editable.

Associate Producer with External Application

Select this checkbox if one of the producer's portlets requires authentication. Then, you can select an existing external application from the dropdown list, or click the Create a new External Application or Edit selected External Application icon to launch the Register External Application wizard to create or edit an external application.This option is enabled only when you register the portlet producer with a single application, that is, if you selected Application Resources in the previous page of the wizard. Should you re-enter the wizard, the value for Associate Producer with External Application is editable if an external application has been registered.
Enable Producer Sessions Select to enable portlet producer sessions.

Use this option to enable sessions between the producer and the server of the application that is consuming the portlet producer. For sessionless communication between the producer and the server, do not select this option. When sessions are enabled, the server maintains session-specific information, such as user name. Message authentication uses sessions, so if the shared key is set, this option should also be selected.

If the producer is registered with the application, then the Enable Producer Sessions property can be edited later.


Related Topics

"Managing Oracle PDK-Java Portlet Producers" in Administering Oracle WebCenter Portal

"Managing External Applications" in Administering Oracle WebCenter Portal