Java and Database Connectivity
|
Using packages
-
Packages are bundles of Java functionality
-
The core of Java is the package
java.lang
-
Other packages with names starting
java. are
parts of the standard Java distribution
-
Third party organisations which create packages should use
the elements of their domain name in reverse order as
prefix
-
We're 'weft.co.uk' so our package names start
uk.co.weft.
-
So the clock components are
in
uk.co.weft.clock
-
This way you can mix components from anywhere without risk
of name clashes