Portal provider beginner question

Hi

I m a beginner with portal server, and Im trying to create my own container and provider. Im looking at the standard channel that is installed with the portal server: JSPTabContainer

The authlessanoumous user is setup with JSPTabContainer as default channel, and portal Desktop type is anonymous,sampleportal.

From the xml files in /samples/desktop I see:

<Container name="JSPTabContainer" provider="JSPTabContainerProvider">

So Ive also looked at:

<Provider name="JSPTabContainerProvider" class="com.sun.portal.providers.containers.jsp.tab.JSPTabContainerProvider" version="2" >

Questions:

1.in the provider it refers to com.sun.portal.provicers.containers.jsp.tab.JSPTabContainerProvider. I believe this is a class located somewhere. Does anyone know where to find this class, or even better look at it as a .java file.

2.The name of the folder in /etc/opt/SUNWps/desktop/[type]/([provider]or[cannel]) is it directly referred to the value in <Container name=>?

I hope someone can helpe me with these questions.

Best Regards,

Kristian Grnli

[1151 byte] By [kristian_groenli] at [2007-11-25 20:07:41]
# 1

have a look at the sample portal directory under /etc/opt/SUNWPs/desktop/sample..

"JSPTabContainerProvider" is the general implementation

"JSPTabContainer" is the more specific one, you won't find all files that are in the first Dir listed in here.

This is done by the file lookup API. The more you define in the specific dir the less is retrieved from the general dir.

/etc/opt/SUNWps/desktop/[type]/([provider]or[cannel]

<type> is the directory name, in case you make a complete copy of <default> under ../desktop and name it "myPortal" then <type> is <myPortal> (case sensitive).

In case you don't make a complete copy and copy only the files you want to change everything that the file lookup mechanism doesn't find under <myPortal> is retrieved from <default>. In the GUI <type> is a multi value field, so s.th. like myPortal, sample, default is allowed.

<Container name> is then a node or leaf of the desktop container hierachy.

hth

/u

UlfFeger at 2007-7-4 14:30:09 > top of Java-index,Web & Directory Servers,Portal Servers...