• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mark: Command lines

 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mark,
I noticed on one of your posts, that your command line to start the server only set the RMI security policy and your client in local mode had no args. Did you just start db.db in your bootstrap code or prompt the user for a database location from the GUI's?
Thanks in advance,
Michael Morris
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My db.db file resides in the same directory as the jar files. In my code I use two lines to pass the location of the db file.

This is in the DataAccessLocal class and also in my ConnectionFactoryEngine class.
I don't let the user tell the app where the db.db file is.
In my readme file I specifically state that the db.db file has to reside in the jar directory.
Mark
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mark.

Michael Morris
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic