I have to create a DAO mainly for CURD operations, it is not an EJB a normal java class? Is there any performance improvement/bottleneck , if i make my DAO as a singleton
[177 byte] By [sunish_josea] at [2007-11-27 7:49:15]
Elaborated: if your code is inefficiently or not thread-safe or is handling threads clumsily, it doesn't matter at all whether the DAO is a singleton or not. Singletons don't make things faster or slower. It's just an object.