Course Document Transact TAFJ Foundation TR1PRAFJ - R22 Revision 1 English
Course Document Transact TAFJ Foundation TR1PRAFJ - R22 Revision 1 English
Revision 1 English
Table of Contents
Document History
Introduction
Lesson Overview
In this lesson, I am going to describe what your course is all about.
Lesson Summary
In this lesson, I described what your course is all about.
Architecture
Lesson Overview
In this lesson, I am going to describe, Platform Framework, TAFJ Architecture, Features, Standalone mode.
Platform Framework
The Platform framework offers: Compiler, Libraries, Tools. It also handles resource management through: Transactions,
Messages, Persistence, Context, Threads, Memory.
TAFJ Architecture
The diagram represents TAFJ core banking architecture Transact source code (*.b) is compiled into java classes (*.class) on
TAFJ, packaged into jar files and deployed on a J2EE server. TAFJ uses JDBC drivers to connect to JDBC-compliant databases
such as H2, Oracle, SQL server, DB2, DB2-zOS. TAFJ runtime comes with easy-to-use tools to manage the runtime and
database. For e.g., DBImport is a TAFJ tool to import data from a jBase database into oracle database. All the runtime
configurations (URL of the database to connect to, compiler settings, location of the runtime user directory etc.) are specified
and managed using property files. TAFJ uses log4J loggers. Extensive logs are generated for troubleshooting. TAFJ makes
use of the OS print manager and the JVM print mechanism to configure printers. TAFJ provides a lock manager for database
lock management. TAFJ also has the capability of redirecting all in and out streams to a remote client console.
W
W
W
Lesson Summary
In this lesson, I described, Platform Framework, TAFJ Architecture, Features, Standalone mode.
Standalone Tools
Lesson Overview
In this lesson, I am going to describe, TAFJ Folder Structure, Properties, TAFJ Standalone Tools like tDiag, tCompile, Services.
G
G
G
Services » Configuration
A Transact service can be executed in a multithreading or multiprocessing fashion from the TAFJ Shell. Setting the property
temn.tafj.runtime.phantom.as.process = true will initiate the service as a process. That is, instead of spawning multiple
threads f , ’
pool size when running the service as a process.
Services » COMO
Transact services-related details are logged in the COMO logs. By default, COMOs log files are generated under
<TAFJ_HOME>/log_T24/como. The default behaviour could be overridden by using the following property:
temenos.log.directory.como=<PATH_TO_YOUR_COMO_LOG_FOLDER>. The property has to be set at TAFJ start-up and should
be done through environment variables or JVM arguments. You cannot use the tafj.properties file as loggers get initialized
before tafj properties gets loaded. The tafj property
“ /& &” and is used only when
temenos.log.como=false. P.S. The &COMO& directory is deprecated since UD directory would be completely removed for
cloud migration in future.
Lesson Summary
In this lesson, I described, TAFJ Folder Structure, Properties, TAFJ Standalone Tools, Services.
DB Tools
Lesson Overview
In this lesson, I am going to describe, Database structure, DBTools Console, Database Functionalities, DBTools Console
Functionalities, tJed Editor.
G N ,
,
Lesson Summary
In this lesson, I described Database structure, DBTools Console, Database Functionalities, DBTools Console Functionalities,
tJed Editor.
TAFJEE Servlet
Lesson Overview
In this lesson, I am going to describe, Configuration, Diagnostic, Execution, Management, Troubleshooting.
Overview » Launch
TAFJJEE_EAR.ear file also contains a war file which is a helper servlet. Access this helper servlet at
http://localhost:9089/TAFJEE. Note: Port offset 1009 has been added to the default port 8080 in the URL.
N G N
/ / /
N
/ /
Diagnostic » TAFJ_CONFIGURATION
The TAFJ_CONFIGURATION table reflects the current configuration along with the default configuration.
N G N
N N
// 8 / /
Lesson Summary
In this lesson, I described, Configuration, Diagnostic, Execution, Management, Troubleshooting.
Practice
Quiz I
TAFC and TAFJ Java classes JDBC drivers JDK1.8 and above Property
Quiz II
True False True
Practice
Quiz
%TAFJ_HOME%\bin tCompile tRun tDiag tShow
W N
// / /
// /
Workshop 2
Open a TAFJ command Shell by clicking on the command script under your Temenos Folder or by using the Windows menu.
tCompile –cf dev %TAFJ_HOME%\samples\basic\HELLO.GRO tCompile %TAFJ_HOME%\samples\basic\ tRun –cf dev
HELLO.GR0 tRun tSS GCS ENQUIRY.SELECT,,INPUTT/123456,CATEGORY-LIST
Practice
Quiz
DBTools tUserMgnt SQL, JQL, OFS LOCKS STAT
Workshop 1
In the SQL mode, SELECT * FROM FBNK_CURRENCY USAGE
Workshop 2
In the JQL mode GETDBNAME FBNK.CURRENCY LIST-ITEM FBNK.CUSTOMER WITH @ID=100100
Workshop 3
1. Use LIST-ITEM in JQL mode or use SELECT in SQL mode. DBTools -u <un> -p <pwd> -s SQL SELECT \\* FROM
N NW ' ‘ -u <un> -p <pwd> -s JQL LIST-ITEM F.STANDARD.SELECTION
CUSTOMER 2. DBTools -u <un> -p <pwd> -s JQL CLEAR-FILE F.BATCH.STATUS 3. DBTools -u <un> -p <pwd> -s JED –s
F.TSA.SERVICE COB 6=STOP; 4. tJed -u admin -p Temenos@123 -gui FBNK.CUSTOMER 100100 LOCK=Y
Practice
Quiz
Add-User.bat TAFJ_CONFIGURATION tRun tDiag tShow
Workshop
On the application server, launch the helper servlet Check whether the routine OPF is available in the classpath – tShow
servlet View the runtime log – logger servlet View the tSA logs generated by the COB run – Como servlet Launch DBTools
Create application user and add to TAFJAdmin role Amend module.xml to add the resource /ext/DBTools.jar Restart the
application server Post an OFS request to create an account. Sample Request: ACCOUNT,/I,
INPUTT/123456,,CUSTOMER=100100, CURRENCY=USD,CATEGORY=1001
/ /
N ,/ , N / ,, , N , G