Adding JoltBeans to Your Java Development Environment
Before you can use JoltBeans, set up your Java development environment to include JoltBeans:
- Set the
CLASSPATHin your development environment to include all Jolt classes. - Add JoltBeans to the Component Library of your development environment.
The method of setting the CLASSPATH can vary,
depending on the development environment you use.
JoltBeans includes a set of .jar files containing
all of the JoltBeans. You can add these .jar files to
your preferred Java development environment so that JoltBeans are
available in the component library of your Java tool. For example,
using Symantec Visual Café, you can set the
CLASSPATH so that the .jar files are
visible in the Component Library window of Visual Café. You
only need to set the CLASSPATH of these
.jar files in your development environment once. After
you place these .jar files in the
CLASSPATH of your development environment, you can
then add JoltBeans to the Component Library. Then you can simply
drag and drop any JoltBean directly onto the Java form on which you
are developing your Jolt client application.
To set the CLASSPATH in your Java development
environment, follow the instructions in the product documentation
for your development environment. Navigate from the IDE of your
development tool to the directory where the jolt.jar
file resides. The jolt.jar file is typically found in
the directory called %TUXDIR%\udatadoj\jolt. The
jolt.jar file contains the main Jolt classes. Set the
CLASSPATH to include these classes. The JoltBean
.jar files do not need to be added to the
CLASSPATH. To use them, you only need to add them as
components in your IDE.
After you have set the CLASSPATH to include the
Jolt classes, you can add JoltBeans to the Component Library of
your development environment. See the documentation for your
particular development environment for instructions on populating
the Component Library.
When you are ready to add JoltBeans to the Component Library of your development environment, add only the development version of JoltBeans. Refer to “Using Development and Run-time JoltBeans” for complete details.
Parent topic: Overview of Jolt Beans