Dear Karthik,
my suggestion applies to the particular case in which you have a webapps
application running under TOMCAT (as Jetspeed) and you want to embed it into
Jetspeed, using it as a "frame" only.

1. create a YOUR_APP.xreg in folder [TOMCAT]\wbapps\jetspeed\WEB-INF\conf,
defining an IFramePortlet (take an example from those already present in
other xreg files):

<?xml version="1.0" encoding="UTF-8"?>
<registry>
    <portlet-entry name="YOUR_APP" hidden="false" type="ref"
        parent="IFramePortlet" application="false">
        <security-ref parent="user-view_admin-all"/>
        <meta-info>
            <title>YOUR APP(framed)</title>
            <description>YOUR APP within jetpseed!!!</description>
        </meta-info>

<classname>org.apache.jetspeed.portal.portlets.IFramePortlet</classname>
        <parameter name="source" value="/YOUR_APP/YOUR_APP_Starting_Jsp.jsp"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="width" value="100%" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="height" value="600" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="align" value="middle" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="scrolling" value="auto" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="frameborder" value="0" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="refresh" value="3600" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="marginwidth" value="0" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="marginheight" value="0" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <media-type ref="html"/>
        <url cachedOnURL="false"/>
        <category group="Jetspeed">YOUR_WEBAPPS_CATEGORY</category>
    </portlet-entry>
</registry>

2. stop TOMCAT;
3. get YOUR_APP.war and put it into [TOMCAT]\webapps;
4. start TOMCAT and check it create folder YOUR_APP;
5. login as Admin into Jetspeed;
6. with PSML browser, select a psml you want to use to embed  your WEBAPP;
7. open the PSML and customize it adding the YOUR APP (framed) portlet;
8. logout :-);
9. login as the user with the modified PSML and see if it works!

This should allow to have your webapp running within Jetpseed BUT (take
care) independently!!!

Have a nice day
Stefano


----- Original Message ----- 
From: "Karthik" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Friday, May 07, 2004 8:17 PM
Subject: RE: Converting the existing application into portal framework


Hi Bianchi,

Thanks for your reply/help. Im looking for the better solution (I have no
idea of which will be better solution).

OK, now consider this:

I have a login page authenticating users. If I want to implement this in a
portal framework what steps do I need to follow? I use Jboss and my coding
is done JSP and Servlets.

Please suggest the steps I should follow.

Thanks in advance,
Karthik.G

-----Original Message-----
From: Stefano Bianchi [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 12:49 PM
To: Jetspeed Users List
Subject: Re: Converting the existing application into portal framework

Dear Karthik,
my personal experience for a quick setup:

use an IFramePortlet to host an external webapp inside Jetspeed

Everything "seems" integrated but you keep modules separated.
All my portal is setup this way.

Hope it helps somehow
Cheers,
Stefano


----- Original Message ----- 
From: "Karthik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 9:24 AM
Subject: Converting the existing application into portal framework


Hi All,



I have just started to work on portal implementation of our Web Application
using Jetspeed-1.5.



My present scenario is:



 1. I have a working web application.

 2. I have to implement the portal concept into my web application.

 3. I have downloaded the Jetspeed1.5 war file and deployed into my
Application server (I’m using Jboss).



My doubts are:



 4. Now, how should I convert the existing application into individual
portlets and where should I deploy these portlets.

 5. Will my portlet application work independently or will I be required to
deploy my portlet application inside the      JetSpeed.



 Any help will be appreciated. Thanks in Advance.



Best regards,

Karthik.G




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.665 / Virus Database: 428 - Release Date: 4/21/2004




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.665 / Virus Database: 428 - Release Date: 4/21/2004


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.678 / Virus Database: 440 - Release Date: 5/6/2004




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to