Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Course Contents
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.
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.
Runtime Environment
Communication
over Internet
Siebel
Database
Admin Domain
Tibco
Administrator
AdminServer
Domain
Security
Project
Repo.
WebServer
Tibco Process
Engines (FT)
Application
TIBCO Business Works has messaging system that can reliably handle the
volume of messages that will be sent and received by it.
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.
Analyze project
Configure services
Design process
Deploy applications
Manage and monitor the domain
JMS
FILES
FTP
TIBCO
BusinessWorks
JDBC
RV
SOAP
Files
HTTP(S)
JDBC
SOAP
g
Dra
r op
D
&
XPath stands for XML path language that describes how to locate and
process items in XML document.
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
Error Handling
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.