Skip to Content
Sun and Oracle
Channel Sun
How to Buy
Log In
English
docs.sun.com Home
>
Sun Java System Portal Server 7
> Sun Java System Portal Server 7 Developer's Guide
Sun Java System Portal Server 7 Developer's Guide
Search only this book
Search Help
Contained Within
Sun Java System Portal Server 7
Find More Documentation
Browse Documentation Titles
Browse Product Documentation
Featured Support Resources
Sun Training Courses
BigAdmin System Admininstration Portal
Sun Support Center
Sun Solve
Download this book in PDF (1107 KB)
Sun Java System Portal Server 7 Developer's Guide
Book Information
Preface
Who Should Use This Book
Related Books
Related Third-Party Web Site References
Documentation, Support, and Training
Typographic Conventions
Shell Prompts in Command Examples
Default Paths and File Names
1. Introduction to the APIs
Overview of Portal Server Software
Overview of the APIs
Portal Environment
2. Overview of the Provider API (PAPI)
Introduction to the Provider API
The Provider API
ProviderAdapter Class
ProviderContext Interface
ProviderEditTypes Interface
The Provider Life Cycle
3. Overview of the Desktop Servlet
Introduction to DesktopServlet
DesktopServlet Actions
4. Overview of the Leaf Providers
Introduction to Leaf Providers
The URLScraperProvider
The XMLProvider
5. Overview of the Container Providers
The ContainerProvider Architecture
Overview of the ContainerProviders
ContainerProviderContext Interface
JSPContainerProviderAdapter Class
JSPTableContainerProvider Class
The TabContainer
JSPTabContainerProvider Class
6. Overview of Implementing a Custom Provider
Overview of Defining a Custom Provider
Defining Specific Requirements and Functionality
Developing the Provider Class File
Creating XML Fragments for Display Profile
Installing the Provider
7. Extending the Base Providers
Implementing the Provider Interface
To create a custom provider by implementing the Provider interface
Extending the ProviderAdapter Class
To create a custom provider by extending the ProviderAdapter class
Extending the ProfileProviderAdapter Class
To Create a Provider by Extending the ProfileProviderAdapter Class
To Create a Provider by Extending the ProfileProviderAdapter Class
Extending the PropertiesFilter Class
To create a custom filter by extending the PropertiesFilter class
8. Extending the Leaf Providers
Extending the JSPProvider
Extending the URLScraperProvider
To Extend the URLScraperProvider
Extending the XMLProvider
To Extend the XMLProvider
9. Extending the Container Providers
Extending the JSPSingleContainerProvider
To Develop the CustomSingleContainerProvider
Extending the JSPTableContainerProvider
Extending the JSPTabContainerProvider
To Develop the CustomTabContainerProvider
10. Creating a Custom ContainerProvider
Creating a Custom ContainerProvider
To Develop the RouterContainerProvider
11. Overview of the Portlets
What is a Portlet?
Overview of Developing and Deploying Portlets
To develop and deploy portlets
12. Extending the GenericPortlet Abstract Class
Introduction to Extending the GenericPortlet Abstract Class
Developing the Class File
Compiling the Portlet
Creating a Portlet Web Application
To create a portlet web application:
Deploying the Application
Creating Channels from the Deployed Portlets
Debugging the Portlet
13. Converting Providers to Portlets
Introduction to Converting Providers to Portlets
Mapping ProviderAdapter to GenericPortlet
Sample Code Fragments for Provider to Portlet Conversion
14. WSRP: Validating Registration Data
Overview of WSRP Communication
Registering with the Producer
Validating the Registration Data
15. WSRP: Defining Custom Registration Validators
Implementing the RegistrationValidator Interface
To Develop the DefaultRegistrationValidator
Installing the Class File
To install via the web container WAR file:
Customizing the Return Codes
To customize the return codes:
Configuring the Producer’s Registration Validator
To administer the producer:
16. Search Engine Robot Overview
Introduction to the Search Engine Robot
How the Robot Works
Robot Configuration Files
The Filtering Process
Stages in the Filter Process
17. Robot Completion Scripts
Introduction to Robot Completion Scripts
Monitoring cmdHook Execution
Preparing Your Completion Script to Appear in the Administration Interface
18. Overview of the Robot Application Functions
Introduction to Robot Application Functions
Robot Plug-in API Overview
To Create Custom Plug-In Functions
The Robot Application Function Header Files
19. Writing New Robot Application Functions
Overview of Writing Robot Application Functions
Compiling and Linking your Code
Loading Your Shared Object
Using your New Robot Application Functions
20. Overview of the SOIF API
Introduction to the SOIF API
What is SOIF?
Using the SOIF API
An Introductory Example
Getting Search Server Database Contents as a SOIFStream
21. SOIF API
Functions and Objects
SOIF Structure
Attribute-Value Pair Routines
Multi-valued Attribute Routines
Stream Routines for Parsing and Printing SOIFs
Filtering SOIF Objects
Memory Buffer Management
22. Overview of RDM
Introduction to RDM
RDM Format Syntax
23. About the RDM API
Introduction to the RDM API
rdm.h File
API Reference
An RDMHeader
An RDMQuery
24. Example of Submitting a Query
Overview of Submitting a Query
RDMHeader and RDMQuery Object Parameters
Running the Example
To Run the Example
25. Overview of the Search Engine Java SDK
Introduction to Search Engine Java SDK
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
26. Using Java To Access the Search Server Database
Creating a Search Object
Executing A Query and Getting the Results
Working Through An Example Search Application
27. Using Java To Add Entries to the Search Engine Database
rdmgr Command
SOIF Object
Constructing and Submitting a Request
28. Federated Search samples in Search SDK
Federated Search samples in Search SDK
29. Developing a New Database or Search Engine Connector
Developing a New Search Engine Connector
To Develop a New Federated Search Connector
30. Localization: Templates and JSPs
Desktop Templates
File Lookup Mechanism
31. Localization: Properties
Resource Bundles
Display Profile Properties
To Localize the User Information Channel Display Profile
32. Localization Support in PAPI
Localization Support in ProviderContext
Localization Support in ProfileProviderAdapter
News Center
About Sun
Contact Sun
Terms of Use
Privacy
Copyright
1994-2009
Sun Microsystems, Inc.