File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

local mode need clarification

 
walid aly
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All
i have only one db file
so if the local and network clients work on the same time they should access the same only file
i think this file should be on the server machine
that means that the only way to go local is through the same machine that have the server running
am I correct?or should i assume that when the client go local , no network connections at all is working and can be tested on a seprate machine.
Thanks
Walid
 
Ramesh kumaar
Ranch Hand
Posts: 146
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Walid,

Please go throught the instruction carefully before u start the coding. Its mentioned clearly that u are expected to start the program either local or remote.
-rameshkumar
 
Mag Hoehme
Ranch Hand
Posts: 194
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Walid,
when your app runs in local mode, the db.db file is located somewhere on the local machine. In remote mode, the things are a bit different: For the server, the db.db file is a local file, and the client accesses the db.db file via the server, to which it is connected using RMI (or some other protocol).
When you install the whole app on one machine only, it can indeed be the same db.db file, which is once accessed directly (local), and once via remote server.
Suppose you have two machines, one to run the client, and the other to run the server. When the client is to run in both modes, you must have db.db files on both machines.
Hope this helps.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic