简体   繁体   中英

Connect to Temenos T24 with Javascript or Nodejs

We are using Temenos T24 as core banking platform. There are three layers in application:

  1. front-end

  2. REST API

  3. T24.

REST API connects with T24 via TOCF and returns response in JSON format to front-end for T24 enquiry.

Is there anyway to connect to T24 using nodejs and get t24 message ?

You can execute node js script from t24 and get a response.

see below sample from jbase code

    PROGRAM TESTTEST

    Y.NODE = "node ./NODE.BP/test.js"
    EXECUTE Y.NODE CAPTURING Y.NODER
    CRT(Y.NODER)

    RETURN
END

NODE JS sample

var a=6;
var b=12;
var c=a+b;
/* var program_name1 = process.argv[0];
var program_name2 = process.argv[1];
var program_name3 = process.argv[2];
var program_name4 = process.argv[3];
console.log(program_name3)
console.log(program_name4)*/

console.log("Sum("+a+"+"+b+") is done in T24 and result is : "+c);

ReST API does not connect to T24 via TOCF, its usage open source project IRIS and the only way to connect from nodejs to T24 is to use ReST API.

Namaste, Manoj

you cannot connect to T24( business logics exposed via enquires and version to GUI) from your node.js. What you can do is either build node.js app that calls rest api to access the functionality or you can connect to the database to get the data but your app should have the logic what should be done with the data.

Since R17 IRIS has been the common technology used to integrate T24 with external systems like GUIs. its expose the T24 functionalities into standard Api to be consumed by those system. there is another ways (Queues) but the most recommended and used is thru the Apis.

In this case, you can build your nodejs app to connect using the rest endpoints configured in TAFJEE.ear for T24 in the application server (Now replaced with IRIS). NodeJs does this easily.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM