> What kinds of strategies do people
> use to protect the integrity of
> information stored in beans?
The beans I've written store processes; data is stored in files.
> Suppose I use beans to hold on to
> critical information for my web application,
> and the server crashes...
You can store process state data in temp files, reading these each time a
servlet re-inits(), or a bean is otherwise called. Initiation data is also
stored in properties files.
Look at books on Servlets to see how this is done. "Developing Java
Servlets," by James Goodwill, and "Java Servlet Programming," by Jason
Hunter, are two pretty good sources for server-side programming concepts.
Hope this helps.
Phil
-----Original Message-----
From: Alex Strasheim <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Sunday, May 28, 2000 2:17 PM
Subject: saving beans during reboots, crashes?
>I'm new to JSP, and I apologize if this is a dumb question.
>
>What kinds of strategies do people use to protect the integrity of
>information stored in beans? Suppose I use beans to hold on to
>critical information for my web application, and the server crashes...
>what happens then? Or even if I simply reboot the machine?
>
>Do people build shutdown routines into the apps, so the important
>information is saved? Or store the data in a database as it changes?
>
>===========================================================================
>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
>
===========================================================================
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