RE: A brief report on Jetspeed Portlet Caching

2002-05-13 Thread Glenn Golden
it already is! - Glenn -Original Message- From: David Sean Taylor [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 12:32 AM To: 'Jetspeed Developers List' Subject: RE: A brief report on Jetspeed Portlet Caching Glenn, I ran a little test, seems like I've got a patch

RE: A brief report on Jetspeed Portlet Caching

2002-05-13 Thread Setera, Craig
static method. Am I missing something here? Craig -Original Message- From: Glenn Golden [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 8:03 AM To: 'Jetspeed Developers List' Subject: RE: A brief report on Jetspeed Portlet Caching David - I'm unsure what Java does when calling

RE: A brief report on Jetspeed Portlet Caching

2002-05-13 Thread David Sean Taylor
-Original Message- From: Glenn Golden [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 6:03 AM To: 'Jetspeed Developers List' Subject: RE: A brief report on Jetspeed Portlet Caching David - I'm unsure what Java does when calling a static member of a class

RE: A brief report on Jetspeed Portlet Caching

2002-05-13 Thread Glenn Golden
13, 2002 10:42 AM To: 'Jetspeed Developers List' Subject: RE: A brief report on Jetspeed Portlet Caching -Original Message- From: Glenn Golden [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 6:03 AM To: 'Jetspeed Developers List' Subject: RE: A brief report on Jetspeed

RE: A brief report on Jetspeed Portlet Caching

2002-05-13 Thread David Sean Taylor
-Original Message- From: Setera, Craig [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 5:59 AM To: 'Jetspeed Developers List' Subject: RE: A brief report on Jetspeed Portlet Caching Can anyone explain why the cache key creation is a static member? Looking at the code

RE: A brief report on Jetspeed Portlet Caching

2002-05-13 Thread Glenn Golden
Message- From: David Sean Taylor [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 10:42 AM To: 'Jetspeed Developers List' Subject: RE: A brief report on Jetspeed Portlet Caching -Original Message- From: Glenn Golden [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13

RE: A brief report on Jetspeed Portlet Caching

2002-05-13 Thread David Sean Taylor
: RE: A brief report on Jetspeed Portlet Caching David - I'd like to take advantage of the solution you outlined here. If you have the code close to checkin and time to do it, I encourage you to check it in. If not, I can take a shot at it. Lets extend PortletConfig to hold

RE: A brief report on Jetspeed Portlet Caching

2002-05-13 Thread Glenn Golden
Developers List' Subject: RE: A brief report on Jetspeed Portlet Caching Glenn, Okay, will add: 1. page id to portletconfig 2. AbstractInstancePortlet, and make VelocityPortlet extend it Starting on it now David -Original Message- From: Glenn Golden [mailto:[EMAIL PROTECTED

RE: A brief report on Jetspeed Portlet Caching

2002-05-13 Thread David Sean Taylor
Yes to both questions -Original Message- From: Glenn Golden [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 9:51 AM To: 'Jetspeed Developers List' Subject: RE: A brief report on Jetspeed Portlet Caching Cool - this is in addition to the portlet id you already added

RE: A brief report on Jetspeed Portlet Caching

2002-05-13 Thread Todd Kuebler
I believe the reason that getHandle is static is because they didn't want to create the object until it was actually needed. So you get the handle, look it up in the cache. If its not in the cache, then create the object. The disk cache uses this same technique, seems to be a commonly

Re: A brief report on Jetspeed Portlet Caching

2002-05-12 Thread Glenn R. Golden
I stand (or more properly just now, sit) corrected: The JetspeedPortletCacheService *does* check the Cacheable's isCacheable() before letting it be cached. JetspeedPortletFactoryService does not have to be fixed for this. The bigger issue of caching and instance still remains... - Glenn On

RE: A brief report on Jetspeed Portlet Caching

2002-05-12 Thread David Sean Taylor
Glenn, I ran a little test, seems like I've got a patch, but haven't tested it much. Added the id from the psml-entry into the PortletConfig, and then use it in getHandle. Here is summary of the most important changes: JetspeedPortletFactoryService: public static Portlet getPortlet( String