Component Framework-Deploying Component Service
Component Framework-Deploying Component Service
D e pl oyi n g c o m p o n e n t
s e r vi c e
R20
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
Amendment History:
Revisio
Date Amended Name Description
n
1 29th March 2020 Dhanya J Initial version
Page 2
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
C o pyri g h t
Copyright © Temenos Headquarters SA 2009-2020.
All rights reserved.
This document contains proprietary information that is protected by copyright. No part of this document may
be reproduced, transmitted, or made available directly or indirectly to a third party without the express
written agreement of TEMENOS UK Limited. Receipt of this material directly TEMENOS UK Limited
constitutes its express permission to copy. Permission to use or copy this document expressly excludes
modifying it for any purpose, or using it to create a derivative therefrom.
Err a t a a n d C o m m e n t s
If you have any comments regarding this manual or wish to report any errors in the
documentation, please document them and send them to the address below:
Technology Department
Temenos Headquarters SA
2 Rue de l’Ecole-de-Chimie,
CH - 1205 Geneva,
Switzerland
Please include your name, company, address, and telephone and fax numbers, and email
address if applicable. [email protected]
Page 3
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
Ta b l e o f C o n t e n t s
Copyright................................................................................................................................................ 3
Errata and Comments............................................................................................................................ 3
Introduction............................................................................................................................................. 6
Software Requirements.......................................................................................................................... 6
TAFC Configuration................................................................................................................................ 7
Overview for TAFC............................................................................................................... 7
jBC Deployment............................................................................................................... 8
C++ Deployment.............................................................................................................. 9
.NET Deployment........................................................................................................... 11
Provider Deployment..................................................................................................... 12
TAFJ Configuration............................................................................................................................... 13
Overview for TAFJ.............................................................................................................. 13
jBC Deployment............................................................................................................. 14
Java Deployment........................................................................................................... 15
Provider Deployment..................................................................................................... 16
Resources............................................................................................................................................ 17
Appendix.............................................................................................................................................. 18
Web Resources for J2EE Application Servers................................................................... 18
jBoss 5.1.................................................................................................................... 18
Page 4
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
Properties File................................................................................................................ 18
Page 5
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
Intr o d u c ti o n
This section enables you to deploy different T24 Component Service APIs in Temenos Application
Framework (TAF) on supported platforms.
S oftwar e R e q uir e m e n t s
This section provides you the details of the software required for deploying component services in
Temenos Application Framework (TAF) environment.
Requirement Description
To download, go
Apache Axis2 – Release 1.5.5
to http://axis.apache.org/axis2/java/core/download.cgi
MS IIS Server 7 Applicable for .NET web service deployment for TAFC.
Page 6
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
TAFC C o n f i g u r a t i o n
This section explains the process to deploy APIs for TAFC specific environment.
Windows TAFC_HOME\bin
Object C:\T24\jbase.rel\PB201112\bin\libComponentFramework
Subroutines JBC_GetServiceResponseHandler
JBC_CheckServiceOperationExist
JBC_GetProxyInterface
libComponentFramework_version
T24 MB R12+ has all available component services by default in the T24_COMPONENTS directory.
Additionally, it provides extensions for existing component services, along with the native jBC API.
To k n o w m o r e o n h o w t o d ev elo p a n e w c o m p o n e n t, r ef e r t o t h e followi n g
link (vid e o).
This section lists the artefacts in NEW_COMP_SRV\dist directory to deploy newly built component
service in T24 for TAFC.
Page 7
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
This section explains the deployment process of jBC, C++, .NET, Proxy Adaptor and Proxy APIs in
TAFC.
j BC D e p l o y m e n t
This API enables applications and other components to access core component implementation with-
in T24. It is packaged in lib<ComponentService>Core.* library, which has jBC APIs and com-
ponents for implementation.
Page 8
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
Item Description
Deployment Verify the component deployment and check the available operations in the
Verification library by applying one of the following commands from jshell:
Dependencies Has core jBC routines and does not require deployment of other component
service artefacts.
Invoking jBC Additional configuration is not required to use this library within T24, as API has
API native code.
C + + D e ploy m e n t
This API provides access to T24 component jBC implementation for third party system built in C++ lan-
guage. Additionally, it converts core C++ objects to jBC format and vice versa by providing standard
C++ interface and objects to third party. This helps you to avoid the need to deal with inter-
nal T24 (jBC) format. C++ API is packaged in lib<ComponentService>.* library, which has C+
+ interface components and its implementation.
Item Description
Page 9
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
Item Description
Component as lib<ComponentService>.*.
Deployment Verify the component deployment and check the available operations in the
Verification library by applying the following command from jshell:
Invoking jBC The third party system needs to setup the T24 environment before invoking C++
API
API. This environment includes setting up the following variables:
TAFC_HOME
JBCOBJECTLIST
JBASE_JBCOBJECTLIST_DIR
OFS_SOURCE
JBASE_I18N
JBASE_LOCALE
JBASE_CODEPAGE
Windows - PATH
Page 10
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
. N ET D e p l o y m e n t
This API provides access to T24 component jBC implementation for third party system built in .NET
languages. It uses C++ Deployment to process the request from T24. It is packaged in lib<Compo-
nentService>Wrapper.dll library, which has .NET interface components and its implementa-
tion. This library is only available for Windows platform.
Item Description
New Available in
Component the NEW_COMP_SRV\dist\lib\t24Service\dotnet directory
as lib<ComponentService>Wrapper.dll.
Deployment Available in
Verification the NEW_COMP_SRV\dist\lib\t24Service\dotnet directory
as lib<ComponentService>Wrapper.dll
Invoking jBC The third party system needs to setup complete T24 environment before
API invoking .NET API. This environment includes setting up the following variables:
Page 11
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
Item Description
TAFC_HOME
JBCOBJECTLIST
JBASE_JBCOBJECTLIST_DIR
OFS_SOURCE
JBASE_I18N
JBASE_LOCALE
JBASE_CODEPAGE
Windows - PATH
Pr ovid er D e pl oy m e n t
This API exposes the T24 component (jBC) implementation as a web service. It is available in the fol-
lowing technologies for TAFC:
Technology Server
P r o xy A d a p t o r a n d P r o xy D e p l o y m e n t
Unlike jBC, C++, .NET, and Provider APIs whose core responsibility is to host T24 as data provider
(that is, third party system needs to access T24 and retrieve data by providing industry standard inter-
faces), the Proxy Adaptor and Proxy API offers functionalities to access third party system with-
in T24 (that is, making T24 a data consumer). Additionally, it provides T24 component to switch from
its default jBC implementation to standard C++ interface implementation on runtime, where you can
write the custom code to access third party system.
Page 12
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
The Proxy Adaptor is deployed when the library is dropped in the T24_COMPONENTS directory. If jBC
API finds a request when checking the deployment, it redirects the request to Proxy Adaptor. On re-
ceiving the request, it converts the format from native jBC to C++ objects before forwarding it to Proxy
API and vice versa.
Windows - PATH
The Proxy API has interface header files in the following directories:
TAFJ Configuration
This section explains the process to deploy APIs for TAFJ specific environment.
This section explains you the deployment and configuration options that are available for TAFJ specific
environment.
C:\TAFJ\tShow GetServiceResponseHandler
Home : 'C:\TAFJ\R11\TAFJ-R11_201108'
- Project : 'tafj' [ FOUND ]
BASIC source : 'C:\RTC\src\DEV\SoaFramework\build\tafj\basic\Get-
ServiceResponseHandler.b'
JAVA class : 'file:/C:/TAFJ/R11/TAFJ-R11_201108/ext/tsoaframework.-
jar!/com/temenos/t24/GetServiceResponseHandler_21
Page 13
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
_cl.class'
Compiled the : 11 Oct 2011 16:19:18
on : hmll1010336
Timestamp : 1318346358797
Grammar : 1
Include Basic Replacement : false
T24 MB R12+ has all available component services by default in the T24_COMPONENTS directory.
Additionally, it provides extensions for existing component service, along with the native jBC API.
To know more on how to develop a new component, refer to the following link (video).
Component Framework Demo
This section lists the artefacts in NEW_COMP_SRV\dist directory to deploy newly built component
service in T24 for TAFJ.
This section explains the deployment process of jBC, Java, Provider, Proxy Adaptor and Proxy APIs in
TAFJ.
j BC D e p l o y m e n t
This API enables applications and other components to access core component implementation with-
in T24. It is packaged in the T24-<ComponentService>.jar library in com.temenos.T24,
which has jBC API and jBC components for implementation.
Page 14
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
Item Description
New Available in
Component the NEW_COMP_SRV\dist\lib\t24Service\java directory
as T24<ComponentService>.jar.
NOTE: You need to copy the library to T24_COMPONENTS or add the location
in Java CLASSPATH.
Dependencies Has core jBC routines and does not require deployment of other component
service artefacts.
Invoking jBC Additional configurations are not required to use this library within T24, as API
API has native code.
Jav a D e p l o y m e n t
This API provides access to T24 Component jBC implementation for third party system that is built in
Java language. Additionally, it convert core Java objects to jVar format and vice versa by providing
standard Java interface and objects to the third party. This helps to avoid the need to deal with inter-
nal T24 (jVar) format.
Item Description
Page 15
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
Item Description
NOTE: You can copy the library to T24_COMPONENTS or add the location in
Java CLASSPATH.
NOTE: As each Java API instance represents the TAFJ jSession which is an expensive operation:
Pr ovid er D e pl oy m e n t
This API exposes T24 component jBC implementation as a web service. The following methods are
used for deploying Provider API of TAFC:
Page 16
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
P r o xy A d a p t o r a n d P r o xy D e p l o y m e n t
Unlike jBC, Java, and Provider APIs whose core responsibility is to host T24 as data provider (that is,
third party system needs to access T24 and retrieve data by providing industry standard interfaces),
the Proxy Adaptor and API offer functionalities to access third party system within T24 (that is, mak-
ing T24 a data consumer). Additionally, it provides T24 component to switch from its default jBC imple-
mentation to standard Java interface implementation on runtime, where you can write the custom code
to access third party system.
The Proxy Adaptor is deployed when the library is dropped in Java CLASSPATH, followed by adding
or updating the services.properties file in TAFJ_HOME/conf directory or from CLASS-
PATH. If jBC API finds a request when checking the deployment, it redirects the request to Proxy
Adaptor. On receiving the request, it converts the format from native jVar to Java object, finds the
proxy implementation by using ‘services.properties’ and forwards it to Java API and vice versa.
The Proxy API has interface header files in the following directories:
You need to replace <ComponentService> with the name of the component. For example, Custom-
erService, ChargeService etc.
Resources
This section provides you additional information on Temenos Application Framework (TAF).
Java JDK
JBoss
Oracle Weblogic
Page 17
C o m p o n e n t F r a m e w o r k-
D e pl oyi n g c o m p o n e n t s e r vi c e
Oracle Glassfish
Appendix
This section provides examples that helps you to understand API deployment for Temenos Application
Framework (TAF).
jBoss 5.1
jca/t24ConnectionFactory com.jbase.jremote.JConnectionFactory
java:jca/t24ConnectionFactory
jca/t24ConnectionFactory jca/t24ConnectionFactory
P r o p e r t i e s Fi l e
Services.Properties
###################################################################
####################
# This file will be loaded by Proxy Adaptor to find the Proxy Impl
class.
# Example: CustomerService=com.temenos.services.customer.Custom-
erServiceProxyImpl
#
# Add your entries below
###################################################################
####################
#
<ComponentName>Service=<Fully_Qualified_ProxyImpl_Class_Name>
Page 18