And another thing, if I deploy the server stuff (without any class to bind to the server registry), how do I handle that from the client, registry and launching of server class(es) ?
I am not sure what exactly you are asking here, but essentially here is what you do:
1. For networked mode, you start a server that controls the database access. The client connects to the server using RMI and uses its services. Since the dynamic stub downloading is not required, simply package the server stubs with the client. Don't bother with policy files, codebases, classpath, and security managers, -- they are not required, they add nothing to design (they are just decorators), and complicate life for you and your accessor. Your server should start as simple as
java -jar server.jar, andd the same goes for client.
2. For standalone mode, the client program connects to database directly (the db.db file is local to the client program).
Eugene.
[ October 08, 2002: Message edited by: Eugene Kononov ]