Jolt 1.2 Developer's Guide

Java Applications vs. Java Applets
Java programs that run in a browser are called applets. Applets are intended to be small, easily downloaded parts of an overall application that
perform specific functions. Many popular browsers impose limitations on the capabilities of Java applets for the purpose of providing a high degree
of security for the users of the browser. These are some of the restrictions imposed on applets:
An applet ordinarily cannot read or write files on any host system.
An applet cannot start any program on the host (client) that is executing the applet.
An applet can make a network connection only to the host where it originated; it cannot make other network connections, not even to the
client machine.
Programming workarounds exist for most of the restrictions on Java applets. Check your browser's web site or developer documentation for specific
information about the applet capabilities that the browser supports or restricts. You can also use Jolt Relay to overcome some of the network
connection restrictions.
A Java application, however, is not run in the context of a browser and is not restricted in the same ways. For example, a Java application can start
another application on the host machine where it is executing. While an applet relies on the windowing environment of a browser or appletviewer
for much of its user interface, a Java application requires that you create your own user interface. An applet is designed to be small and highly
portable. A Java application, on the other hand, can operate much like any other non-Java program. The security restrictions for applets imposed by
various browsers and the scope of the two program types are the most important differences between a Java application and a Java applet.
Jolt Class Library Features
The Jolt Class Library has the following characteristics:
Features fully thread-safe classes.
Encapsulates typical transaction functions such as logon, synchronous calling, transaction begin, commit, rollback, and logoffs as Java
objects.
Contains methods that allow you to set idle time-outs for continuous and intermittent client network connections.
Features methods that allow a Jolt client to subscribe to and receive event-based notifications.
Jolt Class Library Error and Exception Handling
The Jolt Class Library returns both Jolt interpreter and NonStop
TM
TUXEDO errors as exceptions. The Jolt Class Library Reference contains the
Jolt classes and lists the errors or exceptions thrown for each class. The Jolt Online API Javadoc contains the Error and Exception Class Reference.