Hi Irene,
From the Sun Creating and Using Packages tutorial:
Definition: A package is a collection of related classes and interfaces providing access protection and namespace management.
Classes do not have to share code to belong in the same package. A package
can be thought of as a logical grouping of classes - so I could decide that I might throw Sockets based code and RMI based code into my suncertify.network package, even though they do not share code. This can work well with a small project like the
SCJD assignment.
For a larger assignment you might want to consider breaking down the package responsibilities further. So you might want to have suncertify.network.Sockets for pure Socket based code, and suncertify.network.RMI for RMI based code, and any common code (e.g. a Factory) in the common directory.
Regards, Andrew