Hi All, Hi Ted, Hi Craig,

I got the paragraf below from page at Ted Husted site:

http://husted.com/about/scaffolding/catalog.htm

"Provide session management for cached resources."
"Most Web applications require use of a workflow, and need to save 
ActionForms and other attributes for future use. These items may also need 
to be released in a block when the workflow completes. A convenient way to 
handle this is to define a "Resource Cache". This can simply be a hash map 
that uses a wrapper object to manage its items. The wrapper object can 
include a named "scope", a property to indicate whether the item is 
permanent or temporary, and a counter. To keep the cache manageable, a 
threshold can be set, and the oldest temporary items removed when the 
threshold is reached and a new item needs to be added."

I asked this question to Craig previously and I got a response which I 
agree. However, this paragraf make me get some doubts.

As far as I understand, Ted suggest, the creation of caches of resources in 
memory, managed by session. However, in clustered environments, memory would 
be lost when VM is switched, so resources cache would be not accessible. 
This would not happen if cache is held in session, because session 
management in web containers.

Sorry is this a repeated question, gratefully responsed by Craig but 
paragraf takes me worried. Is it a mistake or just it suppose a single 
server environment. Maybe I missuderstood.

Regards,

Adolfo



_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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

Reply via email to