![]() |
Sun ONE Portal Server Developer's Guide |
ContentsWho Should Read This Book
What You Need to Know
How This Book is Organized
Document Conventions Used in This Guide
Monospaced Font
Where to Find Related Information
Bold Monospaced Font
Italicized Font
Command-Line Prompts
Where to Find This Guide Online
Chapter 1 Introduction to the APIsOverview
What Is a Portal?
Overview of the APIs
Desktop and Desktop Hierarchy
Display Profile
Deploying Channels
Search Engine
Software Services
Application Development
Software Architecture
Desktop APIs
Portal Environment
Search APIs
Authentication APIs
Chapter 2 Using Provider API (PAPI)Overview of the Provider API and Desktop Servlet
The Provider API
Overview of Implementing a Custom Provider
The DesktopServlet
Defining Specific Requirements and Functionality
Instructions for Extending the PAPI
Developing the Provider Class File
Creating XML Fragments for Display Profile
Installing the Provider
Implementing the Provider Interface
Extending the ProviderAdapter Class
Extending the ProfileProviderAdapter Class
Chapter 3 Using Leaf ProvidersIntroduction
JSPProvider
Invoking a JSP
URLScraperProvider
Extending the JSPProvider
Deploying JSP Tags and Tag Libraries
Scraping Content from the URL
XMLProvider
Extending the URLScraperProvider
Retrieving XML Content
Extending the XMLProvider
Chapter 4 Using the Container ProvidersThe ContainerProvider Architecture
Overview of the ContainerProviders
ContainerProvider
JSPContainerProviderAdapter
ContainerProviderContext
ContainerProviderAdapter
JSPSingleContainerProvider
Creating a Custom ContainerProvider
JSPTableContainerProvider
TabContainer
JSPTabContainerProvider
Chapter 5 Search Engine RobotSearch Engine Robot Overview
How the Robot Works
Robot Completion Scripts
Robot Configuration Files
The Filtering Process
Stages in the Filter Process
Monitoring cmdHook Execution
Creating New Robot Application Functions
Preparing Your Completion Script to Appear in the Administration Interface
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 ObjectsWhat 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 CWhat 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 DatabaseThe Search Engine Java SDK
Running the Sample Applications
To Install and Run the Search Demo Command Line Program
Using Java To Access the Search Server Database
To Install and Run the Search Demo Applet
Creating a Search Object
Using Java To Add Entries to the Search Engine Database
Executing A Query and Getting the Results
Chapter 9 Localizing Sun ONE Portal ServerTemplates and JSPs
Desktop Templates
Resource Bundles
File Lookup Mechanism
File Naming Convention
Display Profile Properties
File Installation Location
File Entries Format
Resource Bundle Access
To Localize the User Information Channel
Localization Support in PAPI