Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Final Submission

 
Jeff Storey
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone -

I'm getting ready to submit my exam and I have a question about the final deliverables. It says that I should submit the original, unchanged database file that was supplied to me. I understand that much, but in order for my executable jar file to work from any directory, the database should also be in the runme.jar, correct? I'm just worried that they may modify the database in the root directory of the jar being submitted (not the runme.jar) and then it won't show up in the application. Will they move my runme.jar file or can I actually look in the directory and not the jar for the database file?

Thanks,
Jeff
 
Kai Witte
Ranch Hand
Posts: 356
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

I had B & S, and in my assignment there was no farfetched possibility in which having the database file inside the runme.jar would be desirable or wanted.

Kai
 
Jeff Storey
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kai,

Thanks for the reply. My only concern is that since the database is not a specified parameter (well not in mine anyway) if they run the jar from a different directory (the same reason why I have my properties file in the jar file). Can I assume the will run the jar from the same directory as the database or should I provide a browse button for the server to select the database to read (which could lead to a host of all other problems)?

Thanks again.
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
read the requirements document. The database location MUST be allowed to be specified in the user interface.
If yours doesn't allow that, you'd better fix that before submission or you'll get an automatic failure.
 
Jeff Storey
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Appreciate it - that's what I have, just confirming. Lastly, I have two other questions:

Do you think it is OK to have that config dialog appear each time the application starts as long as the last entered values appear (this keeps it persistent) or am I only supposed to have the dialog when the use requests it?

My other question is if there is some way to validate that a file is a valid database file for this application. I understand that it may have some magic cookie value at the beginning, but I don't know if that's a good way to tell if a file is valid or can I just let I/O errors happen and display error dialogs if it is a poorly formed input file?

Thanks -
Jeff
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic