I have one question about Setup Environment. How i set server IP in case client/server mode or path to .db file in standalone case? Remember what say in instructions.html file: "You must not require manual editing of any files by the examiners".
Sorry about my english again!
Julio Cesar Lopes Marques
Sun Certified Java Developer 5, Sun Certified Java Programmer 5
If i understood, i'll splash screens asking for path, IP and port. It sounds good, but a question about automatic failure has freaking me out a litle bit. About suncert.properties what configuration wich have to exist in this file?
This is something that you can decide. You can store all parameters you find necessary. In my case, here's the deal: when the application starts in standalone mode, I ask for the database location; when the application starts in server mode, I ask for the database location and the port number in which the server will run; and when the application starts in client mode, I just ask for the server IP address. So, for instance, the first time the application starts in standalone mode, the database location field in the dialog is empty, then the user provides the database location and this value is stored in the suncertify.properties file. The next time the application is started in standalone mode, the database location field in the dialog is filled with the value stored in the suncertify.properties file.