Sun Java System Portal Server 7.1 Developer Sample Guide

Developing the Container

When developing a container, you can do the following:


Note –

You cannot create a container provider by just extending the Provider class. By definition, a container must implement the ContainerProvider interface. ContainerProviderAdapter does this. See the Sun Java System Portal Server 7.1 Developer’s Guide for more information on creating custom container providers.


If you write a new class file, it must reside in the PortalServer-DataDir/portals/portal-ID/desktop/classes directory. You can change this location by editing the PortalServer-DataDir/portals/portal-ID/config/desktopconfig.properties file. The providerClassBaseDir setting in the desktopconfig.properties file determines the directory where the classes will be picked up.