Wouldn't singletons need to be multi-threaded otherwise you will get probems
with concurrency. Would a pooled resource pattern make more sense if you
validators/converters are costly to create?
_
From: Iordanov, Borislav (GIC) [mailto:[EMAIL PROTECTED]
Sent: Friday, December 08, 2006
08, 2006 1:00 PM
To: 'MyFaces Discussion'
Subject: RE: singleton validators and converters
Wouldn't singletons need to be multi-threaded otherwise you will get
probems with concurrency. Would a pooled resource pattern make more
sense if you validators/converters are costly to create
On 12/8/06, Iordanov, Borislav (GIC) [EMAIL PROTECTED] wrote:
No problem with concurrency, as I said they have no state. A lot of
patterns would make sense, but JSF API/taglib doesn't seem to facilitate any
of them, hence my question.
Object creation and GC overhead was a very significant
3 matches
Mail list logo