Hi
I would like to know how spring handles bean instance pooling.
I know that by default, Spring creates all bean instances as singletons, that is only one bean instance is created and the same instance is returned for each request of that bean.
But when i am developing a web application , if multiple users request simultaneously for the same bean , then how does Spring handle it.
And also I would like to know how to get the benefits of Stateless Session Bean & Stateful Session bean without using ejb provided by spring(ie using only pojo's)
Thanks in advance


Reply With Quote
- if you use singleton then make sure you don't use class levels fields or you will run into trouble.