I am a bit confused with the package structure for the interface file:
"...Your data access class must be called "Data.java", must be in a package called "suncertify.db", and must implement the follosing interface:
package suncertify.db;
public interface DB {...}"
".. The JAR file must have the following layout... A directory called code, containing all the source code..."
Assuming my JAR root is at c:\exam, does that mean my directory structure below is correct:
c:\exam\runme.jar
c:\exam\db-1x2.db (my data file)
c:\exam\code\suncertify\db\DB.java
c:\exam\code\suncertify\db\Data.java
c:\exam\code\Main.java (contains the main() method)
c:\exam\code\gui\... (GUI codes)
c:\exam\code\remote\... (RMI codes)
c:\exam\docs\
c:\exam\docs\javadoc
Then how do I access my data file from Main.java??? using "..\db-1x2.db"?
And where do I store the .class files? in the same directory as the .java files?
thanks!