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
Joined: Mar 19, 2002
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
Joined: Apr 07, 2002
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.