Sei sulla pagina 1di 7

1

After completing this learning unit, you will be able to

Put together your own TAFJ standalone and work on it

Compile basic programs on a TAFJ standalone area

2
Understand the TAFJ workshop folder structure
Training SW – all the required softwares for doing the workshops are available here as
zip files which needs to be extracted in the appropriate placeholders
3rdParty – All 3rd party softwares go here – AS Jboss, database H2, java JDK and also
eclipse
T24 – All T24 related files – H2 database instance DEV which stores the T24 data,
locally developed source code and the precompiled
TAFJ – when you run setup, specify this folder for your TAFJ_HOME
Scripts – some bat files for running setting the paths.

TAFJ-R14
3
1. Ensure that the default install directory path is overridden with
TAFJWorkshop\TAFJ path. Doing so will extract TAFJ runtime files in that path
and automatically set tafj.home to TAFJWorkshop\TAFJ, which is desired. If you
extract it to any other location, manually change the properties.
2. The H2 database version that we are using is h2_1.3.161. Hence copy this driver.

TAFJ-R14
4
Note:
You can see the below text for setting the URL for H2 in your properties file in the
database properties section. We started our H2 database in localhost at the port
9007. Read the H2_64 script file in scripts folder. The database instance name is DEV
in the location TAFJWorkshop/T24/data. The user id = tafj and password = tafj
# ex. H2: jdbc:h2:tcp://<host_or_ip>/<db_name>
1. temn.tafj.jdbc.url = jdbc:h2:tcp://127.0.0.1:9007/DEV

Right click on Command prompt -> properties. Ensure the target says
%windir%\system32\cmd.exe /k D:\TAFJWorkshop\tafj_shell.cmd and Start in =
D:\TAFJWorkshop or change the location accordingly.

TAFJ-R14
5
Note:

1. tafj_shell e => In the Script file tafj_shell.cmd, there is a condition to check if the
first argument is “e” (if "%1" == "e“), then launch eclipse.exe.
2. Run tDiag. T24DEV should be set as the default project instead of tafj.
3. Lib, ext, conf etc contain runtime related files which are necessary for TAFJ
runtime to function.
4. Appserver, dbdrivers, eclipse are folders which contain specific files as discussed
in the session. However these files are not directly needed for TAFJ runtime. For
eg eclipse folder stores the eclipse plugins to be used in eclipse to work in the
TAFJ perspective, dbdrivers contains the drivers for the various databases,
Appserver contains configuration files for the various application servers. These
files are useful when deploying T24 on a specific AS.

TAFJ-R14
6
After completing this learning unit, you will be able to

Identify some important properties in TAFJ Configuration files


Write a Basic Program and Compile in TAFJ

Potrebbero piacerti anche