problems with singleton beans in spring
Hi There,
I am developing a web application. Since spring beans are singleton in default i cannot use that scope for my pojo's.
I have to mark my bean as request / prototype. I thought of going with request scope.
I want to know if bean is marked as request and after request ends then is that object destroyed by application/ or object is marked for gc or if in case there is going to be out of memory error then this objects will be garbage collected just before jvm cries for out of space error/ nothing happens and object are left hanging waiting for jvm to take suitable action.
Thanks and Regards
Patil Abhijeet
In Rat race who ever wins or looses still remains the Rat.