Sun Java System Portal Server 7 Enterprise Sample Guide

Understanding Channels

To the end user, a channel is a distinct area in the desktop, usually set off with a border and header row of icons. The icons enable users to configure the channel to their preference.

Channels are administered from the Portal Server administration console. The administration console allows you to create channels from pre-built as well as custom providers and to change channel preferences.

Channels can be implemented either as Providers or Portlets.

Note –

A “channel” is a Sun Java System Portal Server specific term. The portlet specification (JSR-168) does not use the term “channel”. Rather, the JSR-168 portlet specification uses the term “portlet window” to refer to a specific use of a portlet.

Desktop Providers

Providers are vertical channels that have a single use and can be reused (multiple channels can be created from a single provider) on a custom portal. Providers are Java class files based on the Provider API that can be used to construct both channels and page containers.

You can use the Portal Server pre-built providers such as JSPProvider, URLScraperProvider, and XMLProvider to implement channels without the need to write code.

For more information on the Provider API, see Sun Java System Portal Server 7 Developer’s Guide.

JSR-168 Portlets

Portlets function similarly to providers, however they are based on the API defined by the JSR-168 portlet specification.

The Sun Java System Portal Server includes the following sample portlets:

Note –

Use the Portal Server management console of command-line utilities to deploy these portlets at the Enterprise Sample organization level.

The advantages to using portlets are as follows:

Note –

For more information on the portlets, see Sun Java System Portal Server 7 Developer’s Guide.