0% found this document useful (0 votes)
70 views22 pages

4.create Insurance Template Container-R14

The document provides instructions for creating an insurance application template in Temenos T24 using the Eclipse integrated development environment. It describes how to set up the T24 development environment in Eclipse, create a new Java project, enable the TAFJ project nature, and select the T24 library folders. It then explains how to use the "T24 routine from template" option to generate the skeleton code for an insurance application called EB.INSURANCE, and similarly for the fields template EB.INSURANCE.FIELDS. It concludes by describing how to run the application and generate the required database artifacts.

Uploaded by

Med Mehdi Laaziz
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)
70 views22 pages

4.create Insurance Template Container-R14

The document provides instructions for creating an insurance application template in Temenos T24 using the Eclipse integrated development environment. It describes how to set up the T24 development environment in Eclipse, create a new Java project, enable the TAFJ project nature, and select the T24 library folders. It then explains how to use the "T24 routine from template" option to generate the skeleton code for an insurance application called EB.INSURANCE, and similarly for the fields template EB.INSURANCE.FIELDS. It concludes by describing how to run the application and generate the required database artifacts.

Uploaded by

Med Mehdi Laaziz
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/ 22

1

2
1. Define the properties of a INSURANCE application in TEMPLATE
and define the fields in TEMPLATE.FIELDS

3
4
If TAFJ is installed in your machine you will see the shown directory
structure. In the T24 folder, you will find scripts to start Eclipse IDE and
H2 database.
Double click on eclipse.cmd to open the eclipse IDE and start_H2.cmd
to start the H2 database. CMD opens a command prompt, where you
may run tafj_Shell.cmd to launch a TAFJ shell. From this shell you can
execute CUI commands like tShow, tDiag etc.

5
The screenshots show successful launch of Eclipse and H2 database

6
To start with creating the Template, first you need to create a new
project. From File Menu, select New Project

7
Choose Java Project

8
Provide a name for the project in the project name box. Keep the
default settings and click on finish.

9
Right click on your project in the package explorer window and click on
Toggle TAFJ project nature to make your project as a TAFJ project.
Set the project properties.

An existing properties file may be re-used from the location displayed,


or a new properties file can be created by choosing New project TAFJ
option. Click on Next. For your first exercise, it is advisable to choose
an existing property file.

10
In the window shown, there are three sections,
1) Basic Folder section – specify a folder on your disk where you want
to store the programs that you create in your eclipse IDE.
2) Insert Folder section – must point to the folder(s)/jar(s) where your
T24 inserts are present.
3) Precompile Folder Section – must specify the folder(s)/jar(s) where
the T24 precompiled jars or Enterprise jar files are present.
Note: the insert and precompile folder/jar can be found at the location
D:/Temenos/Development/T24/Dev/lib.
An existing property file selected in the previous step, would auto
populate the three sections with the properties set in that file. You will
need to add the location of the basic folder to store your basic
programs.

11
Retain the existing database connection properties. When you click on
finish, the tAF icon appears next to the project name. This is now a
TAFJ project.

12
Alternatively, you may right click on the project, click on Properties to
get the Properties window for your project to add a new Basic folder.
Screen shot in the next slide.

13
You may add/remove a Basic folder, Insert folder/jar, precompiled
folder/jar in this way too.

14
Do we have to create the application by writing the subroutine from
scratch?

No. We have T24 routine templates that will help us to create applications.

15
Lets now understand how to create a routine from template

Click on TAFJ Perspective, if you are not already working in this


perspective
In the Package explorer
Right Click Insurance Folder
Select New
T24 routine from Template

Use the T24 routine from template option to create a new subroutine.

16
The Open Template Dialog Box appears.
Choose TEMPLATE
Now provide the name of the application and the Prefix.
Click OK

17
EB.INSURANCE subroutine opens.
Fill the required values like Table.title, Table.product,
Table.classification, Table.equatePrefix, Table.idPrefix etc.
Ctrl + S to save the routine.

The compilation results can be viewed in the Console window. If the


compilation has failed, click on the Problems tab to identify the errors.
Alternatively, you may hover over the red cross which is displayed
against the erroneous line, to view the error description. An amber
warning symbol is displayed for warnings.

The outline view lists the labels, inserts, calls etc in the routine.

18
Perform the same steps mentioned before to launch.

The Open Template Dialog Box appears.


Choose TEMPLATE.FIELDS
Now provide the name of the application and the Prefix.
Click OK

19
20
Start jboss. Run the BROWSER.LISTEN and launch the browser.

At the Command prompt, type EB.DEV.HELPER I <Application Name>


EB.DEV.HELPER I EB.INSURANCE and select the artefacts that you
want to create for your application
EB.DEV.HELPER is a work file. On verification of the record, it will
automatically initiate the process to create
1) PGM.FILE, FILE.CONTROL and STANDARD.SELECTION records.
2) INSERTs and
3) Database files

Launch the application you have newly created from the command
prompt.

21
22

You might also like