I am close to submit - Quetion a bout how to package

Mike Tilling

Ranch Hand

Posts: 86

posted 10 years ago

Hi,

It was mentioned in my Assignment (UrlyBird) that your data access class must be called "Data. Java", must be in a package called "suncertify.db". Any unimplemented exceptions in this interface (DBmain) must all be created as member classes of the suncertify.db package.

-The other classes must be in the same package or must be in a different package? If it is a different package, does this must be suncertify?

-When packaging the classes into a single JAR file (runme.jar), do we have to reflect the packages structure?, for example, Data.class must go under suncertify/db directory?

Oliver Weikopf

Ranch Hand

Posts: 58

posted 10 years ago

The other classes should be under suncertify.xxx, where xxx should only be db for those classes that are concerned with database access. I, for example, have the following packages: suncertify.db suncertify.gui suncertify.locking suncertify.rmi suncertify.util

And yes, the structure needs to be reflected in the jar file. It won't execute otherwise.