[aida] Transient objects URI

Janko Mivšek janko.mivsek at eranova.si
Fri Dec 19 21:42:34 CET 2008


Esteban A. Maringolo wrote:
>>> How do you manage the url of transient objects?
>>>
>>> It is... not all the objects have a persistent RESTful URI.
> 
>> It would be nice if the URL resolver would be kind of WeakDictionary to
>> remove such an object automatically, but many Smalltalks are weak here,
>> so I gave up that idea quite early.
> 
> What kind of problems you had?
> 
> A WeakDictionary seems to be a naive solution, but effective.

Depends of the Smalltalk you use. It can be effective in VisualWorks but 
in Squeak people reports lots of problems while on Gemstone you don't 
have Weak collections at all.

Best regards
Janko

-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


More information about the Aida mailing list