Singleton design pattern vs Singleton beans in Spring container

Posted by Peeyush on Stack Overflow See other posts from Stack Overflow or by Peeyush
Published on 2010-04-14T13:47:44Z Indexed on 2010/04/14 17:03 UTC
Read the original article Hit count: 686

Filed under:
|
|

As we all know we have beans as singleton by default in Spring container and if we have a web application based on Spring framework then in that case do we really need to implement Singleton design pattern to hold global data rather than just creating a bean through spring.

Please bear with me if I'm not able to explain what I actually meant to ask.

© Stack Overflow or respective owner

Related posts about singleton

Related posts about spring