Sun ONE logo     Previous      Index      Next     
Sun ONE Portal Server Developer's Guide



Contents

About This Guide

Who Should Read This Book
What You Need to Know
How This Book is Organized
Document Conventions Used in This Guide
Monospaced Font
Bold Monospaced Font
Italicized Font
Command-Line Prompts
Where to Find Related Information
Where to Find This Guide Online


Chapter 1 Introduction to the APIs
Overview
What Is a Portal?
Desktop and Desktop Hierarchy
Display Profile
Deploying Channels
Search Engine
Software Services
Application Development
Software Architecture
Overview of the APIs
Desktop APIs
Search APIs
Authentication APIs
Portal Environment


Chapter 2 Using Provider API (PAPI)
Overview of the Provider API and Desktop Servlet
The Provider API
The DesktopServlet
Overview of Implementing a Custom Provider
Defining Specific Requirements and Functionality
Developing the Provider Class File
Creating XML Fragments for Display Profile
Installing the Provider
Instructions for Extending the PAPI
Implementing the Provider Interface
Extending the ProviderAdapter Class
Extending the ProfileProviderAdapter Class


Chapter 3 Using Leaf Providers
Introduction
JSPProvider
Invoking a JSP
Extending the JSPProvider
Deploying JSP Tags and Tag Libraries
URLScraperProvider
Scraping Content from the URL
Extending the URLScraperProvider
XMLProvider
Retrieving XML Content
Extending the XMLProvider


Chapter 4 Using the Container Providers
The ContainerProvider Architecture
Overview of the ContainerProviders
ContainerProvider
ContainerProviderContext
ContainerProviderAdapter
JSPContainerProviderAdapter
JSPSingleContainerProvider
JSPTableContainerProvider
TabContainer
JSPTabContainerProvider
Creating a Custom ContainerProvider


Chapter 5 Search Engine Robot
Search Engine Robot Overview
How the Robot Works
Robot Configuration Files
The Filtering Process
Stages in the Filter Process
Robot Completion Scripts
Monitoring cmdHook Execution
Preparing Your Completion Script to Appear in the Administration Interface
Creating New Robot Application Functions
Robot Plug-in API Overview
The Robot Application Function Header Files
Writing Robot Application Functions
Compiling and Linking your Code
Loading Your Shared Object
Using your New Robot Application Functions


Chapter 6 Using the SOIF API to Work with SOIF Objects
What is SOIF?
Using the SOIF API
An Introductory Example
Getting Search Server Database Contents as a SOIFStream
SOIF API
SOIF Structure
Attribute-Value Pair Routines
Multi-valued Attribute Routines
Stream Routines for Parsing and Printing SOIFs
Filtering SOIF Objects
Memory Buffer Management


Chapter 7 Using the RDM API to Access the Search Engine and Database in C
What is an RDM?
RDM Format Syntax
About the RDM API
Example of Submitting a Query
Running the Example
API Reference
Finding the RDM Version
Creating and Freeing RDM Structures
RDMHeader
RDMQuery
Other RDM Structures


Chapter 8 Using Java to Access the Search Engine Database
The Search Engine Java SDK
Running the Sample Applications
To Install and Run the Search Demo Command Line Program
To Install and Run the Search Demo Applet
Using Java To Access the Search Server Database
Creating a Search Object
Executing A Query and Getting the Results
Using Java To Add Entries to the Search Engine Database


Chapter 9 Localizing Sun ONE Portal Server
Templates and JSPs
Desktop Templates
File Lookup Mechanism
Resource Bundles
File Naming Convention
File Installation Location
File Entries Format
Resource Bundle Access
Display Profile Properties
To Localize the User Information Channel
Localization Support in PAPI

Index


Previous      Index      Next     
Copyright 2002 Sun Microsystems, Inc. All rights reserved.