Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 67

TIBCO Business Works

Es University

Course Contents

Need For Business Works.

Uses of TIBCO BUSINESS WORKS.

Components of TIBCO BUSINESS WORKS

TIBCO BUSINESS WORKS design time Architecture.

TIBCO BUSINESS WORKS run time Architecture.

Features of TIBCO BUSINESS WORKS.

TIBCO BusinessWorks Process Design

TIBCO BW Palettes

ESU/CRS/ESU-EC03/003

Session Plan

Day1
Need For BusinessWorks.
Uses of TIBCO BusinessWorks
Components of TIBCO BusinessWorks.
Features of TIBCO BusinessWorks.
TIBCO BusinessWorks design time Architecture.
TIBCO BusinessWorks run time architecture.
Day2
TIBCO BusinessWorks Process Design
TIBCO BusinessWorks Palettes
Demo and Exercises
Day 3
TIBCO BusinessWorks Palettes
Demo and Exercises

ESU/CRS/ESU-EC03/003

What is not Covered

Coding Details of various components of TIBCO business works.

ESU/CRS/ESU-EC03/003

Where does TIBCO BusinessWorks fit in?

Business
Integration
TIBCO BusinessWorks
layer
Application
Integration
layer
Transport
layer

TIBCO Adapters
(Application Adapters SAP R/3, PeopleSoft
(Technology Adapters Database, MQ)

TIBCO Messaging
(TIBCO Rendezvous, TIBCO Enterprise for JMS etc .)

ESU/CRS/ESU-EC03/003

Why do we need Business Integration ?

The Integrated Enterprise works seamlessly.

Seamless communication enhances efficiency.

Enterprise applications of varied architectures understand each other.

Reduced or zero manual intervention.

Improves response times to customer needs.

Real-time information exchange.

ESU/CRS/ESU-EC03/003

What does TIBCO BusinessWorks do?

Provides Business Integration

Defines Business Processes.

Establishes connections between Enterprise Applications and


Enterprise Business Process Definitions.

Automates Business Processes.

Manages Process Exceptions.

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks How it works?

Business Integration
Define process rules and
flows in an easy-to-use GUI

Model
Assemble

Propagate process definitions to


hardware components and start
Process engines

Configure connectivity to
applications through TIBCO
Adapter services

Deploy
Manage

Monitor processes and handle


Process exceptions

ESU/CRS/ESU-EC03/003

A typical TIBCO BusinessWorks Process flowsheet

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Design-time Architecture


Project Version
Control

TIBCO
Administration Server
Deploy
Enterprise Archive (EAR)

TIBCO Designer

1.
2.

TIBCO Designer GUI is used to configure adapter services


and design business processes
The processes are deployed to the Administration server

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Run-time Architecture


TIBCO Administration Server

Connect to
Enterprise Applications
through Adapter Services

TIBCO
Runtime Agent
Evaluate
Business Rules,
Perform
Transformations

RV/JMS

Fault-tolerant Process Engines


HTTP,
SOAP,
SMTP
Communicate over
the Internet

ODBC,JDBC

Connect to File and


Database systems

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Components


The complete picture

TIBCO Designer.
TIBCO BusinessWorks engine.
TIBCO Administrator.
TIBCO Runtime Agent (TRA).
TIBCO In Concert (Optional).

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Features


Messaging.

Adapters Services.

Business Process Modeling.

Schemas and Data Mapping.

Manual Activities.

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Features


Messaging

TIBCO Business Works has messaging system that can reliably handle the
volume of messages that will be sent and received by it.

The system has the following characteristics:

Guaranteed and fault tolerant.


Distributed architecture.
High Throughput.
Scalable.

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Features


Adapters

Adapters receive information from a source application and publish it


to the business process in a shared format.

Adapters subscribe to information from a business process.

Translate it to a format the target application can understand.

Adapters can also be set up to work in a client/server mode (using


remote operations.)

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Features


Adapters
TIBCO BusinessWorks fully integrates with the following adapters:

Technology adaptersIncludes adapters that access files or databases.

Application adaptersIncludes adapter for PeopleSoft, SAP R/3, Siebel,


and others.

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Features


Business Process Modelling
The business processes describe the actual flow of data inside the
enterprise.
In TIBCO BW, TIBCO Designer GUI is used to design and test processes.

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Features


Business Process Modelling
Features
Configuration of adapter services.

File Read, File Write,and File Create, email activities, timers, FTP activities, etc.

A transformation tool to map the output of one activity to the input of subsequent
activities.

Conditional transitions supporting XPath syntax.

Grouping of activities.
An easy-to-use design-time process debugger.

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Features


Schemas and Data Mapping

Different applications in an enterprise use different data representations.

For example, a purchase order in a PeopleSoft system differs from a


purchase order in a Siebel customer service system.

TIBCO BusinessWorks allows you to view and manipulate the data coming
from and going into each service or activity using XML
schemas.

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Features


Schemas and Data Mapping
Data can be mapped and transformed in in the required formats.

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Features


Manual Activities

BW includes a Manual Work palette with activities to add to business


processes when the process requires user interaction for completion.

The ManualWork palette works with TIBCO InConcert.

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Process Design


Process Definition

Process definition is a graphical representation of the business process


model
Consists of the following components
Activities
Transitions
Groups
Shared Configuration Resources
Subprocesses

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Process Design


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

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Process Design


Transitions

Describe the flow of processing.


Is represented by an arrow between two activities or groups of activities
in a process definition.
Conditions can be specified on transitions to determine whether to take
the transition to the next activity or not.
Control cannot be transitioned to a previously executed activity.

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Process Design


Different Conditions Types

Success : Take this transition unconditionally.


Success with condition : Transition is taken if the condition specified
evaluates to true.
Success if no matching condition : Transition is taken if no other
transitions are taken .
Error : Transition is taken if there is an error during processing of the
activity.

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Process Design


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 in transaction
Repeating set of activities

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Process Design


Grouping Activities - Types of Groups
The types of groups are

None : Used for grouping without looping


Transaction Groups : Used to group activities that participate in a
transaction. Eg. JDBC group activities
Iterate Loop : Used to iterate a group once for every item in a list
Repeat Until True Loop : Used to iterate a group until the specified
condition is true
Repeat On Error Until True Loop : Used to iterate a group when an
error occurs

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Process Design


Shared Configuration Resources

These resources are shared among activities.


The resources include
Database connections
WSDL files
Schema definitions
Server Connections like HTTP, FTP,

ESU/CRS/ESU-EC03/003

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.

ESU/CRS/ESU-EC03/003

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

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Process Design


Error Handling

Handled using error transitions.


Can deal with any potential runtime errors in process definitions .
Generate 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 process variables
$_error
$_error_<activityName>

ESU/CRS/ESU-EC03/003

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 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

ESU/CRS/ESU-EC03/003

TIBCO BusinessWorks Process Design


Testing Process Definitions

BW provides a testing environment to test process definitions


Any process definition can be selected for testing
BW engine is started for testing e process definition
Break Points can be set which
Allow to suspend a running process instance at a specified point to
examine the process data.
Can be set before or after an activity with conditions too
persist even after closing the project

ESU/CRS/ESU-EC03/003

TIBCO BW Palettes

The following are the different palettes available in BW


Process Palette
Active Enterprise Adapter Palette
EJB Palette
File Palette
FTP Palette
General Activities Palette
HTTP Palette
Java Palette
JDBC Palette

ESU/CRS/ESU-EC03/003

TIBCO BW Palettes (Contd)

JMS Palette
Mail Palette
Manual Work Palette
Parse Palette
Rendezvous Palette
SOAP Palette
WSDL Palette
XML Activities Palette

ESU/CRS/ESU-EC03/003

Process Palette

Allows to define business processes.


mandatory palette for all business processes
All BW palettes appear on double-clicking this palette in designer

ESU/CRS/ESU-EC03/003

Active Enterprise Adapter Palette

Contains activities for communicating with TIBCO Adapters.

Few key activities are


Publish to Adapter
Publishes a message that can be received by an
Adapters subscription service
Adapter Subscriber
Starts a process based on the receipt of a message from
the publication service of the specified adapter.

ESU/CRS/ESU-EC03/003

Active Enterprise Adapter Palette(Contd)

Invoke an Adapter Request-Response Service


Invokes an adapters request-response service with
input and gets a reply back from adapter.

The other activities of this palette include

Adapter Request-Response Server

Respond to Adapter Request

Send Exception to Adapter Request

Wait for Adapter Message

Wait for Adapter Request

ESU/CRS/ESU-EC03/003

EJB Palette

Allows to connect to J2EE-compliant application servers and invoke


Enterprise Java Beans (EJBs) on the servers.
It has the following activities
EJB Connection
Specifies the connection configuration for the JNDI server.
EJB Home
Establishes a connection to the service and obtains a reference
to the home and remote objects
EJB Remote
Invokes a method on the remote object obtained by the
EJB Home activity

ESU/CRS/ESU-EC03/003

File Palette

To read, write, delete or create files


Has the following activities
Create File
Creates a new file or directory with the specified name
File Poller
Polls for files or directories with the given name and starts a
process when a change is detected
List Files
Returns information about files or directories
The other activities include the following..
Read File, Remove File, Rename File, Wait for File Change and Write
File

ESU/CRS/ESU-EC03/003

FTP Palette

Issues FTP commands

It has the following activities

FTP Connection
Describes a connection to an FTP server. Some
input parameters would include Host, Port, User Name &
password

FTP Get
Issues an FTP get or mget command to the specified server.

FTP Put
Issues an FTP put or mput command to the specified server

ESU/CRS/ESU-EC03/003

FTP Palette (Contd)


The other activities include the following

FTP DIR
FTP Get Default Directory
FTP Make Remote Directory
FTP Remove Remote Directory
FTP Rename File
FTP Delete File
FTP Quote
FTP Sys Type

ESU/CRS/ESU-EC03/003

General Activities Palette

Contains several general-purpose activities and process starters

Timer
Used start a BW process at a specific time
Notify Configuration, Wait, Notify & Receive Notification
Used for inter-process communication
Mapper
Used to perform mapping between different schemas
Checkpoint
Saves the current process data and state which be recovered in the
event of a failure

ESU/CRS/ESU-EC03/003

General Activities Palette (Contd)

Assign
Allows to assign a value to a user-defined process variable
Inspector
Allows to write the output of any or all activities and process
variables to a file and/or stdout.
Generate Error
Is useful within a group or within a called process to catch and raise
custom error conditions
Call Process
Calls and executes an existing process definition
Input and output to the called process are specified in the Start and
End activity of the called process respectively

ESU/CRS/ESU-EC03/003

General Activities Palette (Contd)


The other activities include

Confirm
External Command
Label
Null
Sleep
Write To Log

ESU/CRS/ESU-EC03/003

HTTP Palette

Allows to send and receive HTTP requests

It has the following activities


HTTP Connection
Describes the characteristics of the connection used to receive
incoming HTTP request
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.

ESU/CRS/ESU-EC03/003

HTTP Palette (Contd)

Send HTTP Request


Sends a HTTP request to a web server
Send HTTP Response
Sends a response to a previously received HTTP request
Wait for HTTP Request
Suspends the current process until the incoming HTTP request is
received.

ESU/CRS/ESU-EC03/003

Java Palette

This has activities and shared configuration resources for executing


Java code as well as converting between Java objects and XML
documents.
It has the following activities
Java Code
Allows to write standard Java code that can manipulate any of
the process data or perform any action we choose.
Java Custom Function
Allows to create custom functions to use when mapping data in an
activitys input tab

ESU/CRS/ESU-EC03/003

Java Palette(Contd)

Java Method
Allows to invoke a method contained in a Java class

The other activities include

Java Schema
Java To XML
XML To Java

ESU/CRS/ESU-EC03/003

JDBC Palette

This Palette contains activities and shared configuration resources for


querying, updating, or calling stored procedures within a database.
It has the following activities
JDBC Connection
This describes a JDBC Connection to a database which is used
by other JDBC palette activities
JDBC Query
This activity performs the specified SQL SELECT statement
JDBC Update
This activity performs the specified SQL INSERT, UPDATE, or
DELETE statement

ESU/CRS/ESU-EC03/003

JDBC Palette (Contd)

JDBC Call Procedure


Calls a database procedure using the specified JDBC connection.
Query Designer
GUI tool for building SQL queries, testing syntax, and
previewing
results before running the process.
SQL Direct
Executes SQL statement that are not supported by
other
activities in the JDBC palette.
Time Zone Construction
Constructs any date and time data returned from the database
with the time zone specified in the ServerTimeZone input element

ESU/CRS/ESU-EC03/003

JMS Palette

Used to send and receive JMS messages within a process definition


Both the JMS point-to-point (queues) and publish/subscribe (topics)
models are supported.
The activities include the following
JMS Connection
Describes a JMS connection to a JMS server and is used by all
other activities of JMS Palette
JMS Topic Publisher
Sends a message to the specified JMS topic.
JMS Topic Subscriber
Starts a process based on the receipt of a message for the
specified JMS topic

ESU/CRS/ESU-EC03/003

JMS Palette(Contd)
JMS Queue Sender
Used to send a message to the specified JMS queue

JMS Queue Receiver


Starts a process based on the receipt of a message for the
specified JMS queue
The other activities include

JMS Application Properties

JMS Topic Requestor

JMS Queue Requestor

Reply To JMS Message

ESU/CRS/ESU-EC03/003

JMS Palette(Contd)

Wait for JMS Queue Message


Wait for JMS Topic Message

ESU/CRS/ESU-EC03/003

Mail Palette

This palette is used to receive incoming email or send outgoing email.


It has the following activities
Send Mail
Sends an email by way of a SMTP server
Receive Mail
Polls a POP3 mail server for new mail and starts a new
process when new mail is detected and retrieved.

ESU/CRS/ESU-EC03/003

Manual Work Palette

This palette is useful for automated business processes that have a few
steps that require user interaction.
Works with TIBCO InConcert to provide some workflow capability in
automated business processes.
It has the following activities
Workflow Server Connection
Defines a connection to a TIBCO InConcert server that can be
used by other activities in the Manual Work palette
Workflow Schema
Defines schema that can be used by other activities in the Manual
Work Palette.
Assign Work
Creates a manual work task and assigns it to the specifie role

ESU/CRS/ESU-EC03/003

Manual Work Palette(Contd)

Get Work Status


Is used to retrieve the current status of the specified manual task
from the TIBCO InConcert server
Modify Work
Is used to change the status of a manual task created by the
Assign Work activity.

The other activities include

Download Document

Wait for Completion

ESU/CRS/ESU-EC03/003

Parse Palette

This palette is useful in cases as to transform formatted lines of text into


a data schema or vice versa
It has the following activities
Data Format
Contains the specification for parsing or rendering a text string
Parse Data
Takes a text string or input from a file to schema
Render Data
Converts data to text string

ESU/CRS/ESU-EC03/003

Rendezvous Palette

Allows to send and receive TIBCO Rendezvous messages


Some of the activities include
Rendezvous Transport
used to describe a TIBCO Rendezvous transport
Publish Rendezvous Message
publishes a TIBCO Rendezvous message on the given
subject with the given message content
Rendezvous Subscriber
creates a process when a TIBCO Rendezvous message on the
given subject is received.

ESU/CRS/ESU-EC03/003

XML Activities Palette

This palette provides activities for parsing XML strings into schemas
and rendering schemas into XML strings
The activities include
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.

ESU/CRS/ESU-EC03/003

SOAP, WSDL Palettes

These palettes are used for Web Service Operations like implementing,
calling web service etc

ESU/CRS/ESU-EC03/003

Demos
1.

Subscribe to an Enterprise message and write to file system.

2.

Read from a file, and publish to the TIBCO environment


(conditional processing).

ESU/CRS/ESU-EC03/003

Exercises

I.

Subscribe to an Enterprise message and write the contents to a file. If error


during file-write, send an email to yourself. If the file is written successfully, ftp
the file to a specific UNIX server.

II.

Receive a request for customer information from an ActiveEnterprise adapter,


forward the request to the sample database, fetch the relevant customer
record and reply back.

ESU/CRS/ESU-EC03/003

References

TIBCO Documentation for BW version 5.1.3 year 2004

ESU/CRS/ESU-EC03/003

Summary

Need for Business integration.

Stages in business integration.


Model.
Assemble.
Design.
Manage.

Business works Design time Architecture.

Business works Run time Architecture.

Features Of TIBCO Business Works.

Components of TIBCO Business Works.

ESU/CRS/ESU-EC03/003

Summary

TIBCO Business Works Process Design


TIBCO Business Works Palettes

ESU/CRS/ESU-EC03/003

Thank You!
ESU/CRS/ESU-EC03/003

You might also like