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 "David H. DeWolf" <dd...@apache.org> on 2004/10/24 06:24:01 UTC
Re: Pluto 1.1: portlet.xml
Scott Anderson wrote:
> David,
>
> I didn't know if this type/level of discussion would
> be a distraction for the pluto-dev list considering
> the focus is still on the 1.0.1 release. If I am
> wrong, let me know. That said...
I'm actually going to copy the Pluto dev list on my response. Not only
is this type of discussion pertinent to the list, it also allows others
to benefit from the discussion and join in with their input.
Additionally, often times it's emails like your comments that help
others get interested and help the community grow. Thanks for your
concern about spamming the list though and no worries. . .
>
> I see that the 1.1 portlet container is loading
> portlet.xml for each portlet action and render request
> it handles. This seems *very* inefficient. Also, it
> could be the source of data integrity/synchronization
> problems if say a portal component loaded this
> information, used it or cached it, the xml file was
> updated, and then the portlet container acted upon the
> new data.
>
I couldn't agree more with you assessment. This is definitely an
inefficiency in 1.1 and is something that needs to be addressed. Quite
frankly, it's simply an area that hasn't been addressed yet. If you (or
anyone) would like to submit patches for it, I'd be happy to commit them.
> What was your thinking with this implementation?
> Perhaps it is a temporary solution?
Really there wasn't any thought behind it. It was simply the easiest
way to get things out the door so that people like yourself could start
looking under the covers and helping out. My thought is that several
heads are better than one and a caching solution that I come up with on
my own would not be nearly as good as one that we all work on together.
. .so, in short, you are right, this is a temporary solution.
>
> I would rather see a portlet container service manage
> a registry of cached portlet application
> configurations with perhaps support for a refresh
> method along with some kind of
> ConfigurationChangeListener mechanism.
Not a bad idea at all. I'm looking forward to continued discussion and
possible patches for this solution. . .
>
> Scott
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>