| 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
|
 |
 |
|
|
subject: local mode need clarification
|
|
|