Contents

Title Page

Copyright Page

Preface

Purpose of This Document

Who Should Read This Document

How This Document Is Organized

How to Use This Document

Opening the Document in a Web Browser

Printing from a Web Browser

Documentation Conventions

Related Documentation

Jolt Documentation

BEA Publications

Contact Information

Documentation Support

Customer Support

1. Introducing the JoltBeans Toolkit

How JoltBeans Work

JoltBeans Terms

How to Use JoltBeans

JavaBeans Events and TUXEDO Events

How JoltBeans Use JavaBeans Events

2. Installing the JoltBeans Product

JoltBeans Installation Requirements

Required JoltBeans Files

Supported Development Environments

3. Using JoltBeans

What Is the JoltBeans Toolkit?

JoltSessionBean

JoltServiceBean

JoltUserEventBean

Jolt Aware AWT Beans

JoltTextField

JoltLabel

JoltList

JoltCheckbox

JoltChoice

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

Step 1: Wire the JoltSessionBean logon

Step 2: Wire JoltSessionBean to JoltServiceBean via propertyChange

Step 3: Wire the accountID JoltTextField as input to the JoltServiceBean using JoltInputEvent

Step 4: Wire Button to JoltServiceBean using JoltAction

Step 5: Wire JoltServiceBean to the balance JoltTextField using JoltOutputEvent

Step 6: Wire the JoltSessionBean logoff

Step 7: Compile the applet

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

4. JoltBeans Toolkit Class Library Reference

JoltInputEvent Class

JoltInputEvent Constructors

JoltInputEvent - single data element

JoltInputEvent - multiple occurrences; only one occurrence set

JoltInputEvent - data element with multiple occurrences

JoltInputEvent - single element; String

JoltInputEvent - multiple occurrences; only one occurrence set; String

JoltInputEvent - multiple occurrences; array of Strings

JoltInputEvent Methods

getValue

getValues

getTextValue

getTextValues

getFieldName

getOccurrenceCount

getSingleOccurrence

isText

isVector

JoltOutputEvent Class

JoltOutputEvent Methods

isEventMessage

getValue - value of a field

getValue - value of one occurrence of a field

getValues

getTextValue - value of a field

getTextValue - value of one occurrence of a field

getTextValues

JoltServiceBean Class

JoltServiceBean Constructor

JoltServiceBean

JoltServiceBean Methods

propertyChange

dataChanged

setServiceName

getServiceName

isTransactional

setTransactional

setSession

getSession

getOutputValue - value of field

getOutputValue - value of one occurrence of field

getOutputValues

getOutputTextValue - value of field

getOutputTextValue - value of one occurrence of field

getOutputTextValues

setInputValue - value of field

setInputValue - value of one occurrence of field

setInputValues

setInputTextValue - value of field

setInputTextValue - value of one occurrence of field

setInputTextValues

getOccurrenceCount

clear

callService

addJoltOutputListener

removeJoltOutputListener

JoltSessionBean Class

JoltSessionBean Constructor

JoltSessionBean

JoltSessionBean Methods

addJoltOutputListener

removeJoltOutputListener

isLoggedOn

addPropertyChangeListener

removePropertyChangeListener

logon

logoff

clear

beginTransaction

commitTransaction

rollbackTransaction

isInTransaction

getAppAddress

setAppAddress

getIdleTimeOut

setIdleTimeOut

setReceiveTimeOut

getReceiveTimeOut

setSendTimeOut

getSendTimeOut

getSessionTimeOut

setUserName

getUserName

setUserRole

getUserRole

setUserPassword

getUserPassword

setAppPassword

getAppPassword

JoltUserEventBean Class

JoltUserEventBean Constructor

JoltUserEventBean

JoltUserEventBean Methods

propertyChange

setEventName

getEventName

setFilter

getFilter

setSession

getSession

unsubscribe

subscribe

5. Jolt Aware AWT Beans Class Library Reference

JoltCheckbox Class

JoltCheckbox Constructor

JoltCheckbox Methods

addJoltInputListener

removeJoltInputListener

setOccurrenceIndex

getOccurrenceIndex

getJoltFieldName

setJoltFieldName

getTrueValue

setTrueValue

getFalseValue

setFalseValue

JoltChoice Class

JoltChoice Constructor

JoltChoice Methods

addJoltInputListener

removeJoltInputListener

setOccurrenceIndex

getOccurrenceIndex

getJoltFieldName

setJoltFieldName

getItems

setItems

JoltLabel Class

JoltLabel Constructor

JoltLabel Methods

serviceReturned

setOccurrenceIndex

getOccurrenceIndex

getJoltFieldName

setJoltFieldName

JoltList Class

JoltList Methods

serviceReturned

addJoltInputListener

removeJoltInputListener

getJoltFieldName

setJoltFieldName

setOccurrenceIndex

getOccurrenceIndex

JoltTextField Class

JoltTextField Constructor

JoltTextField Methods

addJoltInputListener

removeJoltInputListener

serviceReturned

getJoltFieldName

setJoltFieldName

setOccurrenceIndex

getOccurrenceIndex