• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Location of Database and Server's Name

 
Tim Adam Cooper
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the Java Developer�s project the assignment stated the following:
These command lines may only take configuration parameters selected from this list:
�DNS name of the server
�Port number used by the server
�Data file name(s)
�java.rmi.server.codebase
�security manager policy file
To me, it is rather hard on the User having to type in the command arguments. Is it possible that a dialog box is displayed with two radio buttons, one for local database the other for network database and three textfields (one for location of database, one for hostname of server, one for port number of server).
i)If the user selects local database, the user is then required to enter the location of the database in the textfield.
ii)If the user selects network then the user is required to enter the hostname and portnumber of the server in the textfields.
Is that OK? I ask this question because I am concerned that I might lose some marks since the assignment says that the location of database name, hostname/port of server is via the command-line arguments. But I feel that it is much easier for the user to use the dialog box to enter all the required details.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tim Adam
Is it possible that a dialog box is displayed with two radio buttons, one for local database the other for network database and three textfields (one for location of database, one for hostname of server, one for port number of server).

This is very close to what I did, however I had one panel for all options, rather than a dialog box. I did not process command line arguments for the client.
My view was that the word "may" is not "must". Therefore this should be acceptable (and far more user friendly).
This worked for me.
Regards, Andrew
 
Miguel Roque
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tim Adam.
I've had a dialog with a tabbed pane. One tab for local only asking for the location of the database and other tab for network asking the URL and port.
Miguel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic