Hi all,
 
I'm having problems cleaning up session beans.  I have beans that access databases that I use in multiple JSP pages, and have session scope.  How can I figure out when to close those beans?  When a bean is destroyed I need to close its result set.  Right now, as I navigate my site, I watch Jrun's JVM grow from about 10 megs of memory to around 50, and it keeps going unless I restart the JVM.  Is there some event that I can catch when a user's session ends so I can clean up those beans properly?
 
Thanks!

Reply via email to