1
2
3
4
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
Create the application with the above mentioned properties
6
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
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
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 FileNewproject. 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
Right click on the BRP-models projectImport T24 application By Name. after the
application is imported successfully, we can see the class in EB_Foundation.domain
10
Right click on the BRP-models projectImport T24 application By Name. after the
application is imported successfully, we can see the class in EB_Foundation.domain
11
Generation of API is possible from the TAFJ Project. Hence change the model project
as TAFJ Project
12
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
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
Raise an Override Message if the Phone / Email is used by existing Customer (Check
against CUSTOMER Application)
15
16
Create EB.API Record.
Create a Version Called ST.WALKIN.CUSTOMER,DEMO and attach the INPUTROUTINE
field with the EB.API ID Created
17
Override thrown with the list of Customer Ids used with Phone Number
18
Attach the EB.API Created in the previous exercise at the Application Level
19
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
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
Default the value of the Email field with [email protected] for all the customers created
in ST.WALKIN.CUSTOMER
22
23
Creae EB.API with Class, Method and Package Information.
Create PGM.FILE entry with Type = SUBROUTINE and Product as EB
24
Attach the PGM.FILE id as the CHECK.REC.PROC in EB.TABLE.PROCEDURES
25
Try to create new record in ST.WALKIN.CUSTOMER application.
The email should be defaulted with [email protected]
26
I Described, Create Local Application
Generate API
Program on Local Application
Application Level Validation
27
28
29