Introduction to WebT
This chapter describes the basic features and roles of WebT which supports transaction services for Tmax and Java application programs.
1. Overview
Tmax is a middleware product that operates in a client/server environment. Web Transaction (WebT) supports transaction services between Tmax and Java application programs. WebT is distributed as an API library. It is used by Web Application Server (WAS) products that operate in a web environment such as JEUS. It is designed to provide dynamic data services using the transaction handling and load balancing features of Tmax in a web environment.
The following figure shows the service flow between WebT and Tmax. If a client sends a request, the server program of Tmax is executed through the WebT module and then the service will run.
2. WebTConnectionPool
In order to efficiently manage Tmax connections, WebT provides a class called WebTConnectionPool. WebTConnectionPool does not create a new connection object whenever a Tmax service is requested, but reuses an old object that was previously used. By doing this, resources and time that are spent to set and close network connections for a Tmax server can be saved.
A WebTConnectionPool consists of one WebTConnectionGroup or more, and each WebTConnectionGroup connects to one Tmax server. A client program can be connected to a Tmax server using the name of a WebTConnectionGroup.
If a WebT module links with JEUS, a JEUS container manages a WebTConnectionPool. The JEUS container creates a connection pool by using the WebT properties configuration file or JEUS configuration file and automatically returns a non-returned connection to the connection pool.
3. WebT-Server System
A WebT-Server system exists between a Tmax system and JEUS. It enables a Tmax client to call a EJB service of JEUS.
The following figure shows how an EJB service is called through a WebT-Server system.
A WebT-Server system consists of the following modules.
-
JAVA GW
Processes service requests sent from Tmax to JEUS.
-
JTmax
A daemon in JEUS receives a Tmax service request.
-
WebT Library
Processes data that is exchanged between Tmax and JEUS.
-
Other Utilities
The webtutil.jar is a file that packages classes to use in jeus.jar and jeusutil.jar when using WebT. It is a library used to start WebT without JEUS.