I am writing a prototype application and have system data to store (i.e. next customer 
number.)

Right now I have it setup as a 1 row entry in a database table - but I don't like this 
approach - concerned that live application will generate double "hits" on the 
database.   But I need to make sure that the system values are updated correctly - 
always available.  In the case of the next customer number, I need to make sure that 
the ID is only updated/accessed once.

Would it be better/faster/less resource intensive to store/update information in a 
bean?   Is there any situation where the bean would lose its value?

Thanks for your help!

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to