| Author |
Asking for db location in Network mode
|
Glen Iris
Ranch Hand
Joined: Jul 13, 2011
Posts: 157
|
|
Hi Guys,
My instructions state:
The program must allow the user to specify the location of the database in both standalone and network mode and persist the db configuration details in suncertify.properties file.
I know when I start the client I will need to ask for db location.
I know when I start the server I will need to ask for db location.
Why would a user specify where the server database is located when starting in network mode?
G
|
OCPJP 6, OCMJD (2/3)
|
 |
Dennis Grimbergen
Ranch Hand
Joined: Nov 04, 2009
Posts: 126
|
|
|
It simply means that you should specify the host (and port number) in network mode (where the server is running).
|
SCJP, SCWCD, SCJD
|
 |
Roberto Perillo
Bartender
Joined: Dec 28, 2007
Posts: 2212
|
|
Howdy, Glen!
Why would a user specify where the server database is located when starting in network mode?
Well, when you start the application in server mode, you have to know where the .db file is located, so you can load its records. In my case, when you start the application in server mode, I ask for the port number in which the server will be expecting calls and also the database location.
|
Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
|
 |
Glen Iris
Ranch Hand
Joined: Jul 13, 2011
Posts: 157
|
|
Thanks guys. Initially, that is what I thought. I'm just over thinking things at this stage
|
 |
Jayesh A Lalwani
Bartender
Joined: Jan 17, 2008
Posts: 1272
|
|
Glen Iris wrote:Thanks guys. Initially, that is what I thought. I'm just over thinking things at this stage
Something that we are all guilty of
|
 |
 |
|
|
subject: Asking for db location in Network mode
|
|
|