1
Local Application
Transact Extensibility for Java (English)
2020 Q1
©2020 Temenos Headquarters SA - all rights reserved.
2
Copyright Notice
©2020 Temenos Headquarters SA - all rights reserved.
Warning: This document is protected by copyright law and international
treaties. Unauthorised reproduction of this document, or any portion of it, may
result in severe and criminal penalties, and will be prosecuted to the
maximum extent possible under law.
©2020 Temenos Headquarters SA - all rights reserved.
3
Lesson Overview
I am Create Program Application
Generate
going to Local
API
on Local Level
Application Application Validation
describe
©2020 Temenos Headquarters SA - all rights reserved.
4
Local Application in Java Framework
▪ Creating Local application is possible using two application
▪ EB.TABLE.DEFINITION
▪ EB.TABLE.PROCEDURES
▪ EB.TABLE.DEFINITION is responsible to create the field definitions
▪ EB.TABLE.PROCEDURES is responsible to attach the business logic
created using java classes
©2020 Temenos Headquarters SA - all rights reserved.
In Java L3 there is no Template concept. Developers are suppose to use the ET and
ETD applications to create local application.
EB.TABLE.DEFINITION is responsible to create the field definitions
EB.TABLE.PROCEDURES is responsible to attach the business logic created using java
classes
5
Practice 9.1 – Creating Local Application
▪ Create a local application called WALKIN.CUSTOMER with below fields
▪ NAME
▪ EMAIL Field Name Data Type Max Char
▪ PHONE NAME A 35
EMAIL A 35
PHONE A 10
TABLE.NAME WALKIN.CUSTOMER
PRODUCT ST
FILE.TYPE H
CLASSIFICATION CUS
©2020 Temenos Headquarters SA - all rights reserved.
Create the application with the above mentioned properties
6
Solution 9.1
▪ Create the table using
EB.TABLE.DEFINITION
▪ ETD creates the required
artefacts – PGM.FILE,
FILE.CONTROL,
STANDARD.SELECTION,
DATA FILES
©2020 Temenos Headquarters SA - all rights reserved.
Create a local application WALKIN.CUSTOMER to store NAME, PHONE, EMAIL of a
customer.
This can be done using making and entry in EB.TABLE.DEFINITION application.
Fields should be defined with the appropriate data type. Field name should be
defined in FIELD.NAME and DESCRIPTION fields.
7
Generate API for the Local Application
▪ Using Design Studio, we can generate the API for the APPLICATION
created using EB.TABLE.DEFINITION
▪ we need a server project – to establish connection with T24
▪ We need a models project – to import the application from T24
©2020 Temenos Headquarters SA - all rights reserved.
Using Design Studio, we can generate the API for the APPLICATION created using
EB.TABLE.DEFINITION
we need a server project – to establish connection with T24
We need a models project – to import the application from T24
8
T24 Packager Project - Recap
▪ Create T24-packager-tafj project
▪ File -> New -> Project
©2020 Temenos Headquarters SA - all rights reserved.
To generate the API for newly created local application we need a Design studio
project. We can either take Datatool or packager project.
Launch Design Studio, specify a workspace. Workspace is any folder on the file
system. Click on File→New→project. Type Design in the filter to bring up the Design
Studio templates. DS-template project and choose data-tool project from the
dropdown. Click on next click on Finish. We are choosing a data-tool project as the
template creates a models as well as a server project.
9
Import the Local Application
©2020 Temenos Headquarters SA - all rights reserved.
Right click on the BRP-models project→Import →T24 application By Name. after the
application is imported successfully, we can see the class in EB_Foundation.domain
10
Application Imported
©2020 Temenos Headquarters SA - all rights reserved.
Right click on the BRP-models project→Import →T24 application By Name. after the
application is imported successfully, we can see the class in EB_Foundation.domain
11
Toggle TAFJ Project
©2020 Temenos Headquarters SA - all rights reserved.
Generation of API is possible from the TAFJ Project. Hence change the model project
as TAFJ Project
12
Generate API
©2020 Temenos Headquarters SA - all rights reserved.
Right click on the models project and select -> Design Studio -> Generate API
This will generate a jar file. The JAR should be strored under the locallib
13
Update module.xml and Java Build Path (Only for
JBoss)
▪ Update module.xml and restart jBoss
▪ Add the jar to the java Build path
Of the Java project
©2020 Temenos Headquarters SA - all rights reserved.
The generated jar contains the code that is needed to interact with the local
application in T24.
Add the jar in module.xml and restart jBoss
Restart the Jboss
Add the jar to the Java Build Path in the Java project
14
Practice 9.2
▪ Raise an Override Message if the Phone / Email is used by existing
Customer (Check against CUSTOMER Application)
▪ Note: Create a new screen for the local application created and
attach as INPUT.ROUTINE
©2020 Temenos Headquarters SA - all rights reserved.
Raise an Override Message if the Phone / Email is used by existing Customer (Check
against CUSTOMER Application)
15
Solution 9.2
©2020 Temenos Headquarters SA - all rights reserved.
16
Solution 9.2
©2020 Temenos Headquarters SA - all rights reserved.
Create EB.API Record.
Create a Version Called ST.WALKIN.CUSTOMER,DEMO and attach the INPUTROUTINE
field with the EB.API ID Created
17
Solution 9.2
©2020 Temenos Headquarters SA - all rights reserved.
Override thrown with the list of Customer Ids used with Phone Number
18
Practice 9.3
▪ Attach the EB.API Created in the previous exercise at the Application
Level
©2020 Temenos Headquarters SA - all rights reserved.
Attach the EB.API Created in the previous exercise at the Application Level
19
Solution 9.3 - Using EB.TABLE.PROCEDURES
©2020 Temenos Headquarters SA - all rights reserved.
Create an PGM.FILE Entry with the TYPE =S and PRODUCT = EB
Create an entry in EB.TABLE.PROCEDURES with the ID of LOCAL APPLICATION Entry
created before.
Attach the PGM.FILE created before as CORSSVAL PROCEDURE
20
Solution 9.3
©2020 Temenos Headquarters SA - all rights reserved.
Create a record using the application ST.WALKIN.CUSTOMER and create a record with
exising email id
Override thrown for the customers who is using the same email ids.
21
Practice 9.4
▪ Default the value of the Email field with abc@gmail.com for all the
customers created in ST.WALKIN.CUSTOMER
©2020 Temenos Headquarters SA - all rights reserved.
Default the value of the Email field with abc@gmail.com for all the customers created
in ST.WALKIN.CUSTOMER
22
Solution 9.4
©2020 Temenos Headquarters SA - all rights reserved.
23
Solution 9.4 – EB.API and PGM.FILE
©2020 Temenos Headquarters SA - all rights reserved.
Creae EB.API with Class, Method and Package Information.
Create PGM.FILE entry with Type = SUBROUTINE and Product as EB
24
Solution 9.4 – EB.TABLE.PROCEDURES
©2020 Temenos Headquarters SA - all rights reserved.
Attach the PGM.FILE id as the CHECK.REC.PROC in EB.TABLE.PROCEDURES
25
Solution 9.4
©2020 Temenos Headquarters SA - all rights reserved.
Try to create new record in ST.WALKIN.CUSTOMER application.
The email should be defaulted with abc@gmail.com
26
Lesson Summary
I Create Program Application
Generate
Local on Local Level
described Application
API
Application Validation
©2020 Temenos Headquarters SA - all rights reserved.
I Described, Create Local Application
Generate API
Program on Local Application
Application Level Validation
27
thank.you tlc.temenos.com
28
29