whether local or remote the program must allow the user to specify the location of the database. for local I was thinking of the file chooser in my preferences/settings screen, but what about network ? how do i specify location on another machine ? PS , the new exam requires that the configuration be done via the GUI, no command line params, and obviously theres a GUI for the client and none for server, so I'm assuming its the client GUI that configures the connection and DB location details for the network server and DB server to use
For the sake of a consistant interface, local and remote, I would probably just us a simple dialog to let the user type in the relative path of the file. JMO, M, author The Sun Certified Java Developer Exam with J2SE 1.4
Please check the notes provided by a member passed the SCJD. He/she got full score for server.
Shan, I am afraid it is not the client business to know the db file location, or whatever information about the db file. Your server knows that and it is like private information for the server. You dont want the client to locate the db file. You use RMI ( or a naming service ) to locate the server. Good luck. C.