TIBCO Business Works: Narendra Thota
TIBCO Business Works: Narendra Thota
TIBCO Business Works: Narendra Thota
Narendra Thota
Agenda
TIBCO BW Palettes
2
Why do we need Business Integration ?
3
What does TIBCO BusinessWorks do?
4
TIBCO BW – How it works?
Business Integration
6
BWÆDesign-time Architecture
Deploy
Enterprise Archive (EAR)
TIBCO Designer
TIBCO Designer
D i GUI iis used
d to configure
fi adapter
d servicesand
i d
design business processes
The processes are deployed using the TIBCO Administrator
7
BWÆ Run-time Architecture
Connect to Perform
RV/JMS
p
Enterprise Applications
pp Transformations
Fault tolerant Process Engines
Fault-tolerant
through Adapter Services HTTP,
ODBC,JDBC
SOAP,
SMTP
Communicate over
Connect to File and
the Internet
Database systems
8
BW Components
TIBCO Designer.
TIBCO BusinessWorks engine.
TIBCO Administrator.
TIBCO Runtime Agent (TRA).
9
TIBCO BW Palettes
Process Palette
Active Enterprise Adapter Palette
EJB Palette
File Palette
FTP Palette
General
G Activities Palette
HTTP Palette
Java
J Palette
P l
JDBC Palette
Workflow
W kfl palette
l tt
10
TIBCO BW Palettes (Cont’d)
JMS Palette
Mail Palette
Manual Work Palette
Parse Palette
Rendezvous Palette
SOAP
SO Palette
WSDL Palette
XML A
Activities
i ii P Palette
l
Service Palette
Policy
P li P Palette
l tt
11
Process Palette
12
TIBCO BusinessWorks Features
Messaging.
Adapters Services.
Manual Activities.
13
TIBCO BusinessWorks Features
Messaging
14
TIBCO BusinessWorks Features
Adapters
Manual Activities
15
TIBCO BusinessWorks Features
16
TIBCO BusinessWorks Process Design
Process Definition
17
HelloWorld Process
Lab 1
Provide an easy way to set default values for use throughout the
project.
To
T create
t a new global
l b l variable
i bl
19
Global Variables
20
Global Variables
Most p
projects
j define some standard variables,, but yyou may
y define
any variables you need.
21
Global Variables & Process
Variables
Lab 2
Activities
Individual units of work within a process definition
Interface to external systems
Palette has a set of activities that can be performed for that palette
Example, File Palette contains the following activities
Create File
Remove File
Read File
Write File
23
TIBCO BusinessWorks Process Design
Transitions
24
TIBCO BusinessWorks Process Design
Transition Types
25
Transitions
Lab 3
Grouping Activities
Groups are used to specify related sets of activities.
Main uses of groups are to create a set of activities for the following
purposes
Common error transition
Participate
P ti i t iin ttransaction
ti
Repeating set of activities
27
TIBCO BusinessWorks Process Design
28
TIBCO BusinessWorks Process Design
29
Group Activities
Lab 4
31
TIBCO BusinessWorks Process Design
Subprocesses
Help in modular design of process definitions.
Can reuse subprocesses across many process definitions.
Call Process activity is used to call a subprocess.
Input, output, and any error schemas of the subprocess are specified on
the Start and End activities within the subprocess.
32
TIBCO BusinessWorks Process Design
XPATH
Is the language for defining conditions and transformations
XPath formula builder can be used to build xpath expressions
Contains many string, date time, custom functions
Supports drag & drop building of expressions
33
TIBCO BusinessWorks Process Design
Error Handling
Handled using error transitions.
transitions
Can deal with any potential runtime errors in process definitions .
‘Generate
Generate Error’
Error activity can be used to raise custom error
conditions.
Error data is available to activities that execute after the error
transition
In the error p
process variables
$_error
$_
$ error_<activityName>
y
34
TIBCO BusinessWorks Process Design
Inter-Process Communication
Two executing process instances can communicate
Wait , Notify, Receive Notification activities are used
A String key is used to correspond Notify activities with wait or Receive
Notification
Data to be shared is defined by a ‘Notify Configuration’ shared
configuration resource
Process engines are on different machines should use a database to
store p
process instance information
Same ‘Notify Configuration’ resource is used to configure the Notify
activity as well as the Wait activity and the Receive Notification process
starter
t t
35
TIBCO BusinessWorks Process Design
36
File Palette
Create File
The Create File activity creates a new file or directory with the specified name
File Poller
The File Poller process starter polls for files or directories with the given name
and starts a process when the specified change (creation
(creation, modification
modification, deletion)
is detected
List Files
The List Files activity returns information about files or directories, or a listing of
all the files in the specified directory.
Read File
The Read File activity
y is used to read a file and place
p its contents into the
activity’s output.
37
File Palette
Rename File
The Rename File activity is used to rename or move files.
38
File Palette
Lab 5
HTTP Receiver
Starts a process based on the receipt of a HTTP request.
Proxy Configuration
Used to specify a proxy HTTP server when HTTP requests are sent outside of a
firewall.
40
HTTP Palette
Lab 6
Data Format
The Data Format resource contains the specification for parsing or rendering a text string
Parse Data
Takes a text string
g or input
p from a file to schema
Render Data
Converts data to text string
42
Parse Palette
Lab 7
The TCP/IP palette provides activities and resources that can send
g the TCP/IP p
and receive data using protocol.
Read TCP Data
The Read TCP Data activity reads data from an open TCP connection
TCP Cl
Close C
Connection
ti
The TCP Close Connection activity closes a TCP connection opened by a previously
executed activity or process starter.
TCP Connection
The TCP Connection is a shared configuration resource that specifies the connection
information for the TCP server
TCP Receiver
The TCP Receiver process starter starts a new process when a client requests a TCP
connection.
Lab 8
DTD
The DTD resource enables the creation of a DTD (Document Type Definition)
Instance
XML instance documents are XML documents -- typically representing data-oriented
business documents
documents, messages
messages, and configuration files -- that conform to the rules of an
XML Schema or DTD
Lab 9
This palette provides activities for parsing XML strings into schemas
and rendering schemas into XML strings
Parse XML
Converts and XML string or file to XML schema
Render XML
Converts XML Schema to XML string
Transform XML
Allows to transform input XML document into the output specified by the given
XSLT File shared configuration resource.
49
XML Activities Palette
Lab 10