marc fleury wrote:
> |For objects that do a lot of stuff in set*Context, yes. Common
> |operations are lookup of home objects, and to create data structures. In
> |those cases pooling is essential.
> 
> it is the ***reuse*** that really fucks us up. We can "prefab" some
> instances and keep "pools" at a minimum level but no reuse.
> 
> So you would say that a pool has a minimum of 10 instances in there and a
> thread would create the instance and replenish the pool, maybe a static
> thread in the class could do the trick.

That could work, yes. If you do "on demand" it's back to
wait-on-init-land, but replenishing in background could be ok.

/R

-- 
Rickard �berg
Software Development Specialist
xlurc - Xpedio Link�ping Ubiquitous Research Center
Author of "Mastering RMI"
Email: [EMAIL PROTECTED]

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to