Importing SIDL packages and classes is also similar to the native Java
approach.
Babel generates Java code in subdirectories to organize packages and classes
in the same manner as done in Java. For example, assume the presence of a
specification of a package called test that contains two classes
HelloWorld
and GoodbyeWorld. Running babel -cJava test.sidl in the
directory named babelcode will result in the generation of a new
subdirectory called test containing the following two files
HelloWorld.java and GoodbyeWorld.java. The resulting classes
will be accessible from any Java program that imports them when
babelcode is in the CLASSPATH. In this example, the
import statement for the first class is
import test.HelloWorld;