0% found this document useful (0 votes)
1K views6 pages

How To Integrate Java Application With Temenos T24 (TAFC)

This document provides instructions on how to integrate a Java application with Temenos T24 R11+ using the TAFC engine. It describes building a simple Java application in Eclipse that receives a number from T24, squares it, and returns the result. The steps include creating a Java project and class, writing a method to square the input value, compiling and exporting to a JAR file, moving the JAR to the T24 server, modifying environment variables, writing a T24 program to call the Java method using CALLJ, passing a parameter, handling errors, and executing the program to test the integration.

Uploaded by

nader
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views6 pages

How To Integrate Java Application With Temenos T24 (TAFC)

This document provides instructions on how to integrate a Java application with Temenos T24 R11+ using the TAFC engine. It describes building a simple Java application in Eclipse that receives a number from T24, squares it, and returns the result. The steps include creating a Java project and class, writing a method to square the input value, compiling and exporting to a JAR file, moving the JAR to the T24 server, modifying environment variables, writing a T24 program to call the Java method using CALLJ, passing a parameter, handling errors, and executing the program to test the integration.

Uploaded by

nader
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Building SOA with Temenos T24 R11+ TAFC

By Mahmoud Elkholy [email protected]

How to integrate java application with


Temenos T24 (TAFC)

By

Mahmoud Elkholy

Cairo, Egypt

[email protected]
Building SOA with Temenos T24 R11+ TAFC
By Mahmoud Elkholy [email protected]

Introduction
In this article I will show to you step by step how to integrate your T24 Core Banking with any
customer Java application, this is the first step to build integrated SOA (Service Oriented
Architecture on any Bank that runs Temenos T24)

This article is the first of series of articles that will guide you to automate and build a digital
environment on any Bank that runs Temenos T24.

You can consider this as first step you can use to integrate any T24 application with any other
system using simple java application, as sample of the applications used for this I used my self
this to make the below:

1- Send SMS notification to customers based on specific transaction


2- Send email to customer/user for specific event
3- Generate xml files from raw data
4- Generate PDF files from T24
5- And lots of other applications
6- Assumptions:
7- This example is valid for Temenos T24 R11+ with TAFC engine
Building SOA with Temenos T24 R11+ TAFC
By Mahmoud Elkholy [email protected]

Build your Java application using ECLIPSE

Preface
This example will be made very simple to focus only on how to integrate with the Core through
Java Application, however I used this method myself on many services like making automated
SMS notifications from Core banking, automated email sending, conversion between JSON and
XML formats, AML scanning and many other services that can be called now easily from T24 via
Simple Java application

Build your application:

Through the below steps we will make simple java application that receive a number from T24
and returns back the same number multiplied by itself.

Steps:

1- Open eclipse and create new Java Project


2- Create new Package for the application, in this case I name it “ com.mkh”
3- Create new class and name it “Power”
4- Create New method inside the created class and Name it “GetPower2”
5- Make sure the input value and return value data type is String
Building SOA with Temenos T24 R11+ TAFC
By Mahmoud Elkholy [email protected]

6- Make sure to modify the Java compiler settings to be compatible with


Java 1.5

7- Build your application and export to jar file


Building SOA with Temenos T24 R11+ TAFC
By Mahmoud Elkholy [email protected]

8- Move the newly generated jar file to your bnk.run folder on the server via FTP binary
mode
9- Modify the file “.profile” of the t24 OS user in case of UNIX/AIX/Linux and add below
line:

export CLASSPATH=$CLASSPATH:/T24/bnk/bnk.run/test.jar

in case of windows system, please add the same to environment variables

10- From telnet terminal (putty/ netterm, …) Open editor window using JED command to
write the program that will execute the first test application as below:

JED TESTCALLJ

11- Copy and paste the below program:


Building SOA with Temenos T24 R11+ TAFC
By Mahmoud Elkholy [email protected]

PROGRAM testcallj
CRT "Test CALLJ Start"
param = '10'
CALLJ "com.mkh.Power","$GetPower2", param SETTING ret ON ERROR
GOSUB errorHandler
STOP
END
CRT "Received from Java: " : ret
STOP
errorHandler:
err = SYSTEM(0)
BEGIN CASE
CASE err = 1
CRT "Fatal Error creating Thread!"
CASE err = 2
CRT "Cannot find the JVM.dll !"
CASE err = 3
CRT "Class " : className : " doesn't exist!"
CASE err = 4
CRT "UNICODE conversion error!"
CASE err = 5
CRT "Method " : methodName : " doesn't exist!"
CASE err = 6
CRT "Cannot find object Constructor!"
CASE err = 7
CRT "Cannot instantiate object!"
CASE @TRUE
CRT "Unknown error!"
END CASE

RETURN

12- Save the program then execute,

You will find the output as below 

You might also like