SlideShare une entreprise Scribd logo
1  sur  212
Tibco B.E 5.2.0
Data Modelling 5.2.0
Decision Manager 5.2.0
Page 2 of 212
Table of Content
1 Installation................................................................................................................. 3
2 Channels, Events, Destinations, Rules .................................................................. 3
3 Building a CDD file and archive file ...................................................................... 21
4 Starting Project Locally.......................................................................................... 26
5 Running BE engine without default event in channel ........................................ 36
6 Using Schema, Event, Concept............................................................................. 38
7 Output Event ........................................................................................................... 52
8 JMS Channel/Destination....................................................................................... 57
9 JMS Reply Destination........................................................................................... 62
10 JMS destination using routeTo function.............................................................. 65
11 Timer Event Interval Based ................................................................................... 66
12 Timer Event Rule Based......................................................................................... 70
13 Advisory Event........................................................................................................ 78
14 Log Configuration................................................................................................... 85
15 Concepts ................................................................................................................. 86
16 Create An Instance Of Concept From Ontology Function ................................. 94
17 Time to live.............................................................................................................. 96
18 Consuming Events ................................................................................................. 99
19 Contained/Referenced Concept .......................................................................... 100
20 ScoreCard.............................................................................................................. 113
21 RuleFunction......................................................................................................... 117
22 Rank ....................................................................................................................... 117
23 Evaluate As A String ............................................................................................ 122
24 GlobalVariable....................................................................................................... 124
25 Inferencing ............................................................................................................ 126
26 ConflictResolutionCycle ...................................................................................... 126
27 BE SOAP Server ................................................................................................... 126
28 Creating Webservice Using Concrete WSDL..................................................... 141
29 B.E as a client ....................................................................................................... 147
30 B.E invoking a BW WSDL .................................................................................... 155
31 Caching.................................................................................................................. 161
32 Multicast Discovery URLS's ................................................................................ 178
33 Unicast Discovery Url's........................................................................................ 179
34 Listen Url ............................................................................................................... 180
35 Agent Classes ....................................................................................................... 180
36 Datamodelling/Storing Concepts To DB ............................................................ 182
37 Debug Mode .......................................................................................................... 202
38 Decision Manager................................................................................................. 204
Page 3 of 212
1 Installation
Install B.E 5.1.0
.
2 Channels, Events, Destinations, Rules
First open the B.E studio and create a workspace. This will be a place holder for the code created.
creating a new BE project. By right clicking in the Studio explorer
Page 4 of 212
Events, Concepts, Rules, Runtime environment, Scorecards are called ontology objects.( ontology is a
formal naming and definition of the types, properties, and interrelationships)
Clients will have to submit a request (event) to the b.e engine.
The point of entry to b.e environment is channel. Clients submit xml request to the be environment
through a channel.
creating a channel
Page 5 of 212
Page 6 of 212
Page 7 of 212
creating a shared HTTP resource
Page 8 of 212
Page 9 of 212
Now in the channel browse the HTTP shared resource that was just created
Page 10 of 212
What we have achieved so far is we have created a connection to a server. At run time the tomcat start up
and the BE engine is creating a connection to the tomcat,
We also have to create destinations. In BE destinations are listeners for the incoming request.(Just like
"JMS Queue Receiver", "Soap Event Source " in tibco BW)
creating a destination
Page 11 of 212
Now in the Include Event Type
When a client sends an xml string the channel converts it into a BE event this is called Deserializing
Converting Event into outgoing XML string by the channel is called Serializing
We will not select "Is Page Flow" in our case
Page 12 of 212
Creating an event
Page 13 of 212
We will look at events in detail below.
Page 14 of 212
Now we will add properties in the event. If you want to have a great performance of the BE engine you can
communicate only by using properties instead of payload XML.
Page 15 of 212
Now go back to the channel and select this event that we have created here
Page 16 of 212
Creating a new Rule
Page 17 of 212
Page 18 of 212
Page 19 of 212
Now writing the action that rule needs to perform
type "System." studio automatically shows the different functions available that can be used
Page 20 of 212
Page 21 of 212
3 Building a CDD file and archive file
Cluster deployment descriptor, you will configure your runtime configuration, the values that need to be
passed, whether it is an inference agent or cache agent, what destination should be added, what roles
should be added.
Page 22 of 212
Page 23 of 212
When deploying an ear you will associate the EAR with a CDD file.
Page 24 of 212
Adding channels to the CDD
Page 25 of 212
Below is the inference agent. Processing unit is nothing but the inference agent.
Page 26 of 212
4 Starting Project Locally
Page 27 of 212
Page 28 of 212
Page 29 of 212
Configuring the BW client
Page 30 of 212
Page 31 of 212
Page 32 of 212
BW sent a request but BE did not send a response back.
to get a response back from BE we will tweak the rule.
Page 33 of 212
Page 34 of 212
rebuild the ear and then run the BE engine locally. Start the BW engine
Page 35 of 212
Page 36 of 212
5 Running BE engine without default event in channel
rebuild the ear and run the be engine locally and trigger a request from bw
So to over come this problem on the client side we can use the following BE name space
Page 37 of 212
<Header>
<Name>_nm_</Name>
<Value>customer</Value> (Name of the event)
</Header>
<Header>
<Header>
<Name>_ns_</Name>
<Value>www.tibco.com/be/ontology/Events/customer</Value> (Name space of the event)
</Header>
_ns_ is the name space of the event that you are asking your client to invoke
_nm_ is the name of the event.
Start the BW engine
The request shows up in the BE console
Page 38 of 212
What this means is BE will expose one destination, but the clients can invoke multiple events to that
destination.
6 Using Schema, Event, Concept
To import a schema into B.E
Page 39 of 212
Page 40 of 212
Page 41 of 212
Page 42 of 212
Page 43 of 212
Page 44 of 212
Edit the rule function to get data from this xml.
Page 45 of 212
Rebuild the BE ear and start the BE engine locally
In the BW client add the customer schema and send it in the input body of HTTP post
the request is seen in the BE engine console.
Page 46 of 212

Creating Concept
Page 47 of 212
Now in the concept add the concept name that would match the incoming xml tag "OrderType"
Page 48 of 212
Now edit the rule function.
Page 49 of 212
Now click on "ctrl" key and click you will be able to browse the concept and map the payload
Page 50 of 212
Page 51 of 212
Now printing the value of OrderType to console. This value is got from the instance cpt which contains the
"OrderType" value from the Concept
Rebuild the BE ear and start the BE engine locally
Page 52 of 212
Send a request from the BW client you will see the message from the instance cpt display on the console
for OrderType
We can get the data from an event directly. But using concepts we can write the data to a cache agent..
7 Output Event
Create a new event called OrderEvent
create an instance of the event and map the values
Page 53 of 212
customer is the instance of incoming event
ord1 is the instance of outgoing event
rebuild the ear and start the b.e engine locally
Page 54 of 212
Page 55 of 212
Page 56 of 212
Advantage of B.E is it has a powerful rule engine, at run time the rules with higher priority and ranking will
take a priority.
Page 57 of 212
8 JMS Channel/Destination
Page 58 of 212
Create a shared JMS connection resource
Plugin the ems details and test connection
Page 59 of 212
the error means the jms.jar file is not in the BE libraries
Copy the jms.jar/tibjms.jar files to the tpcl folder
restart your studio
Page 60 of 212
Browse the connection that has just been created
rebuild the CDD file add this channel
Page 61 of 212
rebuild ear. Start the BE engine
Build the JMS client
create JMS application properties
the message shows up in the BE studio console
Page 62 of 212
9 JMS Reply Destination
Create a new JMS reply destination
In the order event select the reply destination that was just created
Page 63 of 212
edit the rule
Page 64 of 212
Send a JMS message from the client
message shows up in BE
and the Order event sends out the message to the default outgoing destination
Page 65 of 212
the message is picked up by BW JMS receiver.
10 JMS destination using routeTo function
Page 66 of 212
rebuild the ear and start BE trigger the bw client
11 Timer Event Interval Based
Events are created in a cyclic manner at given intervals.
create a timer event
Page 67 of 212
Page 68 of 212
Create a rule that fires when the Timer event that was just created gets asserted into BE memory
Update the CDD file with the new rule
Page 69 of 212
Build the ear and start the BE engine locally
Page 70 of 212
thereafter for every 15 seconds an event gets created.
12 Timer Event Rule Based
Change the Timer event to rule based.
Page 71 of 212
enable CatalogFunctions to show up in B.E if not already visible
Page 72 of 212
Page 73 of 212
Page 74 of 212
now in the Timer rule add a condition with the closure string
build the ear and start BE engine
trigger a request.
Page 75 of 212
Once the request is triggered you will see that the Customer rule gets fired which will trigger the timer
event. But it won't get asserted into the memory since the ClosureString do not match
Now edit the closer string to a different value in the "TimerEvent" and "CustomerRule"
Page 76 of 212
trigger a request from BW
Page 77 of 212
to map a value from incoming payload, it can be done as shown below
Page 78 of 212
13 Advisory Event
When ever there is an issue that occurs in BE, the advisory event get created and gets asserted into BE
engine. If there are any rules listening for this event those rules get triggered.
AdvisoryEvents need not be created they will be asserted into the BE memory automatically by the BE
engine.
create a rule
Page 79 of 212
to create this advisory event let us generate an error
Page 80 of 212
rebuild the CDD
build and run the be.ear. Trigger a message from BW client
Page 81 of 212
Sending an Advisory event to a JMS queue. Create an Event
Page 82 of 212
create a new JMS destination
Page 83 of 212
add this advisory event to the send Advisory event
Page 84 of 212
Once the destination is added into the Event. we will have to sendEvent
Build ear and run locally, trigger a JMS message from BW.
Create a BW JMS Receiver that will get a message from the BE jms channel created.
Page 85 of 212
14 Log Configuration
the log get created in the working directory folder
Page 86 of 212
15 Concepts
Concepts are place holders.
In BW we create mapper/SharedVariables, which are place holders, you don't store the data in concept but
will let you add incoming values to your concept and store in memory or if needed then persist them to DB.
Page 87 of 212
Page 88 of 212
Page 89 of 212
Create a new event
Create a new Rule add a declaration
Page 90 of 212
Page 91 of 212
Page 92 of 212
create a new JMS channel
Page 93 of 212
modify the cdd
Page 94 of 212
create ear and run the BW client.
16 Create An Instance Of Concept From Ontology Function
In the point 15 the values for the concept were instantiated manually, here we are going to see to create
them from ontology functions.
Page 95 of 212
Rebuild the ear and run the BW client
Page 96 of 212
17 Time to live
-1 the event never expires
0 the event expires at the end of RTC
+ number the event expires after set number of seconds (+1 after 1 second, +10 after 10 seconds)
Page 97 of 212
Page 98 of 212
rebuild the ear and run the BE engine and BW client
Page 99 of 212
18 Consuming Events
build ear and trigger bw client
Page 100 of 212
19 Contained/Referenced Concept
Page 101 of 212
ContainedConcept :- Say there are two concepts "A" and "B". Concept "B" can be contained inside
concept "A", concept "A" is called Container/ParentConcept and "B" is called child concept.
RefrencedConcept :- Say there are two concepts "A" and "C". Concept "A" refers concept "C", put both
are in different locations not on the same RAM, which means A is referring concept C.
Create three concepts
Page 102 of 212
1)
2)
3)
Now in the concept "CustomerInfo" the property "CustomerDetails" will contain the "CustomerDetails"
concept
Page 103 of 212
Now in the concept "CustomerDetails" the property "Address" will reference the "Address" concept
Page 104 of 212
create a simple event matching the properties in the concepts.
Page 105 of 212
Create a rule
Add the address concept first in the rule
Page 106 of 212
Next add the CustomerDetails concept
Page 107 of 212
Page 108 of 212
Page 109 of 212
Page 110 of 212
Page 111 of 212
create a JMS destination and add the EVENT
redo the CDD
rebuild the EAR and send a request from BW
Page 112 of 212
Page 113 of 212
20 ScoreCard
The main difference between Concept and ScoreCard is scorecard has no inheritance type
Page 114 of 212
Page 115 of 212
using the score card value in rule
Now create a rule function
Page 116 of 212
Page 117 of 212
21 RuleFunction
RuleFunctions can be used to group a bunch of common actions together to be used inside a rule. Fore
example say you want to log ever event to a file, the logic can be maintained in a RuleFunction and then
called in the rule. Startup and Shutdown functions can be mentioned inside the rule function.
22 Rank
Say there are two rules that are going to get triggered due to same event and also have the same priority,
in that case if you want to have the say in which rule first gets triggered you will use RuleFunction.
Page 118 of 212
create a RuleFunction that will return a double value (Rank can be 1,2,3 or 1.1,1.2,1.3,1.4)
Page 119 of 212
Page 120 of 212
Page 121 of 212
creating another RuleFunction and adding to second rule having same event and priority value.
adding the RuleFunction to the priority in the rule
Page 122 of 212
Build the ear and trigger a request, the Rule with the higher rank get executed first (Rank 4 vs Rank 3)
23 Evaluate As A String
To use an xpath function such as dateTime() as a string.
Page 123 of 212
Page 124 of 212
24 GlobalVariable
GlobalVariablesView you can look at the current global variables in the project
GlobalVariablesEditor you can edit the global variables in the project.
creating a GV
Page 125 of 212
adding GV in project
Page 126 of 212
25 Inferencing
Pre-RTC
Messages are received through Channels with specified destinations.
Event PreProcessor is executed first (if it exists in the project).
RTC
Incoming message is converted to an event.
Rules are triggered based on event.
Post-RTC
Acknowledge message, Write to Cache.
26 ConflictResolutionCycle
A rule agenda that get created based on the multiple rules that needs to be executed. Once all the rules in
a RuleAgenda are executed based on the configurations/priority/ranking then it is stated as one
ConflictResolutionCycle is completed.
27 BE SOAP Server
Create a new project
Page 127 of 212
import a schema into BE
create a Event
Page 128 of 212
Page 129 of 212
this event was to receive the webservice request.
Now create an event that will send the response.
Page 130 of 212
create a new HTTP connection
Page 131 of 212
Page 132 of 212
add the http connection to the channel and create a destination
now create a rule function
Page 133 of 212
Page 134 of 212
create a rule
Page 135 of 212
creating a CDD file
Page 136 of 212
exporting WSDL
Page 137 of 212
Page 138 of 212
Page 139 of 212
now import the wsdl into a BW client
Page 140 of 212
build EAR and run the BE engine
Page 141 of 212
28 Creating Webservice Using Concrete WSDL.
Page 142 of 212
Page 143 of 212
Page 144 of 212
create a new CDD file
Page 145 of 212
build a new ear
and start the BE engine.
Export the WSDL from BE
Page 146 of 212
Import the WSDL into BW client and trigger a request
Page 147 of 212
b.e sends the response back to b.w.
29 B.E as a client
Create a webservice receiver in b.w using soap event source.
use the WSDL created in point 27
Page 148 of 212
Page 149 of 212
now creating a connection object in B.E
creating a send request
Page 150 of 212
endpoint URL is
http://localhost:7786/TibcoBEClient/SOAPEventSource
Page 151 of 212
Adding SOAP Action
/TibcoBEClient/SOAPEventSource
A SOAPAction property needs to be added in the input event.
Page 152 of 212
now in the RuleFunction/EventPreprocessor we need to add the SOAPAction value.
Page 153 of 212
adding the response event
Page 154 of 212
Page 155 of 212
30 B.E invoking a BW WSDL
Create a WebService in BW which will add two numbers. Then import this WSDL into B.E
Page 156 of 212
now in the request event comment out the request event in declaration we will use timer event.
Page 157 of 212
Page 158 of 212
now we need to capture the response for which we will have to do a HTTP.sendrequest(String url,
SimpleEvent requestEvent, String responseEventURI, long timeoutMillis, Object httpConnectionInfo)
Page 159 of 212
Page 160 of 212
build a CDD file
build the ear.
Run be engine.
Every 15 seconds the timer event gets triggered and sends a webservice call.
Page 161 of 212
31 Caching
Concept data can be stored in cache. In the backend B.E uses activespaces to store cache.
Cache is JMV only store. The cache can also be stored in backend DB, for data persistence.
inferenceEngine > cacheAgent(seeder(store and provides data from database)).
Channels will not get activated until one cache agent is not available in the cluster. It is always a good
practice to start the cache agent first then inference agent.
Before we proceed further with caching. Create a simple http project with request reply event and a bw
client.
Page 162 of 212
Page 163 of 212
now create a new CDD and select ObjectManagement as "Cache"
Page 164 of 212
below are important properties of caching
Page 165 of 212
Page 166 of 212
Page 167 of 212
Page 168 of 212
create a concept with a customerName
Page 169 of 212
edit the rule function
Page 170 of 212
now build the cdd first with the following options
Page 171 of 212
Page 172 of 212
Page 173 of 212
save the CDD
build the ear.
first start the cache agent
the cache server becomes activated
Page 174 of 212
now start the inference agent by selecting the default processing unit
Page 175 of 212
you will see two agents running.
trigger a request from BW the concept will get created
Page 176 of 212
if a concept with the same extId is present in memory then new instances of that concept won't be created.
To check if an instance of a concept is already existing in memory we need to do the following.
Page 177 of 212
rebuild the ear. And trigger request from BW.
Page 178 of 212
Active space monitoring tool can used view the cache.
32 Multicast Discovery URLS's
There are two types of discovery url's Multicast(by default be uses Multicast) and Unicast
Multicast:- tibpgm://destinationport/network
tibpgm://7888/;239.8.8.9
tibpgm://7888/10.1.2.3;239.8.8.9
Page 179 of 212
33 Unicast Discovery Url's
There are two types of discovery url's Multicast(by default be uses Multicast) and Unicast
If there are four engines in cluster then you will have to give the url as follows. (3 inference agents and 1
cache agent)
unicast:- tcp://10.1.2.3.4:7888,tcp://10.1.2.3.5:7888,tcp://10.1.2.3.6:7888;tcp://10.1.2.3.7:7888
Page 180 of 212
34 Listen Url
35 Agent Classes
Page 181 of 212
Page 182 of 212
36 Datamodelling/Storing Concepts To DB
For this part we will also need the data modelling to be installed
Once the DataModeling is installed you will be able to see it in studio
Page 183 of 212
First make sure the necessary DB jar file is copied to the tpcl folder.
Copy the ojdbc6.jar to the tpcl folder in case you are using oracle DB
Create a shared DB connection in shared resources
Page 184 of 212
Page 185 of 212
Page 186 of 212
now create a Database Concept.
Page 187 of 212
Page 188 of 212
Page 189 of 212
Page 190 of 212
create a new rule
Page 191 of 212
Page 192 of 212
Page 193 of 212
Page 194 of 212
Page 195 of 212
inserting the concept properties to the DB
Page 196 of 212
changed the Event in default destination
/Events/TIBCO/CUSTOMER
Page 197 of 212
build the ear and start the BE inference and cache engine
Page 198 of 212
build the BW client and trigger a request
check the DB table you will see the value will be inserted into DB
Page 199 of 212
Now retrieving a concept from DB
Page 200 of 212
Page 201 of 212
Page 202 of 212
build ear, run cache and inference engines send a request from BW
37 Debug Mode
Page 203 of 212
Page 204 of 212
38 Decision Manager
First install the decision manager
create a rule function
Page 205 of 212
a virtual rule function that is created will have a symbol "v"
Page 206 of 212
now create a new decision table
Page 207 of 212
Page 208 of 212
Page 209 of 212
Page 210 of 212
now create a rule
Page 211 of 212
build the cdd, ear, run your b.e engine and trigger a bw request
but the value gets printed from DecisionTable
Page 212 of 212

Contenu connexe

Tendances

Universal JS Web Applications with React - Luciano Mammino - Codemotion Rome ...
Universal JS Web Applications with React - Luciano Mammino - Codemotion Rome ...Universal JS Web Applications with React - Luciano Mammino - Codemotion Rome ...
Universal JS Web Applications with React - Luciano Mammino - Codemotion Rome ...Luciano Mammino
 
Configuration Deployment in Drupal 8
Configuration Deployment in Drupal 8Configuration Deployment in Drupal 8
Configuration Deployment in Drupal 8Manifesto Digital
 
How to customize Spring Boot?
How to customize Spring Boot?How to customize Spring Boot?
How to customize Spring Boot?GilWon Oh
 
Spring Boot & Actuators
Spring Boot & ActuatorsSpring Boot & Actuators
Spring Boot & ActuatorsVMware Tanzu
 
Hitchhiker's guide to the front end development
Hitchhiker's guide to the front end developmentHitchhiker's guide to the front end development
Hitchhiker's guide to the front end development정윤 김
 
不只自動化而且更敏捷的Android開發工具 gradle mopcon
不只自動化而且更敏捷的Android開發工具 gradle mopcon不只自動化而且更敏捷的Android開發工具 gradle mopcon
不只自動化而且更敏捷的Android開發工具 gradle mopconsam chiu
 
Building and Deployment of Drupal sites with Features and Context
Building and Deployment of Drupal sites with Features and ContextBuilding and Deployment of Drupal sites with Features and Context
Building and Deployment of Drupal sites with Features and ContextSvilen Sabev
 
Flyway - database migrations made easy
Flyway - database migrations made easyFlyway - database migrations made easy
Flyway - database migrations made easyjstack
 
Architecting your GWT applications with GWT-Platform - Lesson 02
Architecting your GWT applications with GWT-Platform - Lesson 02Architecting your GWT applications with GWT-Platform - Lesson 02
Architecting your GWT applications with GWT-Platform - Lesson 02rhemsolutions
 

Tendances (9)

Universal JS Web Applications with React - Luciano Mammino - Codemotion Rome ...
Universal JS Web Applications with React - Luciano Mammino - Codemotion Rome ...Universal JS Web Applications with React - Luciano Mammino - Codemotion Rome ...
Universal JS Web Applications with React - Luciano Mammino - Codemotion Rome ...
 
Configuration Deployment in Drupal 8
Configuration Deployment in Drupal 8Configuration Deployment in Drupal 8
Configuration Deployment in Drupal 8
 
How to customize Spring Boot?
How to customize Spring Boot?How to customize Spring Boot?
How to customize Spring Boot?
 
Spring Boot & Actuators
Spring Boot & ActuatorsSpring Boot & Actuators
Spring Boot & Actuators
 
Hitchhiker's guide to the front end development
Hitchhiker's guide to the front end developmentHitchhiker's guide to the front end development
Hitchhiker's guide to the front end development
 
不只自動化而且更敏捷的Android開發工具 gradle mopcon
不只自動化而且更敏捷的Android開發工具 gradle mopcon不只自動化而且更敏捷的Android開發工具 gradle mopcon
不只自動化而且更敏捷的Android開發工具 gradle mopcon
 
Building and Deployment of Drupal sites with Features and Context
Building and Deployment of Drupal sites with Features and ContextBuilding and Deployment of Drupal sites with Features and Context
Building and Deployment of Drupal sites with Features and Context
 
Flyway - database migrations made easy
Flyway - database migrations made easyFlyway - database migrations made easy
Flyway - database migrations made easy
 
Architecting your GWT applications with GWT-Platform - Lesson 02
Architecting your GWT applications with GWT-Platform - Lesson 02Architecting your GWT applications with GWT-Platform - Lesson 02
Architecting your GWT applications with GWT-Platform - Lesson 02
 

Similaire à TibcoBE-Development

Building and deploying microservices with event sourcing, CQRS and Docker (Me...
Building and deploying microservices with event sourcing, CQRS and Docker (Me...Building and deploying microservices with event sourcing, CQRS and Docker (Me...
Building and deploying microservices with event sourcing, CQRS and Docker (Me...Chris Richardson
 
Installing community surveys in connections 5.5
Installing community surveys in connections 5.5Installing community surveys in connections 5.5
Installing community surveys in connections 5.5Roberto Boccadoro
 
Event driven network
Event driven networkEvent driven network
Event driven networkHarish B
 
Overview & Downloading the Baseline using Global Configuration Managemen tand...
Overview & Downloading the Baseline using Global Configuration Managemen tand...Overview & Downloading the Baseline using Global Configuration Managemen tand...
Overview & Downloading the Baseline using Global Configuration Managemen tand...Bharat Malge
 
About BLE server profile
About BLE server profile About BLE server profile
About BLE server profile Lin Steven
 
Web sphere application server performance tuning workshop
Web sphere application server performance tuning workshopWeb sphere application server performance tuning workshop
Web sphere application server performance tuning workshopRohit Kelapure
 
Vtk Image procesing
Vtk Image procesingVtk Image procesing
Vtk Image procesingSonu Mangal
 
Adaptersdb-03-file2storedprocedure
Adaptersdb-03-file2storedprocedureAdaptersdb-03-file2storedprocedure
Adaptersdb-03-file2storedprocedureprathap kumar
 
PyData Berlin 2023 - Mythical ML Pipeline.pdf
PyData Berlin 2023 - Mythical ML Pipeline.pdfPyData Berlin 2023 - Mythical ML Pipeline.pdf
PyData Berlin 2023 - Mythical ML Pipeline.pdfJim Dowling
 
Forwarding Connector Configuration Guide 7.0.7.7286
Forwarding Connector Configuration Guide 7.0.7.7286Forwarding Connector Configuration Guide 7.0.7.7286
Forwarding Connector Configuration Guide 7.0.7.7286Protect724gopi
 
The Fine Art of Time Travelling: implementing Event Sourcing
The Fine Art of Time Travelling: implementing Event SourcingThe Fine Art of Time Travelling: implementing Event Sourcing
The Fine Art of Time Travelling: implementing Event SourcingAndrea Saltarello
 
En clipboard app quick_reference_guide
En clipboard app quick_reference_guideEn clipboard app quick_reference_guide
En clipboard app quick_reference_guideshivamagarwal223
 
Patterns and Practices for Event Design With Adam Bellemare | Current 2022
Patterns and Practices for Event Design With Adam Bellemare | Current 2022Patterns and Practices for Event Design With Adam Bellemare | Current 2022
Patterns and Practices for Event Design With Adam Bellemare | Current 2022HostedbyConfluent
 
Comet from JavaOne 2008
Comet from JavaOne 2008Comet from JavaOne 2008
Comet from JavaOne 2008Joe Walker
 

Similaire à TibcoBE-Development (20)

Building and deploying microservices with event sourcing, CQRS and Docker (Me...
Building and deploying microservices with event sourcing, CQRS and Docker (Me...Building and deploying microservices with event sourcing, CQRS and Docker (Me...
Building and deploying microservices with event sourcing, CQRS and Docker (Me...
 
Installing community surveys in connections 5.5
Installing community surveys in connections 5.5Installing community surveys in connections 5.5
Installing community surveys in connections 5.5
 
Event driven network
Event driven networkEvent driven network
Event driven network
 
Using idoc method in lsmw
Using idoc method in lsmwUsing idoc method in lsmw
Using idoc method in lsmw
 
DevOps Project
DevOps Project DevOps Project
DevOps Project
 
Overview & Downloading the Baseline using Global Configuration Managemen tand...
Overview & Downloading the Baseline using Global Configuration Managemen tand...Overview & Downloading the Baseline using Global Configuration Managemen tand...
Overview & Downloading the Baseline using Global Configuration Managemen tand...
 
About BLE server profile
About BLE server profile About BLE server profile
About BLE server profile
 
Web sphere application server performance tuning workshop
Web sphere application server performance tuning workshopWeb sphere application server performance tuning workshop
Web sphere application server performance tuning workshop
 
Vtk Image procesing
Vtk Image procesingVtk Image procesing
Vtk Image procesing
 
Vtk file
Vtk   fileVtk   file
Vtk file
 
Adaptersdb-03-file2storedprocedure
Adaptersdb-03-file2storedprocedureAdaptersdb-03-file2storedprocedure
Adaptersdb-03-file2storedprocedure
 
FiletodbAdapters
FiletodbAdaptersFiletodbAdapters
FiletodbAdapters
 
PyData Berlin 2023 - Mythical ML Pipeline.pdf
PyData Berlin 2023 - Mythical ML Pipeline.pdfPyData Berlin 2023 - Mythical ML Pipeline.pdf
PyData Berlin 2023 - Mythical ML Pipeline.pdf
 
Forwarding Connector Configuration Guide 7.0.7.7286
Forwarding Connector Configuration Guide 7.0.7.7286Forwarding Connector Configuration Guide 7.0.7.7286
Forwarding Connector Configuration Guide 7.0.7.7286
 
The Fine Art of Time Travelling: implementing Event Sourcing
The Fine Art of Time Travelling: implementing Event SourcingThe Fine Art of Time Travelling: implementing Event Sourcing
The Fine Art of Time Travelling: implementing Event Sourcing
 
En clipboard app quick_reference_guide
En clipboard app quick_reference_guideEn clipboard app quick_reference_guide
En clipboard app quick_reference_guide
 
Patterns and Practices for Event Design With Adam Bellemare | Current 2022
Patterns and Practices for Event Design With Adam Bellemare | Current 2022Patterns and Practices for Event Design With Adam Bellemare | Current 2022
Patterns and Practices for Event Design With Adam Bellemare | Current 2022
 
Knative Outro
Knative OutroKnative Outro
Knative Outro
 
Comet from JavaOne 2008
Comet from JavaOne 2008Comet from JavaOne 2008
Comet from JavaOne 2008
 
PagesToGo.pdf
PagesToGo.pdfPagesToGo.pdf
PagesToGo.pdf
 

TibcoBE-Development

  • 1. Tibco B.E 5.2.0 Data Modelling 5.2.0 Decision Manager 5.2.0
  • 2. Page 2 of 212 Table of Content 1 Installation................................................................................................................. 3 2 Channels, Events, Destinations, Rules .................................................................. 3 3 Building a CDD file and archive file ...................................................................... 21 4 Starting Project Locally.......................................................................................... 26 5 Running BE engine without default event in channel ........................................ 36 6 Using Schema, Event, Concept............................................................................. 38 7 Output Event ........................................................................................................... 52 8 JMS Channel/Destination....................................................................................... 57 9 JMS Reply Destination........................................................................................... 62 10 JMS destination using routeTo function.............................................................. 65 11 Timer Event Interval Based ................................................................................... 66 12 Timer Event Rule Based......................................................................................... 70 13 Advisory Event........................................................................................................ 78 14 Log Configuration................................................................................................... 85 15 Concepts ................................................................................................................. 86 16 Create An Instance Of Concept From Ontology Function ................................. 94 17 Time to live.............................................................................................................. 96 18 Consuming Events ................................................................................................. 99 19 Contained/Referenced Concept .......................................................................... 100 20 ScoreCard.............................................................................................................. 113 21 RuleFunction......................................................................................................... 117 22 Rank ....................................................................................................................... 117 23 Evaluate As A String ............................................................................................ 122 24 GlobalVariable....................................................................................................... 124 25 Inferencing ............................................................................................................ 126 26 ConflictResolutionCycle ...................................................................................... 126 27 BE SOAP Server ................................................................................................... 126 28 Creating Webservice Using Concrete WSDL..................................................... 141 29 B.E as a client ....................................................................................................... 147 30 B.E invoking a BW WSDL .................................................................................... 155 31 Caching.................................................................................................................. 161 32 Multicast Discovery URLS's ................................................................................ 178 33 Unicast Discovery Url's........................................................................................ 179 34 Listen Url ............................................................................................................... 180 35 Agent Classes ....................................................................................................... 180 36 Datamodelling/Storing Concepts To DB ............................................................ 182 37 Debug Mode .......................................................................................................... 202 38 Decision Manager................................................................................................. 204
  • 3. Page 3 of 212 1 Installation Install B.E 5.1.0 . 2 Channels, Events, Destinations, Rules First open the B.E studio and create a workspace. This will be a place holder for the code created. creating a new BE project. By right clicking in the Studio explorer
  • 4. Page 4 of 212 Events, Concepts, Rules, Runtime environment, Scorecards are called ontology objects.( ontology is a formal naming and definition of the types, properties, and interrelationships) Clients will have to submit a request (event) to the b.e engine. The point of entry to b.e environment is channel. Clients submit xml request to the be environment through a channel. creating a channel
  • 5. Page 5 of 212
  • 6. Page 6 of 212
  • 7. Page 7 of 212 creating a shared HTTP resource
  • 8. Page 8 of 212
  • 9. Page 9 of 212 Now in the channel browse the HTTP shared resource that was just created
  • 10. Page 10 of 212 What we have achieved so far is we have created a connection to a server. At run time the tomcat start up and the BE engine is creating a connection to the tomcat, We also have to create destinations. In BE destinations are listeners for the incoming request.(Just like "JMS Queue Receiver", "Soap Event Source " in tibco BW) creating a destination
  • 11. Page 11 of 212 Now in the Include Event Type When a client sends an xml string the channel converts it into a BE event this is called Deserializing Converting Event into outgoing XML string by the channel is called Serializing We will not select "Is Page Flow" in our case
  • 12. Page 12 of 212 Creating an event
  • 13. Page 13 of 212 We will look at events in detail below.
  • 14. Page 14 of 212 Now we will add properties in the event. If you want to have a great performance of the BE engine you can communicate only by using properties instead of payload XML.
  • 15. Page 15 of 212 Now go back to the channel and select this event that we have created here
  • 16. Page 16 of 212 Creating a new Rule
  • 17. Page 17 of 212
  • 18. Page 18 of 212
  • 19. Page 19 of 212 Now writing the action that rule needs to perform type "System." studio automatically shows the different functions available that can be used
  • 20. Page 20 of 212
  • 21. Page 21 of 212 3 Building a CDD file and archive file Cluster deployment descriptor, you will configure your runtime configuration, the values that need to be passed, whether it is an inference agent or cache agent, what destination should be added, what roles should be added.
  • 22. Page 22 of 212
  • 23. Page 23 of 212 When deploying an ear you will associate the EAR with a CDD file.
  • 24. Page 24 of 212 Adding channels to the CDD
  • 25. Page 25 of 212 Below is the inference agent. Processing unit is nothing but the inference agent.
  • 26. Page 26 of 212 4 Starting Project Locally
  • 27. Page 27 of 212
  • 28. Page 28 of 212
  • 29. Page 29 of 212 Configuring the BW client
  • 30. Page 30 of 212
  • 31. Page 31 of 212
  • 32. Page 32 of 212 BW sent a request but BE did not send a response back. to get a response back from BE we will tweak the rule.
  • 33. Page 33 of 212
  • 34. Page 34 of 212 rebuild the ear and then run the BE engine locally. Start the BW engine
  • 35. Page 35 of 212
  • 36. Page 36 of 212 5 Running BE engine without default event in channel rebuild the ear and run the be engine locally and trigger a request from bw So to over come this problem on the client side we can use the following BE name space
  • 37. Page 37 of 212 <Header> <Name>_nm_</Name> <Value>customer</Value> (Name of the event) </Header> <Header> <Header> <Name>_ns_</Name> <Value>www.tibco.com/be/ontology/Events/customer</Value> (Name space of the event) </Header> _ns_ is the name space of the event that you are asking your client to invoke _nm_ is the name of the event. Start the BW engine The request shows up in the BE console
  • 38. Page 38 of 212 What this means is BE will expose one destination, but the clients can invoke multiple events to that destination. 6 Using Schema, Event, Concept To import a schema into B.E
  • 39. Page 39 of 212
  • 40. Page 40 of 212
  • 41. Page 41 of 212
  • 42. Page 42 of 212
  • 43. Page 43 of 212
  • 44. Page 44 of 212 Edit the rule function to get data from this xml.
  • 45. Page 45 of 212 Rebuild the BE ear and start the BE engine locally In the BW client add the customer schema and send it in the input body of HTTP post the request is seen in the BE engine console.
  • 46. Page 46 of 212 Creating Concept
  • 47. Page 47 of 212 Now in the concept add the concept name that would match the incoming xml tag "OrderType"
  • 48. Page 48 of 212 Now edit the rule function.
  • 49. Page 49 of 212 Now click on "ctrl" key and click you will be able to browse the concept and map the payload
  • 50. Page 50 of 212
  • 51. Page 51 of 212 Now printing the value of OrderType to console. This value is got from the instance cpt which contains the "OrderType" value from the Concept Rebuild the BE ear and start the BE engine locally
  • 52. Page 52 of 212 Send a request from the BW client you will see the message from the instance cpt display on the console for OrderType We can get the data from an event directly. But using concepts we can write the data to a cache agent.. 7 Output Event Create a new event called OrderEvent create an instance of the event and map the values
  • 53. Page 53 of 212 customer is the instance of incoming event ord1 is the instance of outgoing event rebuild the ear and start the b.e engine locally
  • 54. Page 54 of 212
  • 55. Page 55 of 212
  • 56. Page 56 of 212 Advantage of B.E is it has a powerful rule engine, at run time the rules with higher priority and ranking will take a priority.
  • 57. Page 57 of 212 8 JMS Channel/Destination
  • 58. Page 58 of 212 Create a shared JMS connection resource Plugin the ems details and test connection
  • 59. Page 59 of 212 the error means the jms.jar file is not in the BE libraries Copy the jms.jar/tibjms.jar files to the tpcl folder restart your studio
  • 60. Page 60 of 212 Browse the connection that has just been created rebuild the CDD file add this channel
  • 61. Page 61 of 212 rebuild ear. Start the BE engine Build the JMS client create JMS application properties the message shows up in the BE studio console
  • 62. Page 62 of 212 9 JMS Reply Destination Create a new JMS reply destination In the order event select the reply destination that was just created
  • 63. Page 63 of 212 edit the rule
  • 64. Page 64 of 212 Send a JMS message from the client message shows up in BE and the Order event sends out the message to the default outgoing destination
  • 65. Page 65 of 212 the message is picked up by BW JMS receiver. 10 JMS destination using routeTo function
  • 66. Page 66 of 212 rebuild the ear and start BE trigger the bw client 11 Timer Event Interval Based Events are created in a cyclic manner at given intervals. create a timer event
  • 67. Page 67 of 212
  • 68. Page 68 of 212 Create a rule that fires when the Timer event that was just created gets asserted into BE memory Update the CDD file with the new rule
  • 69. Page 69 of 212 Build the ear and start the BE engine locally
  • 70. Page 70 of 212 thereafter for every 15 seconds an event gets created. 12 Timer Event Rule Based Change the Timer event to rule based.
  • 71. Page 71 of 212 enable CatalogFunctions to show up in B.E if not already visible
  • 72. Page 72 of 212
  • 73. Page 73 of 212
  • 74. Page 74 of 212 now in the Timer rule add a condition with the closure string build the ear and start BE engine trigger a request.
  • 75. Page 75 of 212 Once the request is triggered you will see that the Customer rule gets fired which will trigger the timer event. But it won't get asserted into the memory since the ClosureString do not match Now edit the closer string to a different value in the "TimerEvent" and "CustomerRule"
  • 76. Page 76 of 212 trigger a request from BW
  • 77. Page 77 of 212 to map a value from incoming payload, it can be done as shown below
  • 78. Page 78 of 212 13 Advisory Event When ever there is an issue that occurs in BE, the advisory event get created and gets asserted into BE engine. If there are any rules listening for this event those rules get triggered. AdvisoryEvents need not be created they will be asserted into the BE memory automatically by the BE engine. create a rule
  • 79. Page 79 of 212 to create this advisory event let us generate an error
  • 80. Page 80 of 212 rebuild the CDD build and run the be.ear. Trigger a message from BW client
  • 81. Page 81 of 212 Sending an Advisory event to a JMS queue. Create an Event
  • 82. Page 82 of 212 create a new JMS destination
  • 83. Page 83 of 212 add this advisory event to the send Advisory event
  • 84. Page 84 of 212 Once the destination is added into the Event. we will have to sendEvent Build ear and run locally, trigger a JMS message from BW. Create a BW JMS Receiver that will get a message from the BE jms channel created.
  • 85. Page 85 of 212 14 Log Configuration the log get created in the working directory folder
  • 86. Page 86 of 212 15 Concepts Concepts are place holders. In BW we create mapper/SharedVariables, which are place holders, you don't store the data in concept but will let you add incoming values to your concept and store in memory or if needed then persist them to DB.
  • 87. Page 87 of 212
  • 88. Page 88 of 212
  • 89. Page 89 of 212 Create a new event Create a new Rule add a declaration
  • 90. Page 90 of 212
  • 91. Page 91 of 212
  • 92. Page 92 of 212 create a new JMS channel
  • 93. Page 93 of 212 modify the cdd
  • 94. Page 94 of 212 create ear and run the BW client. 16 Create An Instance Of Concept From Ontology Function In the point 15 the values for the concept were instantiated manually, here we are going to see to create them from ontology functions.
  • 95. Page 95 of 212 Rebuild the ear and run the BW client
  • 96. Page 96 of 212 17 Time to live -1 the event never expires 0 the event expires at the end of RTC + number the event expires after set number of seconds (+1 after 1 second, +10 after 10 seconds)
  • 97. Page 97 of 212
  • 98. Page 98 of 212 rebuild the ear and run the BE engine and BW client
  • 99. Page 99 of 212 18 Consuming Events build ear and trigger bw client
  • 100. Page 100 of 212 19 Contained/Referenced Concept
  • 101. Page 101 of 212 ContainedConcept :- Say there are two concepts "A" and "B". Concept "B" can be contained inside concept "A", concept "A" is called Container/ParentConcept and "B" is called child concept. RefrencedConcept :- Say there are two concepts "A" and "C". Concept "A" refers concept "C", put both are in different locations not on the same RAM, which means A is referring concept C. Create three concepts
  • 102. Page 102 of 212 1) 2) 3) Now in the concept "CustomerInfo" the property "CustomerDetails" will contain the "CustomerDetails" concept
  • 103. Page 103 of 212 Now in the concept "CustomerDetails" the property "Address" will reference the "Address" concept
  • 104. Page 104 of 212 create a simple event matching the properties in the concepts.
  • 105. Page 105 of 212 Create a rule Add the address concept first in the rule
  • 106. Page 106 of 212 Next add the CustomerDetails concept
  • 107. Page 107 of 212
  • 108. Page 108 of 212
  • 109. Page 109 of 212
  • 110. Page 110 of 212
  • 111. Page 111 of 212 create a JMS destination and add the EVENT redo the CDD rebuild the EAR and send a request from BW
  • 112. Page 112 of 212
  • 113. Page 113 of 212 20 ScoreCard The main difference between Concept and ScoreCard is scorecard has no inheritance type
  • 114. Page 114 of 212
  • 115. Page 115 of 212 using the score card value in rule Now create a rule function
  • 116. Page 116 of 212
  • 117. Page 117 of 212 21 RuleFunction RuleFunctions can be used to group a bunch of common actions together to be used inside a rule. Fore example say you want to log ever event to a file, the logic can be maintained in a RuleFunction and then called in the rule. Startup and Shutdown functions can be mentioned inside the rule function. 22 Rank Say there are two rules that are going to get triggered due to same event and also have the same priority, in that case if you want to have the say in which rule first gets triggered you will use RuleFunction.
  • 118. Page 118 of 212 create a RuleFunction that will return a double value (Rank can be 1,2,3 or 1.1,1.2,1.3,1.4)
  • 119. Page 119 of 212
  • 120. Page 120 of 212
  • 121. Page 121 of 212 creating another RuleFunction and adding to second rule having same event and priority value. adding the RuleFunction to the priority in the rule
  • 122. Page 122 of 212 Build the ear and trigger a request, the Rule with the higher rank get executed first (Rank 4 vs Rank 3) 23 Evaluate As A String To use an xpath function such as dateTime() as a string.
  • 123. Page 123 of 212
  • 124. Page 124 of 212 24 GlobalVariable GlobalVariablesView you can look at the current global variables in the project GlobalVariablesEditor you can edit the global variables in the project. creating a GV
  • 125. Page 125 of 212 adding GV in project
  • 126. Page 126 of 212 25 Inferencing Pre-RTC Messages are received through Channels with specified destinations. Event PreProcessor is executed first (if it exists in the project). RTC Incoming message is converted to an event. Rules are triggered based on event. Post-RTC Acknowledge message, Write to Cache. 26 ConflictResolutionCycle A rule agenda that get created based on the multiple rules that needs to be executed. Once all the rules in a RuleAgenda are executed based on the configurations/priority/ranking then it is stated as one ConflictResolutionCycle is completed. 27 BE SOAP Server Create a new project
  • 127. Page 127 of 212 import a schema into BE create a Event
  • 128. Page 128 of 212
  • 129. Page 129 of 212 this event was to receive the webservice request. Now create an event that will send the response.
  • 130. Page 130 of 212 create a new HTTP connection
  • 131. Page 131 of 212
  • 132. Page 132 of 212 add the http connection to the channel and create a destination now create a rule function
  • 133. Page 133 of 212
  • 134. Page 134 of 212 create a rule
  • 135. Page 135 of 212 creating a CDD file
  • 136. Page 136 of 212 exporting WSDL
  • 137. Page 137 of 212
  • 138. Page 138 of 212
  • 139. Page 139 of 212 now import the wsdl into a BW client
  • 140. Page 140 of 212 build EAR and run the BE engine
  • 141. Page 141 of 212 28 Creating Webservice Using Concrete WSDL.
  • 142. Page 142 of 212
  • 143. Page 143 of 212
  • 144. Page 144 of 212 create a new CDD file
  • 145. Page 145 of 212 build a new ear and start the BE engine. Export the WSDL from BE
  • 146. Page 146 of 212 Import the WSDL into BW client and trigger a request
  • 147. Page 147 of 212 b.e sends the response back to b.w. 29 B.E as a client Create a webservice receiver in b.w using soap event source. use the WSDL created in point 27
  • 148. Page 148 of 212
  • 149. Page 149 of 212 now creating a connection object in B.E creating a send request
  • 150. Page 150 of 212 endpoint URL is http://localhost:7786/TibcoBEClient/SOAPEventSource
  • 151. Page 151 of 212 Adding SOAP Action /TibcoBEClient/SOAPEventSource A SOAPAction property needs to be added in the input event.
  • 152. Page 152 of 212 now in the RuleFunction/EventPreprocessor we need to add the SOAPAction value.
  • 153. Page 153 of 212 adding the response event
  • 154. Page 154 of 212
  • 155. Page 155 of 212 30 B.E invoking a BW WSDL Create a WebService in BW which will add two numbers. Then import this WSDL into B.E
  • 156. Page 156 of 212 now in the request event comment out the request event in declaration we will use timer event.
  • 157. Page 157 of 212
  • 158. Page 158 of 212 now we need to capture the response for which we will have to do a HTTP.sendrequest(String url, SimpleEvent requestEvent, String responseEventURI, long timeoutMillis, Object httpConnectionInfo)
  • 159. Page 159 of 212
  • 160. Page 160 of 212 build a CDD file build the ear. Run be engine. Every 15 seconds the timer event gets triggered and sends a webservice call.
  • 161. Page 161 of 212 31 Caching Concept data can be stored in cache. In the backend B.E uses activespaces to store cache. Cache is JMV only store. The cache can also be stored in backend DB, for data persistence. inferenceEngine > cacheAgent(seeder(store and provides data from database)). Channels will not get activated until one cache agent is not available in the cluster. It is always a good practice to start the cache agent first then inference agent. Before we proceed further with caching. Create a simple http project with request reply event and a bw client.
  • 162. Page 162 of 212
  • 163. Page 163 of 212 now create a new CDD and select ObjectManagement as "Cache"
  • 164. Page 164 of 212 below are important properties of caching
  • 165. Page 165 of 212
  • 166. Page 166 of 212
  • 167. Page 167 of 212
  • 168. Page 168 of 212 create a concept with a customerName
  • 169. Page 169 of 212 edit the rule function
  • 170. Page 170 of 212 now build the cdd first with the following options
  • 171. Page 171 of 212
  • 172. Page 172 of 212
  • 173. Page 173 of 212 save the CDD build the ear. first start the cache agent the cache server becomes activated
  • 174. Page 174 of 212 now start the inference agent by selecting the default processing unit
  • 175. Page 175 of 212 you will see two agents running. trigger a request from BW the concept will get created
  • 176. Page 176 of 212 if a concept with the same extId is present in memory then new instances of that concept won't be created. To check if an instance of a concept is already existing in memory we need to do the following.
  • 177. Page 177 of 212 rebuild the ear. And trigger request from BW.
  • 178. Page 178 of 212 Active space monitoring tool can used view the cache. 32 Multicast Discovery URLS's There are two types of discovery url's Multicast(by default be uses Multicast) and Unicast Multicast:- tibpgm://destinationport/network tibpgm://7888/;239.8.8.9 tibpgm://7888/10.1.2.3;239.8.8.9
  • 179. Page 179 of 212 33 Unicast Discovery Url's There are two types of discovery url's Multicast(by default be uses Multicast) and Unicast If there are four engines in cluster then you will have to give the url as follows. (3 inference agents and 1 cache agent) unicast:- tcp://10.1.2.3.4:7888,tcp://10.1.2.3.5:7888,tcp://10.1.2.3.6:7888;tcp://10.1.2.3.7:7888
  • 180. Page 180 of 212 34 Listen Url 35 Agent Classes
  • 181. Page 181 of 212
  • 182. Page 182 of 212 36 Datamodelling/Storing Concepts To DB For this part we will also need the data modelling to be installed Once the DataModeling is installed you will be able to see it in studio
  • 183. Page 183 of 212 First make sure the necessary DB jar file is copied to the tpcl folder. Copy the ojdbc6.jar to the tpcl folder in case you are using oracle DB Create a shared DB connection in shared resources
  • 184. Page 184 of 212
  • 185. Page 185 of 212
  • 186. Page 186 of 212 now create a Database Concept.
  • 187. Page 187 of 212
  • 188. Page 188 of 212
  • 189. Page 189 of 212
  • 190. Page 190 of 212 create a new rule
  • 191. Page 191 of 212
  • 192. Page 192 of 212
  • 193. Page 193 of 212
  • 194. Page 194 of 212
  • 195. Page 195 of 212 inserting the concept properties to the DB
  • 196. Page 196 of 212 changed the Event in default destination /Events/TIBCO/CUSTOMER
  • 197. Page 197 of 212 build the ear and start the BE inference and cache engine
  • 198. Page 198 of 212 build the BW client and trigger a request check the DB table you will see the value will be inserted into DB
  • 199. Page 199 of 212 Now retrieving a concept from DB
  • 200. Page 200 of 212
  • 201. Page 201 of 212
  • 202. Page 202 of 212 build ear, run cache and inference engines send a request from BW 37 Debug Mode
  • 203. Page 203 of 212
  • 204. Page 204 of 212 38 Decision Manager First install the decision manager create a rule function
  • 205. Page 205 of 212 a virtual rule function that is created will have a symbol "v"
  • 206. Page 206 of 212 now create a new decision table
  • 207. Page 207 of 212
  • 208. Page 208 of 212
  • 209. Page 209 of 212
  • 210. Page 210 of 212 now create a rule
  • 211. Page 211 of 212 build the cdd, ear, run your b.e engine and trigger a bw request but the value gets printed from DecisionTable
  • 212. Page 212 of 212