Re: RE DOCS for embedding pluto including examples? walkthrough perhaps..

"David H. DeWolf" <[email protected]>
Newsgroups gmane.comp.jakarta.pluto.user
Message-ID <[email protected]>

Anders Bengtsson wrote:
> 
> 
> David H. DeWolf wrote:
>> What details are you looking for?  Each of these services needs to be 
>> implemented in an application  specific means.  If you really don't have 
>> any idea where to start, then you probably don't need a custom solution 
>> and you should probably be using the pluto portal driver instead of 
>> embedding the container directly.
>>
>> Where are you stuck?  Have you considered using the driver's 
>> implementation?
>>
> 
> Hi David,
> 
> Actually, it *is* the Pluto Portal Driver we're trying to use. But we can't
> find any documentation on how to use it. There's the API JavaDocs and a big
> heap of configuration property files, but that seems to be it.

Really? There should only be 2 configuration files.  Which ones are you 
referring to?

> 
> I think what we want is to be able to bootstrap the container from java
> code, with a minimum of configuration files, etc.

If you want to bootstrap the container, then you're probably not using 
the driver.  The driver does the bootstrapping for you. . . can you 
explain more?

If you want to bootstrap, you need to create the container yourself. 
You can either use the container factory for that or you can use an IoC 
container to glue it together. The biggest task you'll undertake is 
implementing the services which the container needs to execute.  This 
primarily includes giving the container a way to create urls in a way 
that your application can understand.

> 
> What we have is a CMS (Magnolia) that we want to embed in our web site, and
> the only useful API the CMS provides for that is the Portlet API.
> Essentially we're just trying to get a single Portlet to render in a legacy
> JSP page (i.e. no option to use a special Servlet or anything).

Gotcha, that should definitely be a piece of cake, and since it 
obviously hasn't been for you, we need to do some documentation (as a 
side note, you may want to consider using a servlet instead of a jsp to 
perform the actual integration).  You definitely don't need the portal 
driver for this type of functionality.

This is great feedback.  I'll try to put together a tutorial over the 
weekend which details how to do this.  Would you be willing to review it 
and provide some enhancements based on your experiences?


David


> 
> /A
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.