× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

T24 Extensibility in Java

  • the_apache
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 4 months ago #22598 by the_apache
T24 Extensibility in Java was created by the_apache
Hi,

Do you have any documentation available for development in Java?
My t24 environment does not allow infobasic routines - I am having problems attaching a routine to a version due to EB.API issue. Temenos has confirmed that basic source cannot be used if the JD flag is set to Y in the SPF.
I am using design studio r19 and i am stuck on the flow/steps to follow in order to make my routines work.

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
5 years 4 months ago #22600 by VK
Replied by VK on topic T24 Extensibility in Java
Hi
Just curious - what SPF field contains that "JD flag"? Are you able to amend it to allow Basic again?

Cheers
VK

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago #22607 by kripesh
Replied by kripesh on topic T24 Extensibility in Java
Hi,

In the SPF file you have a field called Extensible Customisation. This is a Yes / No type of Field.

If set to Yes then it means all your routines should be in JAVA only.
If set to blank or NO or blank then you can have both BASIC and JAVA routines.

Regards,
Kripesh

Have a great day !
The following user(s) said Thank You: VK

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
5 years 4 months ago #22610 by VK
Replied by VK on topic T24 Extensibility in Java
Hi
Yes I see it in my R19 SPF.. Set to blank. To topic starter: IMHO it's better to set it to blank as well rather than dive into Java :)))

Cheers
VK

Please Log in or Create an account to join the conversation.

  • the_apache
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 4 months ago #22631 by the_apache
Replied by the_apache on topic T24 Extensibility in Java
Assuming this cannot be changed (since the client has bought the JD module), is there any material available that could help on how we should write a simple input routine, a nofile enquiry routine or a multi threaded batch routine?

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
5 years 3 months ago #22635 by VK
Replied by VK on topic T24 Extensibility in Java
Hi
Have you asked those who sold you that module? I mean Temenos.

I heard about the thing "basic replacement (by Java)" in TAFJ and even tried a sample during a training long time ago but I never seen it working in real life...

Cheers
VK

Please Log in or Create an account to join the conversation.

More
5 years 3 months ago #22638 by kripesh
Replied by kripesh on topic T24 Extensibility in Java
I have tried to write Input Routine, Enquiry Routine and NOFILE routine using JAVA and all the 3 worked well during my Training in R19 environment.

Have a great day !

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
5 years 3 months ago #22639 by VK
Replied by VK on topic T24 Extensibility in Java
Hi
Maybe you can share some examples? Would be interesting to look at...

Cheers
VK

Please Log in or Create an account to join the conversation.

More
5 years 3 months ago #22640 by kripesh
Replied by kripesh on topic T24 Extensibility in Java
The JAVA code would be something like this for an Input Routine for Funds Transfer

package com.kripbank;

import com.temenos.api.TField;
import com.temenos.api.TStructure;
import com.temenos.api.TValidationResponse;
import com.temenos.t24.api.hook.system.RecordLifecycle;
import com.temenos.t24.api.records.fundstransfer.FundsTransferRecord;


/*
* to check if the DEBIT and CREDIT CURRENCY are the same
*/

public class FTVersionDemo extends RecordLifecycle {

@Override
public TValidationResponse validateRecord(String application, String recordId, TStructure record,
TStructure lastLiveRecord) {
FundsTransferRecord fr = new FundsTransferRecord(record);
TField f1 = fr.getDebitCurrency();
TField f2 = fr.getCreditCurrency();


if (!f1.getValue().equals(f2.getValue()))
{
f2.setError("CREDIT CURRENCY IS NOT EQUAL TO DEBIT CURRENCY");
}
return fr.getValidationResponse();
}

}


The Code is something like the one above and we need to create EB.API for it and attach it as Input Routine for an FT version.

Have a great day !
The following user(s) said Thank You: VK, the_apache

Please Log in or Create an account to join the conversation.

More
5 years 3 months ago #22649 by Akash
Replied by Akash on topic T24 Extensibility in Java
Sir, I know INFOBASIC but now trying to learn java in temenos t24 but do not have any documentaion or any material regarding that. I'll be really greatfull if you can share some documentation regarding programming in Java in t24.

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #22741 by dikkijuhadi
Replied by dikkijuhadi on topic T24 Extensibility in Java
Hi Kripesh,

this java code is not about using TCS, TCC right ?

is temenos still using tcc, tcs for extensibility java ?
I'm sorry before, but did you have any document about using that ?
currently I'm working on third application to connect into t24 using java

Please Log in or Create an account to join the conversation.

More
5 years 1 month ago #22742 by kripesh
Replied by kripesh on topic T24 Extensibility in Java
Java Development is bascially for L3 development only. Temenos has developed some superclasses and methods to cater to anyone who wants to write Java code and attach it to Versions, Enquiries, Multi Thread service routines etc which was not possible in earlier releases where writing code had to be necessarily only in jBASE BASIC. This is my understanding.

Have a great day !

Please Log in or Create an account to join the conversation.

More
5 years 5 days ago #22798 by pblnkalyan
Replied by pblnkalyan on topic T24 Extensibility in Java
Hi Kripesh,

Instead of hardcoding the error like
f2.setError("CREDIT CURRENCY IS NOT EQUAL TO DEBIT CURRENCY");

is there an option to use STORE.END.ERROR (as in infobasic to CALL STORE.END.ERROR) ?

I can see the class file is available under the package "com.temenos.t24" as class "com.temenos.t24.STORE_END_ERROR_cl;"

How do we use the class files under the package "com.temenos.t24" ?

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #23414 by Nash21979
Replied by Nash21979 on topic T24 Extensibility in Java
Hi Guys,
This is kinda late reply but I was far for quite sometime :)
In fact, we faced the same issue when implementing R19 in production. In fact the MB R19 allows Infobasic code by default, wheras the Production Implementation did not as the SPF had the JD flag set to Yes. So it was an unexpected situation.
As a solution, we have requested a fix from Temenos to revert back that flag to "None" allowing us to use either Infobasic or Java code.
Regaards,

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #23417 by kripesh
Replied by kripesh on topic T24 Extensibility in Java
Yes there are options to NOT hard code the Error message and put the Errors in EB.ERROR file and call it inside the Java code.

Have a great day !

Please Log in or Create an account to join the conversation.

More
3 years 10 months ago #23418 by kripesh
Replied by kripesh on topic T24 Extensibility in Java
NO
NO

Have a great day !

Please Log in or Create an account to join the conversation.

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
3 years 8 months ago #23486 by silvergem
Replied by silvergem on topic T24 Extensibility in Java

Sir, I know INFOBASIC but now trying to learn java in temenos t24 but do not have any documentaion or any material regarding that. I'll be really greatfull if you can share some documentation regarding programming in Java in t24.
 

This is already available on TCSP portal with sample code and documentation

Please Log in or Create an account to join the conversation.

More
3 years 5 months ago #23586 by rishab
Replied by rishab on topic T24 Extensibility in Java
Great! this is helpful, thanks for sharing.

Please Log in or Create an account to join the conversation.

Time to create page: 0.097 seconds