This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, I was wondering where should the db.db be located in the submission file, and also in general how are you guys accessing this file. For example, for the client I provide both filechooser and a textfield for entering the location of the data file, as for the server data file location should be provided as an argument. Now, since I was planning to submit executable jars for both client and server, would I have to actually have db.db in those jars (meaning I would have to figure out how to read/write file from/to jar) or can I assume that the person who is assessing the application will chose a datafile (that is not in the jar). It would be great if ppl who passed the SCJD explain how they packaged and accessed db.db file. Thx Maja
I think you would extract db.db from the jar file. MY instructions say that a location should be supplied in command line. I would give the same command line to both server and client startup programs. In the server mode you would just need to add host name and port parameters to your client start script
Hi, I think the db.db need not be in the jar file. Only the application classes and the images are to be in the jar file. Other than that your source and documentation has to be in a separate folder. In this way the user can select a different xxx.db or pass the path and use this particular file passed at the command line.
Joined: Apr 14, 2001
Aleksey & Rahul thanks a lot, I'm just preparing to submit my project and had last minute doubts about some stuff