posted 17 years ago
Hey, Mary.
No, it is not necessary, not at all. I was thinking about implementing an observer to the main application GUI; when the database state changes (I'm using cache), all clients are notified. But it is not really necessary, so what I did is, when the user tries to book a room, all records being displayed are refreshed.
About the persistence between runs, it means that, when the user enters the information relevant to the application initialization, these information must be recorded in a file called suncertify.properties, which must be in the current working directory (System.getProperty("user.dir")). The next time the user starts the application, these information must be retrieved from the suncertify.properties file and fill the input fields automatically.
Hope this helps.
[ May 14, 2008: Message edited by: Roberto Perillo ]
Cheers, Roberto Perillo
SCJP, SCWCD, SCJD, SCBCD