aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes NX: spec. DB location 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 "NX: spec. DB location" Watch "NX: spec. DB location" New topic
Author

NX: spec. DB location

Dirk Band
Greenhorn

Joined: Jun 16, 2003
Posts: 8
Hello everybody,
My assigment says:
In either case, the program must allow the user to specify the location of the database, and it must also accept an indication that a local database is to be used, in which case, the networking must be bypassed entirely.
Should it be possible to start the server and change the location via client GUI?
Or can I hardcode the database location in server mode?
Philippe Maquet
Bartender

Joined: Jun 02, 2003
Posts: 1872
Hi Dirk,
Should it be possible to start the server and change the location via client GUI?

I think that a client shouldn't be able to set the server database location, only the database location when run in stand-alone mode. If you except the latter case, as all clients must share the same database through calls to the server, it doesn't make much sense to let them choose its location individually. Of course, you may design your client application as a "remote server administration app", but I think it would go far beyond the scope of our assignment.
Or can I hardcode the database location in server mode?

In my instructions, all properties must be available through a GUI. If you have the same requirements, I think you need a server GUI to set it.
Best,
Phil.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NX: spec. DB location