I was just wondering, what do beans become when the server is shut down ?
Are they destroyed, and in which way ? Are they garbage collected, or do I
have to do it myself. Servlets are destroyed upon server restart, but
apparently my beans aren't, or to be more precise, their destroy method is
not called (as far as I have tested it).
I think what should happen, in a session persistence context, is that all
think in the session scope are saved to disk, which could explain why they
are not destroyed
All that isn't stored in the session environment should be destroyed anyway.
I don't know if this should be done by an explicit kill, or if you have to
wait for the garbage collector. afaik, the gc is called when the server
stops, but what happens when it crashes.
I have downsized my ebj, but I want to be sure not to run out of memory,
even with wide traffic on my application. Am I mistaking something ?
Regards
Sylvain
______________________________________________
Sylvain Roche
Responsable d�veloppement
Add-Online
www.add-online.fr
80 rue d'Alsace
69100 VILLEURBANNE
France
tel : +33 437431260
fax: +33 437431269
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets