in reply to Data Persistence
Hi,
you're talking about server side programming which let me assume you have a kind of client server environment. That would mean you have concurrent accesses to the @MemberList, which means you have to build a system which serializes writing accesses to this list.
When this is true, then a singleton object comes to my mind. When you instantiate the object the very first time, the file is read, afterwards every access delivers the same in memory representation. Writing accesses and persistence could be controlled by this objects methods.
Just a rough idea.
Regards
McA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Data Persistence
by ShaZe (Novice) on Nov 20, 2014 at 14:40 UTC | |
by McA (Priest) on Nov 20, 2014 at 14:57 UTC | |
by ShaZe (Novice) on Nov 20, 2014 at 15:47 UTC | |
by Laurent_R (Canon) on Nov 20, 2014 at 23:27 UTC |