Sei sulla pagina 1di 36

Introduction to TIBCO BusinessWorks

Course Contents

Need For BusinessWorks.


Uses of TIBCO BusinessWorks.
TIBCO BusinessWorks design time Environment.
TIBCO BusinessWorks runtime Environment.
Features of TIBCO BusinessWorks.
Components of TIBCO BusinessWorks
TIBCO BusinessWorks Process Design
Different Variables in BusinessWorks
TIBCO BW Palettes

Why do we need Business Integration ?


Business scenario

Scenario run-time implementation

Challenge of Business Integration

Integrated Enterprise works seamlessly

Seamless communication enhances


efficiency

Improve response time to the customer

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.

BusinessWorks Components

Tibco Designer
Provides a GUI for designing solutions
and preparing them for runtime
deployment
Tibco BusinessWorks Engine
BusinessWorks process engine runs
business processes in test mode & at
runtime
Tibco Runtime Agent ( TRA )
Runs on each machine and executes
scripts, send alerts. Provides a runtime
environment to other Tibco components
Tibco Administrator
provides a web-based management
environment for deploying & monitoring
runtime components and administering
the runtime environment.

Design time Environment

Project
VCS

Designer

Administrator

Design

Deploy

Debug

EAR

Manage

At design time you work with Tibco designer GUI to design business
process and configure adapter services

Validate the project and create EAR, which is runtime version of the
business process/ adapter services.

EAR files are deployed into Tibco administrator.

Runtime Environment
Communication
over Internet

Siebel
Database

Admin Domain

HTTP, SOAP,SMTP ODBC,JDBC

Tibco
Administrator
AdminServer
Domain
Security

Project
Repo.

WebServer

Tibco Process
Engines (FT)

Application

TIBCO BusinessWorks Features


Messaging.
Adapters Services.
Business Process Modeling.
Schemas and Data Mapping.
Manual Activities.

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 messaging system has the following characteristics:

Guaranteed and fault tolerant.

TIBCO BusinessWorks Features


Adapter data flow

Adapter

Type
Technology Adaptor database, file
Application Adaptor PeopleSoft,
Siebel, SAP R/3
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 and translate
it to a format the target application
can understand.

TIBCO BusinessWorks Features


Business Process Modeling

The business processes describe the


actual flow of data inside the enterprise.
In TIBCO BW, TIBCO Designer GUI is used
to design & test processes.
Configuration of adapter services.
A complete set of commonly used
activities such as File Read, File Write,
and File Create, a set of email
activities, timers, JMS activities, etc.
A transformation tool that lets you
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

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.

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.

BW Project Model How it works?

Analyze project
Configure services
Design process
Deploy applications
Manage and monitor the domain

TIBCO BusinessWorks Process Design


Process Definition

Process definition is a graphical representation of the business process model


A directed Acyclic Graph containing single start node with any no. of transitions to
other nodes (Activities). Transitions must be lead to End activity or optional
Generate Error activity.
Consists of the following components
Activities Individual unit of work with in a process definition
Transition - Describe flow of processing, represented by an arrow. Condition
Types in a transition( Success, Success with Condition, Success with no Matching Conditions, Error)
Groups Used to specify related set of Activities. Different groups are None,
Transaction, Iterate Loop, Repeat Until true Loop, Repeat on error Until True Loop

Subprocesses used in modular design of process definitions


Shared Configuration Resources

TIBCO BusinessWorks Process Design


Project Resources
SMTP

JMS

FILES

Accept Data from External sources


JMS and RV
HTTP(S) / SMTP / FTP

FTP

TIBCO
BusinessWorks

JDBC

RV

SOAP
Files

HTTP(S)

JDBC

SOAP

Made available via resource objects

Reusable across the project

TIBCO BusinessWorks Process Design


Activity Configuration

Data input and output mapping

Wizards help you to configure activities

For most activities there are at least 3 configuration tabs


Configuration Which involves naming the activity
Input Which allows you to map the data input to the activity
Output - Which allows you to view the data that will be output by activity
Note Some activities has extra tabs like Input & output schema, Headers.

TIBCO BusinessWorks Process Design


XPath Formula Builder

g
Dra

r op
D
&

Drag and drop expression building

Automatic syntax verification as you build

XPath stands for XML path language that describes how to locate and
process items in XML document.

TIBCO BusinessWorks Process Design


Process Testing

Test multiple processes at design-time


Examine process data Input and Output tabs
Examine errors Error message, Show Console, Error tabs

Process Variables
Process variables are started with $

Activity Output
An activitys output is placed into a
process variable with the same name
as the activity and used.
Predefined Process Variable
$_globalVariables
$_processContext
Error Process Variables
$_error
$_error_<activityName>
User-Defined Process Variables
Process variables are defined on the
Process Variables tab of the Process
Definition resource

Global Variables
In Configuration tab

In Input tab

Use instead of hard-coding


Especially environment specific
parameters
Exposed during deployment
configuration
Increases deployment and
administration flexibility
Eases migration between
environments
RV message subjects and adapter
session are auto-generated using
default global variables
Avoid modifying unless project
requires it
Global variables can be grouped using
designer
Useful when using RCS / multideveloper environment.

Error Handling

Error transitions directly from


activities
Similar handling a function call
error
Error transition from a Group
Similar to try / catch construct
Suspend / resume capability
For handling retry logic( on
resource timeouts)
Set during deployment
configuration
In case of exception, at least $_error
process variable will be populated.

TIBCO BW Palettes
The following are the different palettes available in BW
Process Palette
General Activities Palette
File Palette
Java Palette
XML Activities Palette
JDBC Palette
Parse Palette
HTTP Palette
SOAP Palette
Mail Palette
JMS Palette

TIBCO BW Palettes
Process Palette

Resource
Process definition
Allows to define business processes.
mandatory palette for all business processes
All BW palettes appear on double-clicking this palette in designer

TIBCO BW Palettes
General Activities

Shared Resource
JNDI Configuration - The JNDI Configuration shared configuration resource
provides a way to specify JNDI connection information that can be shared
by other resources

Activities
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
Mapper - Used to perform mapping between different schemas
External Command - The External Command activity allows you to execute
an operating system command. This activity waits for the command to
complete before transitioning to the next activity
Confirm - The Confirm activity confirms any confirmable messages received
by the process instance

TIBCO BW Palettes
General Activities contd.

Activities
Null - The Null activity is an activity with no action performed. This activity has
a name and a description specified on the Configuration tab, but there is no
input or output for the activity
Write to Log - This activity writes a message to the log. Design-time log is stored
in <derive>/Documents and Settings\<user>\.TIBCO\logs folder. The logs are
stored in the TIBCO BusinessWorks installation directory under the logs
subdirectory. There is one log file for each process engine

Process Starter
Timer - The Timer process starter starts a process at a specific time. You can
also specify that processes are to be started periodically.

Graphic Tool
Label - The Label resource allows you to create a generic label so that you can
provide documentation and comments in your process definition. The Label is
not an activity.

TIBCO BW Palettes
File Palettes

Activities
Create File - The Create File activity creates a new file or directory with the
specified name. When creating a file, you can also provide the file contents.
Read File - The Read File activity is used to read a file and place its contents
into the activitys output
Write File - The Write File activity writes content to the specified file
Remove File - The Remove File activity removes the specified file. This
activity can also remove empty directories. If a directory that is not empty is
specified, an exception is thrown.

Process Starter
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,
modification, deletion) is detected

TIBCO BW Palettes
Java Palettes

Activities
Java Code - You can add custom code to your process definition with the
Java Code activity. This activity allows you to write standard Java code
that can manipulate any of the process data or perform any action you
choose.
Java Method - The Java Method activity allows you to invoke a method
contained in a Java class. You can construct an instance of the specified
Java class, if you choose to invoke the constructor for the class.
Java Custom Function - The Java Custom Function resource allows you to
create custom functions to use when mapping data in an activitys input
tab. These functions are also displayed when using the XPath Editor to
build an XPath expression.

TIBCO BW Palettes
XML Activities Palette

Activities
Parse XML - The Parse XML activity takes a binary XML file or an XML string
and processes it, turning it into an XML schema tree based on the XSD or
DTD specified.
Render XML - The Render XML activity takes an instance of an XML schema
element and renders it as a stream of bytes containing XML or an XML
string. The schema is processed based on the XSD file specified.
Transform XML - The Transform XML activity allows you to transform an
input XML document into the output specified by the given XSLT File shared
configuration resource.
XSLT File - The XSLT File resource allows you to load an XSLT file to use to
transform XML schemas using the Transform XML activity

TIBCO BW Palettes
JDBC Palette

Shared Configuration
JDBC Connection - The JDBC Connection resource describes a JDBC
connection. JDBC connections are used when specifying activities from
the JDBC palette.

Activities
JDBC Query - The JDBC Query activity performs the specified SQL SELECT
statement.
JDBC Update - The JDBC Update activity performs the specified SQL
INSERT, UPDATE, or DELETE statement.
JDBC Call Procedure - The JDBC Call Procedure activity calls a database
procedure using the specified JDBC connection.

TIBCO BW Palettes
Parse Palette

Shared Configuration
Data Format - The Data Format resource contains the specification for
parsing or rendering a text string using the Parse Data and Render Data
activities.

Activities
Parse Data - The Parse Data activity takes a text string or input from a
file and processes it, turning it into a schema tree based on the specified
Data Format shared configuration. .
Render Data - The Render Data activity takes an instance of a data
schema and renders it as a text string. The schema processed is based on
a specified Data Format shared configuration.

TIBCO BW Palettes
HTTP Palette

Shared Configuration
HTTP Connection - The HTTP Connection resource describes the characteristics of
the connection used to receive incoming HTTP requests. This resource is used
when TIBCO BusinessWorks expects to receive an HTTP request on a specific port
where a process engine is running.

Process Starter
HTTP Receiver - Starts a process based on the receipt of a HTTP request.

Activities
Send HTTP Request - The Send HTTP Request activity sends a HTTP request to a
web server.
Send HTTP Response - Sends a response to a previously received HTTP request.
This activity is used in conjunction with the HTTP Receiver process starter or the
Wait for HTTP Request activity.

TIBCO BW Palettes
SOAP Palette

Process Starter
SOAP Event Source - The SOAP Event Source process starter creates a process
instance for incoming SOAP requests. SOAP is a standard protocol for invoking
web services. This allows you to create a web service using process definitions.

Activities
SOAP Request Reply - The SOAP Request Reply activity performs a request on the
specified web service and optionally expects a reply from the web service. You
can invoke both document and RPC web services with this activity.
SOAP Send Fault - The SOAP Send Fault activity sends a SOAP fault to the client if
an error occurs during processing of a SOAP request.
SOAP Send Reply - The SOAP Send Reply activity sends a reply to an application
that sent a SOAP request.

TIBCO BW Palettes
Mail Palettes

Activity
Send Mail - The Receive Mail process starter polls a POP3 mail server for
new mail. When new mail is detected and retrieved, the Receive Mail
process starter starts a new process for the process definition it resides in
and passes the mail data to the next activity in the process flow.

TIBCO BW Palettes
JMS Palette

Shared Configuration
JMS Connection - The JMS Connection resource describes a JMS connection. This
resource is used when specifying activities on the JMS palette.
JMS Properties - The JMS Application Properties resource describes any JMS
message properties that a JMS application expects.

Process Starter
JMS Queue Receiver - Starts a process based on the receipt of a message for the
specified JMS queue.

Activities
Reply To JMS Message - The Reply To JMS Message activity sends a reply to a
previously received JMS queue or topic message.

TIBCO BW Palettes
JMS Palette Contd.

Activities
JMS Queue Sender - The JMS Queue Sender activity sends a message to the
specified JMS queue.
JMS Queue Requestor - The JMS Queue Requestor activity is used to send a
request to a JMS queue name and receive a response back from the JMS client.

Potrebbero piacerti anche