You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by Carsten Ziegeler <cz...@s-und-n.de> on 2004/01/06 12:20:16 UTC

Question about the Pluto OM

I have some problems understanding the OM of Pluto. From what I have
seen a PortletEntity is the "instance" of a portlet for a specific user.
So if two users see the same portlet, they have their own PortletEntity
object.
Now, what I don't understand is the PortletApplicationEntity. How does
this fit into the picture?

Thanks
Carsten 

Carsten Ziegeler 
Open Source Group, S&N AG
http://www.osoco.net/weblogs/rael/

RE: Question about the Pluto OM

Posted by Endre Stølsvik <En...@Stolsvik.com>.
On Wed, 7 Jan 2004, Carsten Ziegeler wrote:

| Stefan Hepper wrote:
| > 
| > :-)
| > just to make it (hopefully) more clear I would put it this way:
| > - all portlet entities created from portlets of the same portlet 
| > application are grouped into one portlet application enity in pluto 1.0
| Ok.
| 
| > - one portlet application may have more than one application entity 
| > based on this portlet application. Each portlet application entity 
| > consists of portlet entities created out of portlets of this portlet 
| > application
| > 
| Ok.
| 
| I think I got it (more or less) and try to use this knowledge now - if
| it doesn't work the way I think, I come back ;)
| 
| > I really need to finish my whitepaper about the portlet container where 
| > the object model will be explained....
| > 
| :)

It would be -excellent- if you cared to add all these clarifications and
explainations to the Javadocs! Or I might have to ask all the questions
again! - really, it would be -very very good- if you guys could do that!


-- 
Mvh,
Endre Stølsvik               M[+47 93054050] F[+47 51625182]
Developer @ CoreTrek AS         -  http://www.coretrek.com/
CoreTrek corporate portal / EIP -  http://www.corelets.com/


RE: Question about the Pluto OM

Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Stefan Hepper wrote:
> 
> :-)
> just to make it (hopefully) more clear I would put it this way:
> - all portlet entities created from portlets of the same portlet 
> application are grouped into one portlet application enity in pluto 1.0
Ok.

> - one portlet application may have more than one application entity 
> based on this portlet application. Each portlet application entity 
> consists of portlet entities created out of portlets of this portlet 
> application
> 
Ok.

I think I got it (more or less) and try to use this knowledge now - if
it doesn't work the way I think, I come back ;)

> I really need to finish my whitepaper about the portlet container where 
> the object model will be explained....
> 
:)

Carsten

Re: Question about the Pluto OM

Posted by Stefan Hepper <st...@hursley.ibm.com>.

Carsten Ziegeler wrote:

> Stefan Hepper wrote:
> 
> 
>>no, the thing is that you can group portlet entities from one portlet 
>>application in portlet application enities. In the simplest case all 
>>portlet enities of one portlet app are in the same portlet app entity, 
>>like it is done currently in pluto. However, the concept allows to have 
>>more than one portlet app entity per portlet app in order to create 
>>different "instances" of the same portlet app.
>>
> 
> So (trust me, this is my last email on this topic :) ), if I have user 
> dependent portlet entities they are (can be) all grouped in one
> application entity. Right?
> 

:-)
just to make it (hopefully) more clear I would put it this way:
- all portlet entities created from portlets of the same portlet 
application are grouped into one portlet application enity in pluto 1.0
- one portlet application may have more than one application entity 
based on this portlet application. Each portlet application entity 
consists of portlet entities created out of portlets of this portlet 
application

I really need to finish my whitepaper about the portlet container where 
the object model will be explained....

Stefan



RE: Question about the Pluto OM

Posted by James Nguyen <se...@duskyblue.net>.
 

-----Original Message-----
From: Carsten Ziegeler [mailto:cziegeler@s-und-n.de] 
Sent: Wednesday, January 07, 2004 5:21 AM
To: pluto-dev@jakarta.apache.org
Subject: RE: Question about the Pluto OM

Stefan Hepper wrote:

> 
> Maybe it's not my best day either after a long vacation break ;-)
> 
:)

> no, the thing is that you can group portlet entities from one portlet 
> application in portlet application enities. In the simplest case all 
> portlet enities of one portlet app are in the same portlet app entity, 
> like it is done currently in pluto. However, the concept allows to 
> have more than one portlet app entity per portlet app in order to 
> create different "instances" of the same portlet app.
> 
Was this design created to support multiple container spec/impl as in the case
of WPS where it supports the jsr-168 spec and ibm's older portlet spec? 

James Nguyen
IT Professional



RE: Question about the Pluto OM

Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Stefan Hepper wrote:

> 
> Maybe it's not my best day either after a long vacation break ;-)
> 
:)

> no, the thing is that you can group portlet entities from one portlet 
> application in portlet application enities. In the simplest case all 
> portlet enities of one portlet app are in the same portlet app entity, 
> like it is done currently in pluto. However, the concept allows to have 
> more than one portlet app entity per portlet app in order to create 
> different "instances" of the same portlet app.
> 
So (trust me, this is my last email on this topic :) ), if I have user 
dependent portlet entities they are (can be) all grouped in one
application entity. Right?

Carsten

Re: Question about the Pluto OM

Posted by Stefan Hepper <st...@hursley.ibm.com>.

Carsten Ziegeler wrote:

> Stefan Hepper wrote:
> 
>>Carsten Ziegeler wrote:
>>
>>
>>>Stefan Hepper wrote:
>>>
>>>
>>>>PortletApplicationEnities group PortletEnities together. It is an
>>>>additional abstraction that allows to create different application
>>>>enities out of a portlet application without needing to change the
>>>>deplyoment descriptor and re-deploy the portlet application.
>>>>
>>>
>>>So, the PortletApplicationEnities are per user objects as
>>
>>PortletEntities,
>>
>>>right?
>>>
>>
>>Yes, but they don't need to be all for the same user, it's just a bucket
>>for portlet entities of this portlet application and settings defined on
>>application level.
>>
> 
> 
> Sorry, it seems that this is not my best day today, so I have to ask further
> :)
> 

Maybe it's not my best day either after a long vacation break ;-)

> I think, you distinguish between "global" portlet entites and "user" portlet
> entities.
> Is this right?

No, I don't distinguish between something like this on the application 
level. I just wanted to make clear that there is no concept like a user 
bound portlet application enitity.

> So, I can have a "global" PortletApplicationEnitity that groups "global"
> portlet
> entities and perhaps "user" PortletApplicationEnitity that groups "user"
> portlet
> entities.
> 
> Then I have in my portal application one instance of the "global"
> PortletApplicationEnitity
> and several instances (one per user) of the "user"
> PortletApplicationEnitity.
> 
> Or in other words, if I have portlet entities that have a per user setting
> (configuration/preferences) than I have to group these in one (or more)
> PortletApplicationEntity that is a per "user" one.
> 
> Is this correct?
> 

no, the thing is that you can group portlet entities from one portlet 
application in portlet application enities. In the simplest case all 
portlet enities of one portlet app are in the same portlet app entity, 
like it is done currently in pluto. However, the concept allows to have 
more than one portlet app entity per portlet app in order to create 
different "instances" of the same portlet app.

Stefan


RE: Question about the Pluto OM

Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Stefan Hepper wrote:
>
> Carsten Ziegeler wrote:
>
> > Stefan Hepper wrote:
> >
> >>PortletApplicationEnities group PortletEnities together. It is an
> >>additional abstraction that allows to create different application
> >>enities out of a portlet application without needing to change the
> >>deplyoment descriptor and re-deploy the portlet application.
> >>
> >
> > So, the PortletApplicationEnities are per user objects as
> PortletEntities,
> > right?
> >
>
> Yes, but they don't need to be all for the same user, it's just a bucket
> for portlet entities of this portlet application and settings defined on
> application level.
>

Sorry, it seems that this is not my best day today, so I have to ask further
:)

I think, you distinguish between "global" portlet entites and "user" portlet
entities.
Is this right?
So, I can have a "global" PortletApplicationEnitity that groups "global"
portlet
entities and perhaps "user" PortletApplicationEnitity that groups "user"
portlet
entities.

Then I have in my portal application one instance of the "global"
PortletApplicationEnitity
and several instances (one per user) of the "user"
PortletApplicationEnitity.

Or in other words, if I have portlet entities that have a per user setting
(configuration/preferences) than I have to group these in one (or more)
PortletApplicationEntity that is a per "user" one.

Is this correct?

Carsten


Re: Question about the Pluto OM

Posted by Stefan Hepper <st...@hursley.ibm.com>.

Carsten Ziegeler wrote:

> Stefan Hepper wrote:
> 
>>PortletApplicationEnities group PortletEnities together. It is an 
>>additional abstraction that allows to create different application 
>>enities out of a portlet application without needing to change the 
>>deplyoment descriptor and re-deploy the portlet application.
>>
> 
> So, the PortletApplicationEnities are per user objects as PortletEntities,
> right?
> 

Yes, but they don't need to be all for the same user, it's just a bucket 
for portlet entities of this portlet application and settings defined on 
application level.

Stefan


RE: Question about the Pluto OM

Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Stefan Hepper wrote:
> 
> PortletApplicationEnities group PortletEnities together. It is an 
> additional abstraction that allows to create different application 
> enities out of a portlet application without needing to change the 
> deplyoment descriptor and re-deploy the portlet application.
> 
So, the PortletApplicationEnities are per user objects as PortletEntities,
right?

Thanks Stefan!
Carsten

Re: Question about the Pluto OM

Posted by Stefan Hepper <st...@hursley.ibm.com>.
PortletApplicationEnities group PortletEnities together. It is an 
additional abstraction that allows to create different application 
enities out of a portlet application without needing to change the 
deplyoment descriptor and re-deploy the portlet application.

Stefan

Carsten Ziegeler wrote:
> I have some problems understanding the OM of Pluto. From what I have
> seen a PortletEntity is the "instance" of a portlet for a specific user.
> So if two users see the same portlet, they have their own PortletEntity
> object.
> Now, what I don't understand is the PortletApplicationEntity. How does
> this fit into the picture?
> 
> Thanks
> Carsten 
> 
> Carsten Ziegeler 
> Open Source Group, S&N AG
> http://www.osoco.net/weblogs/rael/
>