File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Java Certified Developer 1 Question 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 "Java Certified Developer 1 Question" Watch "Java Certified Developer 1 Question" New topic
Author

Java Certified Developer 1 Question

Manuel Arnoldi
Greenhorn

Joined: Jan 08, 2007
Posts: 5
I didn't understand the following sentence in an assignment: "In either case, the program must allow the user to specify the location of the database, ..."
I solved the problem in the following matter: that the standalone client is allowed to choose a database and there is a hint on the mask to choose a local database. In my opinion it doesn't make sense that the network client can choose a database on the server computer. The RMI network client is in my opinion only interested in reserving hotel rooms.

You start the application with [<mode>] mode can be alone or server or nothing for the network client
java -jar <path_and_filename> [<mode>]

I can't imagine that I need a GUI where the user can choose local mode or remote mode and the user can choose a database - file for the network client.
Song Jing Lim
Ranch Hand

Joined: Feb 11, 2003
Posts: 56
May be UI will only asking either is local or remote. If local then it will ask for database file location. For server, when it startup it will read the database file location from properties file.


Rgds,<br />Song Jing
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Certified Developer 1 Question
 
Similar Threads
NX: A confusion about specifying the location of the database file
Network Approaches
before I submit
Running server/client separately in runme.jar
RMI/Standalong