How To Integrate Java Application With Temenos T24 (TAFC)
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:
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
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:
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
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
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