BEA Logo BEA Tuxedo Release 7.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   Tuxedo Doc Home   |   TOP END Domain Gateway   |   Topic List   |   Previous   |   Next   |   Contents

   Using the BEA Tuxedo TOP END Domain Gateway

Sample Program Description

This sample program, which is an extension of Example 1 in the core BEA Tuxedo DMCONFIG(5) reference page, shows five Bank Branch domains communicating with a Central Bank branch. Three of the Bank Branches run within one BEA Tuxedo system domain (TDomain). The fourth Branch runs under the control of another TP domain and uses OSI TP to communicate with that domain. Example 1 has been extended to include a TEDG with a single connection to a BEA TOP END system. The BEA TOP END system is running a banking application that offers services needed by the BEA Tuxedo application. Conversely, certain BEA Tuxedo services need to be available to BEA TOP END clients. A simple queuing example is also included.

Functions Available for the BEA TOP END EBANK Product

The BEA TOP END system, BANKSYS, offers a single product called EBANK. The following table lists the functions available for the EBANK product.

Functions Available for BEA TOP END EBANK Product

EBANK Function

Description

START

Establish a connection with the bank application

END

Terminate the session

LOGIN

Log a user into the bank application

LISTACCT

List the user's accounts

GETPAYES

List electronic payment "payees"

ELECPAY

Perform an electronic payment

BAL

Obtain an account balance

TRANSFER

Transfer funds between accounts

WITHDRAW

Withdraw money from an account

DEPOSIT

Add money to an account

REPORT

Generate a report

UPDATE

Update the background

BEA Tuxedo Service Mappings for the EBANK Functions

The following DM_REMOTE_SERVICES mappings are used to make the functions shown in the table Functions Available for BEA TOP END EBANK Product available to the BEA Tuxedo application. Additionally, the BEA TOP END RTQ TEQNAME and two services accessed via the queue, REPORT and UPDATE, are made available to the BEA Tuxedo application.

Mappings for EBANK Functions

Type

BEA Tuxedo Service

BEA TOP END Product and Function

SERVICE

te_start

EBANK, START

SERVICE

te_end

EBANK, END

SERVICE

te_login

EBANK, LOGIN

SERVICE

te_listacct

EBANK, LISTACCT

SERVICE

te_getpayees

EBANK, GETPAYES

SERVICE

te_elecpay

EBANK, ELECPAY

SERVICE

te_bal

EBANK, BAL

SERVICE

te_transfer

EBANK, TRANSFER

SERVICE

te_withdrawl

EBANK, WITHDRAW

SERVICE

te_deposit

EBANK, DEPOSIT

QSPACE

tuxqspace

TEQGROUP, TEQNAME

QNAME

te_report

EBANK, REPORT

QNAME

te_update

EBANK, UPDATE

SERVICE and QUEUE Mappings for the BEA Tuxedo Service "balance"

The following DM_LOCAL_SERVICES mappings are used to make the BEA Tuxedo service called balance available to the BEA TOP END system. Additionally, the BEA Tuxedo queue space qspace and its queue name qname are made available to the BEA TOP END system.

Balance SERVICE and QUEUE Mappings

Type

BEA Tuxedo Service

BEA TOP END Product and Function

SERVICE

balance

TUX, BALANCE

QSPACE

qspace

TUXQUEUE, TUXQ

QNAME

qname

TUX, QSERV

Note: Because this sample configuration includes multiple gateway types, the LDOM parameter is specified in the DM_LOCAL_SERVICES section for the balance entry.

See Also