beautypg.com

Using joltbeans, Section 3, using joltbeans, What is the joltbeans toolkit – HP NonStop G-Series User Manual

Page 187

background image

3. Using JoltBeans

JoltBeans is a collection of beans that you can use to build your own Jolt client applications or applets. During development, take the beans
from the JoltBeans toolkit in the component palette of a development tool and position them on the Java form (or forms) of a Jolt client
application or applet. Populate the properties of the beans and establish event source-listener relationships between various beans of the
application or applet. Typically, the development tool is used to generate the event hook-up code, or you can code the hook-up manually.

The JoltBeans product consists of two sets of Java Beans. The first set, the JoltBeans toolkit, is a beans version of the Jolt API. The second
set, Jolt aware AWT beans, is a "Jolt enabled" version for some of the standard JDK 1.1 AWT components. These Jolt aware AWT
components help you to build Jolt client GUIs with minimal or no coding.

Note

To use the toolkit, it is recommended that you are familiar with JavaBeans enabled Integrated
Development Environments (IDEs). The walkthrough in this chapter is based on Symantec's
Visual Café 2.5 IDE and illustrates the basic steps of building a sample applet.

This chapter contains the following topics:

What Is the JoltBeans Toolkit?

JoltSessionBean

JoltServiceBean

JoltUserEventBean

Jolt Aware AWT Beans

Using the Property List and the Property Editor to Modify the JoltBeans Properties

JoltBeans Class Library Walkthrough

Building the Sample Form

Wiring the JoltBeans Together

Using the JoltBeans Repository and Setting the Property Values

JoltBeans Programming Tasks

Using Transactions with JoltBeans

Using Custom GUI Elements with the JoltService Bean

Using TUXEDO Event Subscription and Notification with JoltBeans

What Is the JoltBeans Toolkit?

The JoltBeans toolkit includes the following beans:

JoltSessionBean

JoltServiceBean

JoltUserEventBean

These components encompass the complete Jolt Class Library as Java Beans.

The following sections provide information about the properties for each bean. For additional information, refer to the

Jolt for NonStop

TUXEDO User Guide

or NonStop TUXEDO documentation.

See

Section 4, JoltBeans Toolkit Class Library Reference

and

Section 5, Jolt Aware AWT Beans Class Library Reference

for additional

information about the JoltBeans toolkit and Jolt aware AWT beans classes, constructors, and methods.