aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes local mode need clarification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "local mode need clarification" Watch "local mode need clarification" New topic
Author

local mode need clarification

walid aly
Ranch Hand

Joined: Nov 06, 2002
Posts: 38
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

Joined: Mar 19, 2002
Posts: 146
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

Joined: Apr 07, 2002
Posts: 194
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.


Mag
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: local mode need clarification