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 whilesomebody is modifing one file.
The spec staits: An enterprise bean must not use the java.io package to attempt to access files and directories in the file system. The file system APIs are not well-suited for business components to access data. Business components should use a resource manager API, such as JDBC, to store data.
What DB do you use? Can't you store the XML there?
"You don't need eyes to see, you need vision" -- Faithless
Time is mother nature's way of keeping everything from happening at once. And this is a tiny ad:
SKIP - a book about connecting industrious people with elderly land owners