beautypg.com

Sun Microsystems Portal Server 6 User Manual

Page 130

background image

Identity and Directory Structure Design

130

Portal Server 6 2005Q1 • Deployment Planning Guide

To use

URLScraperProvider

as a file scraper provider, specify the URL as

follows:

String name="url" value="file://

path/filename"

This is the best performing provider, in terms of how fast it retrieves content.
On the first fetch of content, performance for this provider is usually in the low
teen milliseconds. On subsequent requests, using a built-in caching
mechanism, this provider can usually deliver content in one millisecond or
less.

If applicable, consider using the file scraper provider in place of the URL

Scraper provider.

JSPProvider

. Uses JavaServer Pages™ (JSP) technology.

JSPProvider

obtains

content from one or more JSP files. A JSP file can be a static document (HTML
only) or a standard JSP file with HTML and Java programming language. A
JSP file can include other JSP files. However, only the topmost JSP file can be
configured through the display profile. The topmost JSP files are defined
through the

contentPage

,

editPage

, and

processPage

properties.

LoginProvider

. Provides access to the Access Manager authentication service

through a Portal Desktop channel. This provider enables anonymous Portal
Desktop login so that a user can log in directly from the Portal Desktop.

XMLProvider

. Transforms an XML document into HTML using an XSLT (XML

Style Sheet Language) file. You must create the appropriate XSLT file to match
the XML document type.

XMLProvider

is an extension of

URLScraperProvider

. This provider uses the JAXP 1.2 JAR files provided by

Web Server.

LDAP-based provider

. This type of provider retrieves information about a

user and use of personalization from user profile. It stays efficient as long as
the number of LDAP attributes stored is low. In general, this type of provider
is a good performer, second only to the file scraper provider within

URLScraperProvider

.

Database provider

. This type of provider utilizes a back-end database for its

content. It requires that you build database connection polling and that you
use small queries (either single queries, or no more than a couple). You might
also have to perform extra work for HTML formatting. In general, this type of
provider is the worst performer, due to its use of database connection pooling,
large database queries, poor coding, or lack of indexing on the retrieved data.
Additionally, once the data has been retrieved, the portal needs to perform a