dcsimg
When to use singleton design pattern?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   bho_kri
Posted On:   Friday, August 17, 2001 04:56 PM

Can somebody explain me the diffrence between singleton and object pooling.
What would happen in case of multiple threads accessing a single instance of an object assuming it is stateless.
We have a parser with no instance variables can this be a singleton, if so how would it work in a multithread environment
The object does not access any static data either.

About | Sitemap | Contact