• Post Reply Bookmark Topic Watch Topic
  • New Topic

Use of flat files in distributed architecture probs.  RSS feed

 
Vikas Kumar Sahu
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guiess,

I am working in a module in distributed environment.
Its client is swing application.I have a one doubt and the doubt is -
I am making some flow chart sort of thing at client side and saving this work in
a flat file (java property file/xml file) at the server side.
Could n e 1 suggest me that saving flat file at the server side would work,
coz this file would share by multiple clients.And how locking facility j2e gives while
somebody is modifing one file.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There isn't any built-in file locking mechanism... you'd have to access the property files/XML files through some kind of remote service that you build to have it protect files from multiple accesses.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!