WooHoo!  i'm looking forward to the PAR proposal!

Ingo,  on portlet deployment...

i've noticed that if i put portlets in a jar file in the WEB-INF/lib
directory they
automagically get set in the classpath and all i need do is then define
them in the
WEB-INF/conf/jetspeed-config.jcfg file to get them running.  further more
i've utilized
the existing WEB-INF/xsl directory for any xsl resources and used the web
servers
document root for any other resources.  is this a _bad_ idea?  it seemed a
bit
distributed, but that's how the sample portlets were laid out whether by
design or
default.

ttfn
--ron.  ;-)

___________________________________________________________________________
Make it your ambition to lead a quiet life, to mind your own business, and
to work with your
hands, just as we told you, so that your daily life may win the respect of
outsiders and so
that you will not be dependent on anybody.
1 Thessalonians 4:11-12


"Thomas F. Boehme" <[EMAIL PROTECTED]>@list.working-dogs.com> on
01/24/2001 04:13:57 AM

Please respond to "JetSpeed" <[EMAIL PROTECTED]>

Sent by:  <[EMAIL PROTECTED]>


To:   "JetSpeed" <[EMAIL PROTECTED]>
cc:
Subject:  Re: Portlet Deployment...



A proposal for PARs should be out by next week. The magic is in the
deployment descriptor...

Cheers,
Thomas B.

----- Original Message -----
From: "ingo schuster" <[EMAIL PROTECTED]>
To: "JetSpeed" <[EMAIL PROTECTED]>
Sent: Wednesday, January 24, 2001 11:50
Subject: Re: Portlet Deployment...


At 10:32 01/24/01, Kimpton,C (Chris) wrote:
>Hi,
>
>I was wondering what the preferred way of deploying a portlet was.
>
>For example, if I was using Turbine, I would include the turbine jar in
lib
>directory under the WEB-INF structure.
>
>Is this kind of thing possible with jetspeed - or should it be used more
>like tomcat, in that you tell it where to look for applications in its
>server.xml file.

You can't simply put a jar file somewhere and expect your portlet to run.
What you need to do is:
* Make the portlet's classfiles available in the classpath,
* Make the portlet's resources (images, etc) accessible somewhere below the
webserver's dorument root, and
* Register the portlet in the portlet registry
(WEB-INF/con/jetspeed-config.jcfg).
The portal needs to be restarted to read the changes in the portlet
registry - that's nasty.

I put portlet code in a directory below WEB-INF
(ROOT/WEB-INF/portlets/MyPortlet.jar) and its resources in a directory
right below the document root (ROOT/portlet_resources/MyPortley/*).

Where we need to get to is to have an packaging/installation mechanism like
WARs (in our case PARs), that can be installed automatically and at
run-time.
But that's still to solve and implement.

ingo.

>Thanks for the help.
>Chris
>
>
===========================================================================
=====================
>This electronic message (email) and any attachments to it are subject to
>copyright and are sent for the personal attention of the addressee.
>Although you may be the named recipient, it may become apparent that this
>email and its contents are not intended for you and an addressing error
>has been made. This email may include information that is legally
>privileged and exempt from disclosure. If you have received this email in
>error, please advise us immediately and delete this email and any
>attachments from your computer system.Rabobank International is the
>trading name of Coöperatieve Centrale Raiffeisen-Boerenleenbank B.A. which
>is incorporated in the Netherlands. Registered with the Registrar of
>Companies for England & Wales No. BR002630 and regulated by the SFA for
>the conduct of investment business in the UK.
>
>The presence of this footnote also confirms that this email has been
>automatically checked by Rabobank International for the presence of
>computer viruses prior to it being sent, however, no guarantee is given or
>implied that this email is virus free upon delivery.
>
>
>
>
>--
>--------------------------------------------------------------
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Search: <http://www.mail-archive.com/[email protected]/>
>List Help?:          [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]





--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]






--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to