I am new to Spring. I have gone through reference materials and sample applications and it says default behavior for bean is singleton. In real world java applications I have seen only a handful of singleton classes. Then why Spring applications promote Singleton. The documentation says if the bean is non-singleton, framework will not handle life cycle. In a typical application say struts base web application which (action class, java beans containing business logic, utility classes (say math)), which are candidate for singletons? I am very impresses with Springso far, but equally confuse with the term Singleton
Thanks in advance
www.virtusa.com


so far, but equally confuse with the term Singleton 
Reply With Quote