Importing the Class On the Client Side

On the client side, any class that retrieves an object has to have access to the proper class definition to use the object.

To use the Product class, which is part of the asademo package, you must include the following line in your application:

import asademo.*

The asademo.jar file must be included in your CLASSPATH for this package to be located.