This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Mike Tilling
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic