Singletons are evil. Sent from my Archimedes A3000
-----Original Message----- From: Jeff Chimene <[email protected]> Date: Sun, 19 Jul 2009 12:15:35 To: <[email protected]> Subject: Re: How to persist data On 07/19/2009 11:37 AM, Pham Tran Quoc Viet wrote: > Hi, > I have a config.xml file that contains stuffs like domain name, > username, password, connection string. This file is loaded into a > signleton when the web application first contacts the server. How do I > persist the signleton so that the app does not have to reread the xml > file in the next request? > > Thanks. Google for "java singleton". Most of the answers you get from that request will be applicable to GWT. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
