• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

NX: spec. DB location

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
She's brilliant. She can see what can be and is not limited to what is. And she knows this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic