Sie sind auf Seite 1von 164

Education Programs

M-BWE: Essentials of TIBCO BusinessWorksTM 5.3


Student Workbook April 7, 2006

Important Information
Some TIBCO Software embeds or bundles other TIBCO Software. Use of such embedded or bundled TIBCO Software is solely to enable the functionality (or provide limited add-on functionality) of the licensed TIBCO Software. The embedded or bundled software is not licensed to be used or accessed by any other TIBCO Software or for any other purpose. The information contained in this document is subject to U.S. and international copyright laws and treaties. No part of this document may be reproduced in any form without the written authorization of TIBCO Software Inc. Technologies described herein are covered by existing patents and pending patent applications. TIBCO technology is protected under US patent number 6,003,011. TIB, TIBCO, Information Bus, The Power of Now, TIBCO Adapter, TIBCO BusinessWorks, TIBCO Administrator, and TIBCO Designer are either registered trademarks or trademarks of TIBCO Software Inc. in the United States and/or other countries. All brand and product names are trademarks or registered trademarks of their respective holders. THIS PUBLICATION IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. THIS PUBLICATION COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN; THESE CHANGES WILL BE INCORPORATED IN NEW EDITIONS OF THIS PUBLICATION. TIBCO SOFTWARE INC. MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE PRODUCT(S) AND/OR THE PROGRAM(S) DESCRIBED IN THIS PUBLICATION AT ANY TIME. Printed in the USA. Copyright 2006 TIBCO Software Inc. ALL RIGHTS RESERVED.

Program Contents

Program Contents

Program Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Welcome . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Module Agenda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Module Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Materials and Lab Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Certified Professional Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Certification Exam Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Facilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 3 4 5 7 8 9

Unit 1

Introducing TIBCO Solutions . . . . . . . . . . . . . . . . . . . . . . . . . .11


12 13 14 16 18 19 20 21 22 24 25 26 27 28 29 30 31 32 33 34 35

Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Software Inc. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How TIBCO Delivers for Customers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The TIBCO Advantage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Delivers: SOA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SOA Platform: TIBCO BusinessWorks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Application Integration: TIBCO Adapter Suite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Building the Enterprise Service Bus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Monitoring and Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Partner Integration: TIBCO BusinessConnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Data Integration: TIBCO DataExchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mainframe Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Collaborative Information Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Delivers: BPM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . BPM: TIBCO iProcess Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . BPM: TIBCO iProcess Decision Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . BPM: TIBCO iProcess Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Delivers: Business Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Rich Client: TIBCO General Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Business Optimization: TIBCO BusinessEvents . . . . . . . . . . . . . . . . . . . . . . . . . . . Business Optimization: TIBCO PortalBuilder. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

TIBCO Software Inc.

Page iii

M-BWE: Essentials TIBCO BusinessWorks 5.3

Business Optimization: TIBCO BusinessFactor . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 The TIBCO Advantage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

Unit 2

Introducing TIBCO BusinessWorks . . . . . . . . . . . . . . . . . . .41

Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 TIBCO BusinessWorks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 BusinessWorks Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 BusinessWorks Methodology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 TIBCO Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 TIBCO Administrator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 What Is a TIBCO Domain? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Domain Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Domain Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Management Using Administrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 BusinessWorks Demo. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

Unit 3

Process Design and Testing . . . . . . . . . . . . . . . . . . . . . . . . . . .55

Topics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 TIBCO Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Process Design. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Activity Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 XPath Formula Builder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 TIBCO Query Designer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Project Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Process Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 Project Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Project Global Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Lab Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Lab A: Implement Perform Credit Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Create New Project from Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Design Perform Credit Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Test Perform Credit Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81

Page iv

TIBCO Education Programs

Program Contents

Unit 4

Generate Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85


86 87 88 89 90 92 93 94 97

Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . What Are Web Services?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SOAP Web Services in BusinessWorks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SOAP Message Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SOAP Web Service Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Generating a Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SOAP Web Service Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Lab Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Lab B: Implement Credit Check Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Generate Credit Check Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Test Credit Check Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100

Unit 5

Deployment and Management . . . . . . . . . . . . . . . . . . . . . . . .105

Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Deployment Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 Validating Project for Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 Building Enterprise Archives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Process, Adapter and Shared Archives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110 Application Deployment in Administrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 Configuring Deployment Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112 Deploying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113 Redeploying and Versioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114 Managing and Monitoring Deployments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115 Domain Communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116 User Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117 Domain Authorization and Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118 Domain Resource Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119 Version Control Using TIBCO XML Canon. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Why Use XML Canon with BW? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 Lab Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Lab C: Deploy Credit Check Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Archive Credit Check Service for Deployment. . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Deploy Credit Check Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Manage and Monitor Credit Check Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129

TIBCO Software Inc.

Page v

M-BWE: Essentials TIBCO BusinessWorks 5.3

Implement Project Version Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132

Unit 6

TIBCO BusinessWorks Summary . . . . . . . . . . . . . . . . . . . .137

Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 TIBCO BusinessWorks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 Business Process Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Project Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 Multi-Platform Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 Test Your Skills Lab Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144

Appendix A

Common Operating System Tasks . . . . . . . . . . . . . . . . . . . .147

Page vi

TIBCO Education Programs

Program Overview

Program Overview

Welcome to Essentials of TIBCO BusinessWorks 5.3. This one day program provides hands-on experience designing, testing, deploying and managing TIBCO BusinessWorks projects. This introductory unit provides an overview of the course, including learning objectives, agenda and lab environment.

Topics
Welcome, Module Module

page 2

Agenda, page 3 Objectives, page 4 and Lab Environment, page 5

Materials TIBCO TIBCO

Certified Professional Program, page 7 Certification Exam Registration, page 8 page 9

Facilities,

TIBCO Software Inc.

Page 1

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Welcome
Name Company Job title and responsibilities Industry experience TIBCO Software experience Goals and expectations for this course
S
Page 2

TIBCO Software Inc.

Welcome
To begin the course, tell the instructor and your classmates about your background and experience. Describe your expectations for the course, and, in particular, how you plan to use TIBCO BusinessWorks to address your own business integration needs.

S S S S S

TIBCO Education Programs

TIBCO Education Programs

Program Overview

Module Agenda
1. Introducing TIBCO Solutions 2. Introducing TIBCO BusinessWorks 5.3 3. Process Design and Testing
Lab A

4. Service Generation
Lab B

5. Engine Deployment and Management


Lab C

6. Summary

TIBCO Software Inc.

TIBCO Education Programs

Module Agenda
After briefly reviewing TIBCO as a company and the solutions it delivers, you have an overview of BusinessWorks components and a product demonstration. Following this you learn how to develop, deploy and manage BusinessWorks projects, reinforced by hands-on exercises. The instructor will provide time for breaks during the course.

TIBCO Software Inc.

Page 3

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Module Objectives
Knowledge
Define BusinessWorks components Explain TIBCO Designer development environment Explain TIBCO Administrator runtime environment

TIBCO Software Inc.

Module Objectives
Through a combination of instructor-led lecture, product demonstrations and practical exercises, the goal of this course is to give you a solid introduction to TIBCO BusinessWorks, including:
Essential

Page 4

S S

Skills
Navigate TIBCO Designer and Administrator environments Create BW projects and processes Configure activities and resources Test and debug processes Generate services Deploy and manage engine

TIBCO Education Programs

knowledge and skills to design, test, deploy and manage basic BusinessWorks projects.

TIBCO Education Programs

Program Overview

Materials and Lab Environment


S S

Materials
Workbook Slides and notes

Environment
Windows 2003 and XP
edusvr instructor server userXX student clients

TIBCO Software Inc.

Materials and Lab Environment


The instructor machine (hostname edusvr) is the class server. Each student machine (hostname userXX) includes a full installation of TIBCO BusinessWorks. Each machine may also include a full installation of TIBCO Enterprise Message Service and TIBCO Adapter for ActiveDatabase The user IDs and passwords you will need to access various applications during the class are userXX, where XX is a unique number between 01 - 15 assigned to each student by the instructor. The files youll need to participate in the course labs are provided on the course CD that accompanies this book. Complete the steps that follow on the next page to download the course files from the CD and setup your C:\BWEDU directory.

TIBCO Software Inc.

S S

Labs and Exercises


Student CD Self-extracts to C:\BWEDU

User IDs and Passwords


userXX / userXX

' To Do:
Extract Student CD Access BW Home Page at: http://edusvr:8080/bw/index.html

TIBCO Education Programs

Page 5

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Establish Your C:\BWEDU Working Directory


Complete these steps to set up your working directory for the course lab exercises: 1. 2. 3. 4. Insert the BWEDU Student CD that accompanies this workbook into your local media drive. In the index page that appears, select the Download Lab Files link. At the "Download" dialog, click Open. At the "Welcome" dialog, click OK. The directory C:\BWEDU will be auto-created on your local machine. Within this directory are subfolders that contain the files youll need during the course lab exercises.

Page 6

TIBCO Education Programs

Program Overview

TIBCO Certified Professional Program


Official Recognition for Expertise in TIBCO Technologies

TIBCO offers the following certification credentials:


TIBCO Certified Professional for TIBCO BusinessWorks 5 TIBCO Certified Professional for TIBCO Enterprise Message Service 4 TIBCO Certified Professional for TIBCO Rendezvous 7 TIBCO Certified Professional for TIBCO Staffware Process Definer i10

TIBCO Certified Professionals are entitled to a 20% discount on all Technical Learning Center classes.
For TCP Program requirements and details, visit www.tibco.com/services/educational/certification
TIBCO Software Inc. TIBCO Education Programs

TIBCO Certified Professional Program


Our certification programs are designed to meet the industrys growing demands for top technology talent with TIBCO expertise. By earning the TIBCO Certified Professional credential(s), you can validate your skills and gain credibility with your customers and colleagues.

TIBCO Software Inc.

Page 7

M-BWE: Essentials of TIBCO BusinessWorks 5.3

TIBCO Certification Exam Registration


On-line Candidates can register on-line for certification exams through Prometric at www.2test.com.
S
Page 8
On-line exam registration is currently available in most countries.

Telephone US/Canada: Toll free (877) 370-4095 Outside US/Canada:


S S
Visit www.prometric.com/contactus/testtakers for a complete list of registration phone numbers

TIBCO Software Inc.

TIBCO Education Programs

TIBCO Certification Exam Registration


TIBCO provides its certification exams through Prometric, the leading worldwide provider of comprehensive technology-based testing and assessment services. Prometric administers testing programs through more than 2,400 Authorized Prometric Testing Centers in over 140 countries. To find the testing center most convenient to you, use the Testing Center Locator at www.2test.com/tcl.

TIBCO Education Programs

Program Overview

Facilities

Building Hours Building Hours

Phones Phones

Parking Parking

Messages Messages

Restrooms Restrooms

Smoking Smoking

Meals Meals

Recycling Recycling

TIBCO Software Inc.

TIBCO Education Programs

Facilities
TIBCOs facilities are designated by these signs. If this training course is being held at a customer site, rules and guidelines apply as defined by the specific customer site.

TIBCO Software Inc.

Page 9

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

Page 10

TIBCO Education Programs

Unit 1: Introducing TIBCO Solutions

Unit 1

Introducing TIBCO Solutions

TIBCO Software Inc. is a leading enterprise software company providing Service-oriented Architecture (SOA), Business Process Management (BPM) and Business Optimization solutions.

Topics
Objectives, TIBCO How The

page 12

Software Inc., page 13

TIBCO Delivers for Customers, page 14

TIBCO Advantage, page 16 Delivers: SOA, page 18

TIBCO SOA

Platform: TIBCO BusinessWorks, page 19 Integration: TIBCO Adapter Suite, page 20

Application Building

the Enterprise Service Bus, page 21 and Management, page 22

Monitoring Partner Data

Integration: TIBCO BusinessConnect, page 24

Integration: TIBCO DataExchange, page 25 Integration, page 26

Mainframe TIBCO

Collaborative Information Management, page 27

TIBCO Software Inc.

Page 11

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Objectives
Introduce TIBCO Software Inc. as a company Discuss three key demands and TIBCO solutions for:
Service-Oriented Architecture (SOA) Business Optimization (BO) Business Process Management (BPM)

TIBCO Software Inc.

Objectives
On completion of this unit you will be able to:
Describe

Page 12

S S S

Identify the TIBCO software components supporting SOA, BO and BPM solutions
Define unique TIBCO terminology

TIBCO Education Programs

TIBCO Software Inc. as one of the worlds leading software providers, known for its independent and innovative position in the market. the three main reasons why organizations come to depend on TIBCO solutions, namely, accelerate projects, initiatives and go-to-market cycles automate and streamline business processes improve operational visibility, collaboration and be proactive.

Discuss To To To

Identify

the TIBCO software products that support the critical challenges that these solutions present

TIBCO Education Programs

Unit 1: Introducing TIBCO Solutions

TIBCO Software Inc.

A leading provider of business integration and process management software

Proven Ability to Execute

Strong, Growing and Profitable

TIBCO Software Inc.

TIBCO Software Inc.


TIBCO is a leading provider of business integration and process management software (according to the Gartner Group). The first to introduce the information bus and publish/subscribe messaging, define real-time business, link businesses together in partner portals, tie integration and workflow together for next generation process management and enable enterprise integration. Proven Solutions: With over 2,500 customers and 175 partners weve established a strong, growing and profitable business. This momentum and a very strong cash position place TIBCO as one of the worlds top 20 software companies. Strong brand and company: We have a large R&D commitment to drive innovation in support of customer demands. We stay in tune with an active users community (TUCON) and a professional Certification Program. Both key benchmarks of a leader!

TIBCO Software Inc.

S S S S

20 years of delivering leading software products and services 2,500+ customers, 175+ partners 50+ worldwide offices

Years of continued growth Professional Certifications Financial Strength Listed on NASDAQ: TIBX

S S S

TIBCO Education Programs

Page 13

M-BWE: Essentials of TIBCO BusinessWorks 5.3

How TIBCO Delivers for Customers

Increase operational efficiency and effectiveness

Improve operational visibility, collaboration and prediction

Accelerate projects, initiatives, and go-to-market cycles

TIBCO Software Inc.

TIBCO Education Programs

How TIBCO Delivers for Customers


TIBCO is a leading provider of business integration and process management software (according to the Gartner Group).
Weve

been the first to introduce the information bus and publish/subscribe messaging, define real-time business, link businesses together in partner portals, tie integration and workflow together for next generation process management and enable proven enterprise integration. Solutions: With over 2,500 customers and 175 partners weve established a strong, growing and profitable business. This momentum and a very strong cash position place TIBCO as one of the worlds top 20 software companies.

Proven

Page 14

TIBCO Education Programs

Unit 1: Introducing TIBCO Solutions

Strong

brand and company: We have a large R&D commitment to drive innovation in support of customer demands. We stay in tune with an active users community (TUCON) and a professional Certification Program. Both key benchmarks of a leader!

TIBCO Software Inc.

Page 15

M-BWE: Essentials of TIBCO BusinessWorks 5.3

The TIBCO Advantage


High-Performance Integration
Speed, Reliability, Scalability

PERFORMANCE

NEUTRALITY

FLEXIBILITY

TIBCO Software Inc.

The TIBCO Advantage


All industries have experienced significant acceleration of their core processes. Activities that took days now take less than an hour and in many cases just minutes or even seconds. Today's challenges are: Accelerating projects, initiatives and go-to-market cycles Automating and streamlining business processes Improving operational visibility, collaboration and becoming proactive. TIBCO products are categorized into three areas that match why organizations depend on TIBCO: 1. Service-Oriented Architecture: providing the tools and infrastructure to accelerate projects, initiatives and go-to-market cycles.

Page 16

S S S

No Rip and Replace


Leverage, extend existing infrastructure No vendor lock-in
Application, appserver, or platform

Strategic Advantages
Use only the products required Add more as your requirements grow

TIBCO Education Programs

TIBCO Education Programs

Unit 1: Introducing TIBCO Solutions

2. Business Process Management: helps organizations increase efficiency and effectiveness by automating and streamlining business processes 3. Business Optimization: improves operational visibility, collaboration and responsiveness.

TIBCO Software Inc.

Page 17

M-BWE: Essentials of TIBCO BusinessWorks 5.3

TIBCO Delivers: SOA


Capabilities: Services
Development Delivery Management

Business Process Management

Business Optimization

ServiceOriented Architecture

Infrastructure for reusable components and services

TIBCO Software Inc.

TIBCO Delivers: SOA


A Service-Oriented Architecture foundation gives companies the ability to build an infrastructure for reusable components and services to accelerate the delivery of composite applications. The core pieces of an SOA include: services development, delivery and management, integration, trading partner management and master data management. The pressures to quickly bring new products and services to market have been the driving force behind the industrys obsession with service-oriented architectures. Companies turn to TIBCO to help them build their Service Oriented Architecture because of the leading standards-based software solutions we offer and our numerous successful customer reference implementations. TIBCO success story: http://tibco.com/resources/customers/successstory_conway.pdf

Page 18

Integration
Application/data Integration Trading Partner Management Master Data Management Enterprise Service Bus

TIBCO Education Programs

TIBCO Education Programs

Unit 1: Introducing TIBCO Solutions

Business Integration: TIBCO BusinessWorks

SOA platform for integration


Services development and delivery Built-in administration, security and monitoring Adapters for application connectivity

TIBCO Software Inc.

SOA Platform: TIBCO BusinessWorks


BusinessWorks forms the integration framework for your EAI solutions. It provides an integrated user experience for all phases of the integration life cycle, to design, deploy and manage solutions. Within this framework, you can developed automated processes for example, that take data sent by one adapter, and transform the data to be received by another adapter. The integration framework has monitoring, management and security built-in, so that you can quickly "lock down" your integration. Messaging is also included as part of this framework.

TIBCO Software Inc.

CRM

Systems

Logistics

BusinessWorks

Production

Warehouse

Legacy

TIBCO Education Programs

Page 19

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Business Integration: TIBCO Adapter Suite


Gateways to third party systems
ERP, CRM, DB, File, custom

TIBCO Software Inc.

Application Integration: TIBCO Adapter Suite


An adapter allows ERP, CRM and B2B applications and databases to connect to the messaging backbone, so that data is available across the enterprise. An adapter allows for bi-directional communication between the application and the messaging layer. TIBCO Adapter SDK is available for those who want to develop their own custom adapter (for legacy applications). Adapters are available for applications like SAP R/3, PeopleSoft, Oracle Apps, Siebel, Lotus Notes, i2, BroadVision, Clarify, Vantive, JD Edwards, Arbor/BP. And for mainframe applications like: CICS Adapter, File Adapter for AS400, os390 and z/os.

Page 20

S S

Translate native application data to messages


Bi-directional connectivity Event- or demand-driven Metadata storage
New Applications Existing Applications

Adapter

Information Bus

TIBCO Education Programs

TIBCO Education Programs

Unit 1: Introducing TIBCO Solutions

Building the Enterprise Service Bus


Enables real time communications across the enterprise
RAS capabilities
Reliable, available, scalable

TIBCO Software Inc.

Building the Enterprise Service Bus


Messaging is one of the most important components of the TIBCO products. It forms the basis for what is known as TIB or The Information Bus, from which the company name is derived. The messaging options provided by TIBCO are Rendezvous, EMS and SmartSockets. Each messaging product serves a specific need, like very high performance and throughput (Rendezvous), or being standards-compliant and secure (EMS), or having a very configurable messaging (SmartSockets). Your choice of messaging depends on the requirement. These messaging products the standards for data (XML, SOAP) and standards for messaging (JMS).

TIBCO Software Inc.

S S

High velocity/high volume of information movement Standards support (XML, SOAP, JMS)

Options
TIBCO Rendezvous TIBCO Enterprise Message Service TIBCO SmartSockets
Enterprise Service Bus (ESB)

CRM

DB

ERP

Legacy

TIBCO Education Programs

Page 21

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Monitoring and Management


TIBCO Hawk
Application monitoring
Provides a centralized view of distributed applications Rule based monitoring Real-time alerting/ corrective actions Location independent consoles

TIBCO Software Inc.

Monitoring and Management


TIBCO Hawk is used for monitoring to help ensure that enterprise systems are up and running at all times. Hawk is the framework for event-driven monitoring and management is done easily, one the Hawk infrastructure is in place. Messaging is across distributed applications, and Hawk is also configured across these applications, providing for real-time alerting and corrective capabilities. Hawk leverages the same messaging layer, and leverages all its benefits. TIBCO Enterprise Management Advisor runs on top of an existing Hawk framework. TIBCO Enterprise Management Advisor can run as a stand-alone product, or it can be used to provide 2-way communication to EM Systems such as HP OpenView. WSMF: Web Services Management Framework is the open standard protocol supported by Enterprise Management Systems like HP OpenView.

Page 22

S S

Hawk

TIBCO Enterprise Management Advisor


External Systems communication Exposes system, network, application and process data Stand-alone or with EM Systems Supports WSMF

TIBCO Enterprise Management Advisor

Enterprise Management System

TIBCO Education Programs

TIBCO Education Programs

Unit 1: Introducing TIBCO Solutions

TIBCO Enterprise Management Advisor Features:


Maps

business processes to IT infrastructure, providing business context to monitoring events. ability to manage service level agreements by providing metrics on both business process and infrastructure.

Improves

TIBCO Software Inc.

Page 23

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Partner Integration: TIBCO BusinessConnect


Protocol-based connectivity
Supports popular protocols
SOAP, EDI, EDI-HIPAA, UCCNET, RosettaNet

TIBCO Software Inc.

Partner Integration: TIBCO BusinessConnect


TIBCO BusinessConnect is used to connect your existing integrated environment to your partners, so that you can do real-time B2B transactions, using protocols like SOAP, EDI and RosettaNet. B2B partners share a public process that is platform neutral, specify the same security level, trading partner identities and protocol. The backend private process communication is platform specific, preparing the transaction document (e.g., *.xml) and send it to the B2B server.

Page 24

Integrates with BusinessWorks for private processes Supports DMZ implementations

Your Business
Private Process
BusinessWorks

Your Trading Partner


Public Process Public Process Private Process

BusinessConnect
B2B Server
Internet

EDI

TIBCO Education Programs

TIBCO Education Programs

Unit 1: Introducing TIBCO Solutions

Data Integration: TIBCO DataExchange


Extract, transform and load (ETL) data Moves large amounts of data
Multiple data sources
Databases, XML, JMS, Files

TIBCO Software Inc.

Data Integration: TIBCO DataExchange


TIBCO DataExchange is the ETL product from TIBCO. It is used to extract massive amounts of data from various sources, transform the data and then load the data into different targets. A data source could be a database, flat file or even messages. For working with large amounts of data, this product has features such as block reads and writes and parallel loading.

TIBCO Software Inc.

S S

Scheduled processing Parallel processing and block loads

TIBCO DataExchange

Extract, Transform, Load

TIBCO Education Programs

Page 25

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Mainframe Integration
TIBCO Mainframe Server Suite
Bi-directional mainframe connectivity

Mainframe and other databases


DB2, IMS, VSAM

TIBCO Mainframe Integrator


Data mapping, metadata

Integration gateways
External applications
.Net, J2EE
syawetaG esabataD

TIBCO Software Inc.

Mainframe Integration
For Business Integration in a mainframe environment, TIBCO has a suite of products, named TIBCO Mainframe Server Suite. The components are: back-end (database gateways), Integration Foundation and front-end (Integration Gateways). The back-end database gateways connect to a variety of mainframe and non-mainframe databases (DB2, Oracle, Informix, Sybase, etc.). The from-end integration gateways allow for communication to external applications such as J2EE and .NET applications. The integration foundation for the same configuration capabilities (and look-and-feel) whether running on a mainframe, UNIX or Windows based systems.

Page 26

rotargetnI emarfniaM

z/OS

syawetaG noitargetnI

S S

External Apps

Components
Database gateways

Windows

Solaris

Linux

Mainframe

TIBCO Education Programs

TIBCO Education Programs

Unit 1: Introducing TIBCO Solutions

TIBCO Collaborative Information Manager - Product Edition

S Master Data Management (MDM)


Logistics ERP #1 Finance Brand Mgt Call Center

Enterprise Service Bus

ERP #2

Enterprise Service Bus

Sales

Supply Chain

JMS/XML

PLM

Rich Product Information

Packaging IT

TIBCO Software Inc.

TIBCO Collaborative Information Management


Features of TIBCO Collaborative Information Manager Product Edition:
Information Extensible

Lifecycle Management: Consistent creation to consumption processes, Industry/domain specific Referential Repository: Central or virtual store for reference, Cross indexing as required, Validation data and contextual Alignment: Process integration for internal systems

Internal

External

Alignment: B2B integration for trading partner synchronization

TIBCO Software Inc.

reganaM noitamrofnI evitaroballoC OCBIT

spihsnoitaleR seitrapretnuoC of nI t cudorP of nI re mo tsu C ofnI rodneV

JMS/XML

Customer Support

Composite Application

Content Mgrs

Composite Application

TIBCO Education Programs

Page 27

M-BWE: Essentials of TIBCO BusinessWorks 5.3

TIBCO Delivers: BPM


Capabilities: Process Modeling Process Execution and Monitoring Business Rules Process Analytics
Orchestrate execution of tasks for control and scalability
Business Process Management Business Optimization

TIBCO Software Inc.

TIBCO Delivers: BPM


Business Process Management (BPM) has dramatic business and technology effects. It provides organizations with the ability to save money, save time, and deliver value through real return on investment (ROI). You can orchestrate and automate tasks and processes. Core BPM solutions including process modeling and execution, rules and process monitoring and analytics. TIBCO Success Story: http://tibco.com/resources/customers/successstory_dvla.pdf

Page 28

ServiceOriented Architecture

TIBCO Education Programs

TIBCO Education Programs

Unit 1: Introducing TIBCO Solutions

BPM: TIBCO iProcess Engine


Manage complete end-to-end business processes Enables workflow across the enterprise
Modeling environment suitable for business analysts EAI connection capabilities Detailed auditing

TIBCO Software Inc.

BPM: TIBCO iProcess Engine


TIBCO iProcess Engine is the main component of the BPM Environment. All the other products such as the TIBCO iProcess Decisions Server and the TIBCO iProcess Monitoring, support the iProcess Engine. The TIBCO BPM product suite is used to build Enterprise wide BPM solutions. It does not need an EAI environment, and it can be configured to communicate with multiple EAI environments (for example across Departments, if each department has its own EAI solution).

TIBCO Software Inc.

S S

TIBCO Education Programs

Page 29

M-BWE: Essentials of TIBCO BusinessWorks 5.3

BPM: TIBCO iProcess Decisions Server


Define business rules Separate rules from workflows
Human-readable syntax
Not code

TIBCO Software Inc.

BPM: TIBCO iProcess Decision Server


While defining business rules in process Modeler, the overall process design can get complicated. As a result, understanding these process can get more and more difficult as time goes by, and maintenance becomes expensive. To simplify this, business rules are handled separately. Business rules can be created and stored using a separate GUI, and these rules can be applied to the business process.

Page 30

S S

Checks for rule completeness and ambiguity Rules stored as XML

TIBCO Education Programs

TIBCO Education Programs

Unit 1: Introducing TIBCO Solutions

BPM: TIBCO iProcess Monitoring


Graphical interface for viewing BPM data Data views relative to configured key performance indicators (KPIs)
View historical data Separate data storage (from BPM process data) Multiple views (monthly, daily, by type)

TIBCO Software Inc.

BPM: TIBCO iProcess Monitoring


Although Historical, Real-time and Future (Prediction) are separate components in TIBCO BPM, it is sufficient for this level of conversation to lump them together as one and simply talk about Process Monitoring. Process monitoring facilitates Ad-Hoc Report Generation, Data Mining, Planned & Alarm Values among its many features.

TIBCO Software Inc.

S S

TIBCO Education Programs

Page 31

M-BWE: Essentials of TIBCO BusinessWorks 5.3

TIBCO Delivers: Business Optimization


Distribute and leverage information for effective action

Business Process Management

Business Optimization

ServiceOriented Capabilities: Architecture Rich Client Event Correlation Complex event processing

TIBCO Software Inc.

TIBCO Delivers: Business Optimization


The ability to effectively deliver the right information at the right time to the right people and leveraging that information to act, is what we call Business Optimization. Weve helped hundreds of organizations with their business optimization challenges by delivering a range of leading solutions including customer and partner portals, event correlation, monitoring and alerting and operational dashboards. TIBCO success story: http://tibco.com/resources/customers/successstory_pirelli.pdf

Page 32

Portal for Employees, Customers, Partners Operational Monitoring, Alerting, Dashboards


TIBCO Education Programs

TIBCO Education Programs

Unit 1: Introducing TIBCO Solutions

Rich Client: TIBCO General Interface Builder


Development environment for building web-based clients
AJAX Tool Kit Thick client capabilities to a thin client
Client-side processing logic Clients run in a browser
Reduces application server load

XML-based

TIBCO Software Inc.

Rich Client: TIBCO General Interface


TIBCO General Interface Builder is used to build a "Rich Client." A Rich Client can be deployed in a web browser with the functionality of client installed software or "Thick" application which has robust features, speed and performance. TIBCO General Interface Builder has an IDE which is a visual authoring environment for rapid creation and deployment of applications. This visual authoring environment can run either as a standalone tool or within the embedded Internet Explorer browser module of your favorite IDE. You can use any script-based integrated development environment (IDE) to author applications that call upon the APIs of the TIBCO General Interface Framework.

TIBCO Software Inc.

Rich Client

TIBCO Education Programs

Page 33

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Business Optimization: TIBCO BusinessEvents


Complex event processing (CEP) Recognizes trends, problems, opportunities
Rete-based rules engine Event correlation, history Diverse data sources

TIBCO Software Inc.

Business Optimization: TIBCO BusinessEvents


Business data exists in many business processes through out the enterprise. This data needs to be correlated and when this happens, it is easy to identify problems, patterns and business exceptions. Using this correlated data, rules can be designed to make your business processes ready to handle any such incidents that may arise in the future. These are the qualities of TIBCO BusinessEvents. It helps you co-relate data, and then allows you to create rules so that you can identify trends, exceptions and forecast future performance based on past experience.

Page 34

S S

awareness, analysis, trending

actions

TIBCO BusinessEvents BusinessEvents


events business processes
ERP CRM

TIBCO Education Programs

TIBCO Education Programs

Unit 1: Introducing TIBCO Solutions

Business Optimization: TIBCO PortalBuilder


Content presentation Personalized views of up to date information
Content gathering from multiple data sources User and role-based authentication Plug-in modules for TIBCO products

TIBCO Software Inc.

Business Optimization: TIBCO PortalBuilder


TIBCO PortalBuilder is used to consolidate access to your information assets on a single frequently visited page the portal.yourcompany.com home page. It is a powerful web service aggregation and deployment platform. Features: Integrates existing sources of internal content and external content. Offers full localization and customization. Zero installation at the desktop resulting in no per user maintenance. TIBCO products such as TIBCO FormBuilder, TIBCO BusinessWorks Collaborator, TIBCO General Interface Builder and TIBCO BusinessFactor can be plugged into the same portal site.

TIBCO Software Inc.

S S

TIBCO Education Programs

Page 35

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Business Optimization: TIBCO BusinessFactor


Business activity monitoring (BAM) Process data to decision makers:
Filter data using when, what and where parameters Real-time data aggregation Customized presentation layer

TIBCO Software Inc.

Business Optimization: TIBCO BusinessFactor


TIBCO BusinessFactor is the BAM (Business Activity Monitoring) offering from TIBCO. BusinessFactor is installed on top of existing business processes, and it collects data from various sources. Data is aggregated or correlated as required. This aggregated data is presented to the business user, so that the user can identify potential problems and react to these problems.

Page 36

S S

Collect Aggregate

Data Sources
Databases, Applications

Collection

Presentation

Decisions

TIBCO Education Programs

TIBCO Education Programs

Unit 1: Introducing TIBCO Solutions

The TIBCO Advantage


High Performance Integration

Business Process Management

Business Optimization

High Performance Integration

ServiceOriented Architecture

Increasing VOLUME

Increasing VELOCITY

Increasing VARIETY

TIBCO Software Inc.

TIBCO Education Programs

The TIBCO Advantage


We built our business by helping customers solve their most significant challenges. As their businesses continued to grow, so did the number of applications and data sources. The speed at which their businesses operate continues to accelerate. We call this the THREE Vs when the volume, the speed and the variety of information, processes and services being produced continues to increase. What types real-time information flows over TIBCO-based infrastructure?
Billions Tens

of dollars worth of stock trades and financial transactions

of millions of telecom service requests and events of supply chain events and channel transactions

Millions Tens And

of thousands of insurance applications and claims

tracking data about millions of packages and thousands of events

TIBCO Software Inc.

Page 37

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Summary

S TIBCO
Leader, Proven and Strong

S Key Demands : SOA, BPM, BO


Improve, increase and accelerate With Real-time: Visibility, Understanding and Action

S TIBCO Advantage
Performance, Neutrality, Flexibility

TIBCO Software Inc.

TIBCO Education Programs

Summary
TIBCO is one of the worlds leading software providers, known for

its independent and innovative position in the market.


The

three main reasons why organizations come to depend on TIBCO solutions, namely:
To improve operational visibility, collaboration and be proactive To To

increase operational efficiency and effectiveness accelerate projects, initiatives and go-to-market cycles Real-time

How?

TIBCO Advantage is software that meets the critical challenges that

these solutions present.


Performance,

Neutrality and Flexibility

Page 38

TIBCO Education Programs

Unit 1: Introducing TIBCO Solutions

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

TIBCO Software Inc.

Page 39

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

Page 40

TIBCO Education Programs

Unit 2: Introducing TIBCO BusinessWorks

Unit 2

Introducing TIBCO BusinessWorks

TIBCO BusinessWorks is designed for the rapid deployment of business integration solutions. BusinessWorks provides an integrated user experience for all phases of the development life cycle, including process automation, data transformation, adapter configuration and service generation.

Topics
Objectives, TIBCO

page 42

BusinessWorks, page 43 Components, page 44 Methodology, page 45

BusinessWorks BusinessWorks TIBCO TIBCO What

Designer, page 46 Administrator, page 47

Is a TIBCO Domain?, page 48 Security, page 49 Monitoring, page 50 Using Administrator, page 51 Demo, page 52

Domain Domain

Management

BusinessWorks

TIBCO Software Inc.

Page 41

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Objectives

S Knowledge
Define BusinessWorks components
TIBCO Designer TIBCO Administrator

Explain BusinessWorks domain concepts Experience a BusinessWorks demonstration

TIBCO Software Inc.

TIBCO Education Programs

Objectives
After completing this unit you will be able to:
Describe List

how to develop, deploy and manage integration projects using TIBCO BusinessWorks the two BusinessWorks end-user tools and describe the purpose of each the concept of the BusinessWorks domain and the components comprising it from experience design- and run-time aspects of a BusinessWorks project

Explain

Describe

Page 42

TIBCO Education Programs

Unit 2: Introducing TIBCO BusinessWorks

TIBCO BusinessWorks
Extensible framework for SOA integration Built-in monitoring and management Used to build integration projects Application Connectivity
Different types and different technologies

TIBCO Software Inc.

TIBCO BusinessWorks
TIBCO BusinessWorks is an easy to use business integration and web services tool kit supporting the development, deployment and management of project-oriented business solutions. TIBCO BusinessWorks is based on the same core technology as TIBCOs industry-leading ActiveEnterprise product suite. TIBCO BusinessWorks has been designed to be easy-to-use. Solutions built using TIBCO BusinessWorks are rapidly deployable.

TIBCO Software Inc.

S S S S

CRM

.NET

Mainframe

BusinessWorks

ERP

EJB

Legacy

TIBCO Education Programs

Page 43

M-BWE: Essentials of TIBCO BusinessWorks 5.3

BusinessWorks Components
TIBCO Designer TIBCO Administrator Plug-ins: TIBCO Adapters
S
Page 44

TIBCO Software Inc.

BusinessWorks Components
The primary BusinessWorks components include the following:
TIBCO

S S

Deploy

TIBCO Designer

TIBCO Administrator

TIBCO Education Programs

Designer provides a graphical unified environment for designing solutions and preparing them for runtime deployment

TIBCO Administrator provides a web-based, intuitive management

environment for deploying runtime components, monitoring runtime components and administering the runtime environment
BusinessWorks TIBCO

Process Engine runs deployed business processes

Adapters are used to integrate external applications into the BusinessWorks framework

TIBCO Education Programs

Unit 2: Introducing TIBCO BusinessWorks

BusinessWorks Methodology

S Distinct environments
Developers use Designer
Build Enterprise Archive (EAR) files

Production: TIBCO Administrator


Manage and monitor deployed archives

TIBCO Designer

EAR

TIBCO Administrator

Development

Production

TIBCO Software Inc.

TIBCO Education Programs

BusinessWorks Methodology

TIBCO Software Inc.

Page 45

M-BWE: Essentials of TIBCO BusinessWorks 5.3

TIBCO Designer
TIBCO IDE used to:
Define business processes and services Configure Adapter Debug processes, adapters

TIBCO Software Inc.

TIBCO Designer
TIBCO Designer is used as the design-time environment for configuring adapters, creating and testing business processes and creating deployment packages. As a component of BusinessWorks, TIBCO Designer features and intuitive, easy-to-use interface with palette-based resources for designing integration projects.

Page 46

S S

Build Enterprise Archive (EAR)

TIBCO Education Programs

TIBCO Education Programs

Unit 2: Introducing TIBCO BusinessWorks

TIBCO Administrator
Browser-based UI for:
Deployment
Services and adapters

TIBCO Software Inc.

TIBCO Administrator
TIBCO Administrator is a browser-based GUI for managing the TIBCO domain. You can use the interface to add, modify or delete user authorization entries for the domain. You can also monitor and manage domain services such as the Administrator Server and Project Repository Server. In addition, you can monitor and manage any deployments registered with the domain. Deployment components that can be monitored and managed include BusinessWorks process engine instances and BusinessWorks-supported TIBCO Adapters. You can monitor using at either a component or machine granularity. You can examine and search for specific entries in the trace files for any of the services in the domain. TIBCO Administrator also provides running statistics of the number of jobs in the BusinessWorks engine, throughput and job-level tracing.

TIBCO Software Inc.

S S S

Security Monitoring Management

Repository for processes and adapters Security implementation


Enforced through TIBCO Domain

TIBCO Education Programs

Page 47

M-BWE: Essentials of TIBCO BusinessWorks 5.3

What Is a TIBCO Domain?

S Boundary enforced by Administrator S Components:


Users and Roles Machines TIBCO software Deployed applications

S Administrator
Monitors and manages domain components

TIBCO Software Inc.

TIBCO Education Programs

What Is a TIBCO Domain?


The TIBCO administration domain is defined as a collection of components (machines, process engines, users) that can be monitored and managed via TIBCO Administrator. With BW, the domain defines the scope of the integration environment. A domain can comprise as many BW projects as needed. The domain may contain one or more machines and machines may belong to multiple domains. BW processes can only be deployed to hosts in its domain. Infrastructure messages can cross domain boundaries, although such inter-domain messaging is not recommended as it can complicate deployment. The TIBCO Administration Sever manages the BW domain. A BW domain must contain at least one Administration server and may contain one or more secondary backup Administration servers. The Administration Server provides domain security, monitoring and management.

Page 48

TIBCO Education Programs

Unit 2: Introducing TIBCO BusinessWorks

Domain Security
Administrator UI to
Create users and roles Grant access control to domain components

TIBCO Software Inc.

Domain Security
TIBCO Administrator provides various levels of security over the domain, including user access control to domain components and secure access to the Administrator interface itself. Users may be defined either locally in the Administrative GUI or user may be defined in a corporate LDAP and synchronized with Domain Administrator for Domain security purposes.

TIBCO Software Inc.

TIBCO Education Programs

Page 49

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Domain Monitoring
Administrator provides:
Machine Status Deployment Status Component Statistics Component Trace Files Access monitoring

TIBCO Software Inc.

Domain Monitoring
TIBCO Administrator provides monitoring information on machines registered in the domain, deployed applications, as well as process tracing and statistics.

Page 50

S S

Custom monitoring can be added


For machines or deployed services

TIBCO Education Programs

TIBCO Education Programs

Unit 2: Introducing TIBCO BusinessWorks

Management using Administrator

S Administrator can:
Start/Stop Components Configure fault-tolerant processes Manage inventory
Add remove components

TIBCO Software Inc.

TIBCO Education Programs

Management Using Administrator


Using the Administrator interface you can manage deployed applications, set access control to these applications, and manage domain software.

TIBCO Software Inc.

Page 51

M-BWE: Essentials of TIBCO BusinessWorks 5.3

BusinessWorks Demo
S

Web Service providing currency exchange rates


BW Demo

Request exchange rates using your browser

TIBCO Software Inc.

BusinessWorks Demo
The instructor will demonstrate TIBCO BusinessWorks, emphasizing design- and run-time features of the product.

Page 52

Browser

BW Web Service Client

BW SOAP Server

BW Home Page

Get Exchange Rate

Currency Exchange Rate Web Service

You

Instructor

TIBCO Education Programs

TIBCO Education Programs

Unit 2: Introducing TIBCO BusinessWorks

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

TIBCO Software Inc.

Page 53

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

Page 54

TIBCO Education Programs

Unit 3: Process Design and Testing

Unit 3

Process Design and Testing

This unit introduces you to the TIBCO BusinessWorksTM process design environment featuring TIBCO DesignerTM and BusinessWorks resource palettes. Following this unit are some exercises in which you design and test a series of BW processes.

Topics
Objectives, TIBCO

page 56

Designer, page 57 page 58

Projects, Process Activity XPath

Design, page 59 Configuration, page 61

Formula Builder, page 62 Query Designer, page 63 Resources, page 64 Testing, page 65 Templates, page 67 Global Variables, page 68

TIBCO Project

Process Project Project Lab

Introduction, page 69

TIBCO Software Inc.

Page 55

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Objectives
Knowledge
Describe development and testing using TIBCO Designer Define components in BW process definitions Explain resources, management and administration capabilities

TIBCO Software Inc.

Objectives
After completing this unit you will know:
How

Page 56

S S

Skills
Create and access projects Design and test BW processes
Configure activities and resources

Manage BW projects Experience version control options for BW projects

TIBCO Education Programs

to navigate the BusinessWorks project development environment (TIBCO Designer) a BusinessWorks process definition comprises to configure project activities and services to use shared project resources

What How How

How to incorporate external resources into a BusinessWorks project How

to test at design-time your BusinessWorks projects

Additionally, you will be prepared to proceed with Lab A in which you develop a simple BusinessWorks project.

TIBCO Education Programs

Unit 3: Process Design and Testing

TIBCO Designer
Intuitive, palette-based GUI with drag-and-drop functionality Position in project tree changes palettes displayed
S S

3 1
Project Directory Process Design

4 2
Project Resources Activity / Resource Configuration

TIBCO Software Inc.

TIBCO Education Programs

TIBCO Designer
TIBCO Designer is an easy-to-use GUI for configuring, designing and testing BusinessWorks projects. As a component of BW, TIBCO Designer provides a rich, integrated development environment including project directory (upper left), project resources (lower left), process design (upper right), and activity configuration (lower right). Palettes provide easy access to process activities. You simply drag-and-drop resources from the palette to the design panel to add them to your project. Which palette is displayed depends on the object selected in the project tree. BW palettes contain two types of objects:
Activities

which are used to define actions within a process

definition
Resources

which define things such as configuration details which are used (by reference) in activities

TIBCO Software Inc.

Page 57

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Projects

S Designer builds integration projects S Project contents


Folders for organization Processes Resources External connections

S Project storage
Folders and files on disk Connections for version-control systems

TIBCO Software Inc.

TIBCO Education Programs

Projects
BusinessWorks 5.x projects are file based and map to the system file structure of the operating system. The multi-file approach supports and enables a team development environment where multiple developers can work on a single project. You can add files to a project simply by copying them into the system file structure and then choosing the Designer menu item Project > Refresh. The BW 5 multi-file approach also supports project versioning. You can check-in / out components using a Revision Control System (RCS) such as Visual Source-Safe, Perforce, or TIBCO Canon. Note that the use of an RCS is optional.

Page 58

TIBCO Education Programs

Unit 3: Process Design and Testing

Process Design

S Process: Activities connected by transitions


Activities: access data Transitions: execution path

S A process:
Contains a start and end Can call sub-processes

TIBCO Software Inc.

TIBCO Education Programs

Process Design
TIBCO Designer features a graphical, intuitive design space for developing processes. Processes contain activities linked together by transitions. You can have multiple transitions from one activity to another, and transitions can be conditional. You can also have multiple processes and sub-processes. BW process definitions have a beginning and an end. A BusinessWorks process definition is a Directed Acylic Graph (DAG) containing a single start node (starting activity) with any number of directional (Directed) transitions to other nodes (activities). There may not be any transitions to an activity which has been possibly previously visited (Acyclic). In BusinessWorks all transitions must lead to the single required 'End' activity or to optional 'Generate Error' activities.

TIBCO Software Inc.

Page 59

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Any single process activity (source) may have multiple transitions out and each transition must be one of four allowed types:
Success

Source activity of transition did not have an exception. You may create as many of this as required. If there is no exception in the source activity then every 'Success' transition will be taken. The developer has no control over the order of the transitions. The process definition executes using a single thread. Source activity of transition did have an exception (only one allowed per source). with Condition Source activity of transition did not have an exception and a stated boolean XPath expression evaluates to true. If there is no exception in the source activity then every 'Success with condition' transition which evaluates to true will be taken. Any 'Success' transitions will also be taken. The developer has no control over the order of the transitions.

Error

Success

Success

with No Matching Conditions Source activity of transition did not have an exception and there were no 'Success with condition' transitions which were true. (only one allowed). Any 'Success' transitions will also be taken. The developer has no control over the order of the transitions.

Page 60

TIBCO Education Programs

Unit 3: Process Design and Testing

Activity Configuration

S Data input and output mapping

Wizards to help you configure activities

TIBCO Software Inc.

TIBCO Education Programs

Activity Configuration
Configuration is done on a per activity basis using the lower right (configuration) panel of Designer. For most process activities there are at least three configuration tabs:
Configuration Input

Which involves defining (naming) the activity and specifying certain settings. 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. Certain activities may also have Headers, Input and Output Schema tabs that may require further configuration. In addition, BusinessWorks provides GUI tools (see next two slides) to help configure activities.

TIBCO Software Inc.

Page 61

M-BWE: Essentials of TIBCO BusinessWorks 5.3

XPath Formula Builder


Used in activities and transitions
Drag and drop expression building Automatic syntax verification as you build

TIBCO Software Inc.

XPath Formula Builder


The XPath Formula Builder is a key feature of the BusinessWorks development environment. This wizard allows you to conveniently map input and output data for the selected activity. Using industry-standard programming functions you can graphically manipulate data for the selected activity. XPath stands for XML Path Language. It is a language that describes how to locate and process items in XML documents by using an addressing syntax based on a path through the documents logical structure or hierarchy. XPath expressions, which you create using the XPath Formula Builder, allows you to graphically formulate how to created new data by a combination of Process Data (data created in this process instance by previously activated activities), XPath functions (an extensible set of methods), and predefined constants.

Page 62

p ro dD n ga ra D

TIBCO Education Programs

TIBCO Education Programs

Unit 3: Process Design and Testing

TIBCO Query Designer


SQL auto-generated Syntax check and test modes
Test as you build

TIBCO Software Inc.

TIBCO Query Designer


The TIBCO Query Designer is another ease-of-use BusinessWorks feature. This wizard allows you to graphically and dynamically build SQL queries for your processes. This utility also provides syntax verification and a testing mechanism to validate your query before implementing it into your process.

TIBCO Software Inc.

S S

TIBCO Education Programs

Page 63

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Project Resources
Shared resources are reusable across the project Can be:
XML, XSD, WSDL files Connections to external systems
JDBC, FTP, TCP etc
JMS SMTP Files

TIBCO Software Inc.

Project Resources
For any project you are developing using BusinessWorks, you can use shared resources to accept data from various external sources, including:
JMS

Page 64

S S

FTP

TIBCO BusinessWorks
SOAP HTTP / HTTPS

RV

JDBC

TIBCO Education Programs

and RV / SMTP / FTP

HTTP(S) JDBC SOAP Files

You can also use adapter resources to integrate with external sources via a TIBCO Adapter and define schema objects for accepting external data.

TIBCO Education Programs

Unit 3: Process Design and Testing

Process Testing
Built-in tester/debugger
Test multiple processes Examine process data
Input and Output tabs

TIBCO Software Inc.

Process Testing
Process testing can be done at design-time using the Designer GUI. If an activity within your process definition fails youll be able to easily identify and debug it using the testing utility. During testing standard errors are made available via an error dialog and console window. In addition you can enhance error output by mapping error schema to an activity input and view such errors via Designer error tabs. Once tested you can easily validate the project for deployment and then quickly create the deployment package using Designer. We will discuss these topics in the next unit. The Designer debugger is interactive and provides many advanced features that make testing your BW project easy. You will use each of these features extensively during the implementation labs that follow, including:

TIBCO Software Inc.

Examine errors
Error msg, Show Console, Error tabs

TIBCO Education Programs

Page 65

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Breakpoints can be set before and after activities to stop the testing

midstream so you can examine runtime data and operations


Multiple Input

processes can be loaded for testing so you can debug several parts or an entire project data can be supplied to a process so that you can test it independently of the process on which it is dependent for data

Show Console displays the Java console so you can view errors and

debug accordingly; -d will enhance the amount of messages shown in the Console window

Page 66

TIBCO Education Programs

Unit 3: Process Design and Testing

Project Templates

S Used to:
Create common look and feel for development Enforce adherence to naming standards Provide starting point for development

TIBCO Software Inc.

TIBCO Education Programs

Project Templates
A good practice for managing the development environment is to segregate the project using folders by distinguishing among process definitions, adapter services, shared connections, shared resources and global variables. Segregating your project along these lines will enable you to define "ownership" among developers working on the project so that multiple developers can work on the same project. You can use BWs import/export facility to merge the project into one final project when the development work is completed and you are ready to deploy project components.

TIBCO Software Inc.

Page 67

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Project Global Variables


Global variables specify data that changes at deployment
Examples:
Environment specific values Database connections Trace and debug settings

TIBCO Software Inc.

Project Global Variables


BusinessWorks uses global variables for environment settings, so to modify subject names for a specific domain environment you only have to change the appropriate global variable. Once again, BW provides an existing subject naming scheme that is parameterized. These parameters can be easily modified to match your projects domain environment. With BW, RV message subject names and sessions are auto-generated, and the domain name is part of the auto-generated subject name. If there are site-wide naming requirements, you may have to modify the default subject names for each domain environment you are establishing. Note that Global Variables can be grouped, useful for RCS locking with multi developer projects.

Page 68

S S

Eases migration between environments

Values changed by administrator during deployment

TIBCO Education Programs

TIBCO Education Programs

Unit 3: Process Design and Testing

Lab Introduction

S Design and test a BW process


Database Query

S Design and test an HTTP process


Calls the subprocess

S Version and manage a BW project

TIBCO Software Inc.

TIBCO Education Programs

Lab Introduction
In the exercise that follows you develop and test a BW process and learn how to navigate the Designer interface.

TIBCO Software Inc.

Page 69

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

Page 70

TIBCO Education Programs

Lab A: Implement Perform Credit Check

Lab A

Implement Perform Credit Check

Overview
In this lab you learn the fundamentals of developing TIBCO BusinessWorks process definitions in the TIBCO Designer environment.

Objectives
Create Design Test

New Project from Template, page 72 Perform Credit Check, page 75

Perform Credit Check, page 81

Prerequisites
EDUSVR TIBCO

instructor server and userXX student client platform Agent (TRA) 5.3.2 5.3.0 (userXX domain created) 5.3.0

Software pre-installed and configured on your userXX machine:

Runtime

Administrator EMS BWP

BusinessWorks Connectivity Oracle

4.3.0 (added to the userXX domain) to the instructor server for: Home Page at http://edusvr:8080/bw/index.html Database and Mercury Email servers

Directions
Complete the exercises that follow.

TIBCO Software Inc.

Page 71

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Lab A - Exercise 1: Create New Project from Template Overview


In this exercise you create a new TIBCO BusinessWorks (BW) project using a pre-defined template that includes some top-level folders and a few global variables.

Steps
1. Start the relevant TIBCO services and set them to "automatic."
There

are three TIBCO services to be concerned with in this course: Administrator 5.3 (userXX) EMS Server (PID: xxx) Hawk Agent (userXX)

TIBCO TIBCO TIBCO For

help in doing this, refer to the appendix

2.

Create a new BusinessWorks project named bwpXX using the provided Designer template. Analysis: Templates facilitate project organization and shared development. You can create a project-wide template containing folders, metadata, shared libraries and global variables. Templates allow you to standardize and reuse resources.
Start

> Programs > TIBCO > TIBCO Designer 5.3 > Designer 5.3 New project from template to and open file C:\BWEDU\Template\bwpXX.designertemplate Directory: C:\BWEDU\bwpXX (replace XX with your two digit ID, e.g., bwp09) Designer initially opens you are prompted to save the project: OK and the BW development environment for your bwpXX project opens

Select When Click

Browse

Project

Note: When Designer initially opens it presents Tips which can be disabled.

Page 72

TIBCO Education Programs

Lab A: Implement Perform Credit Check

3.

Customize the TIBCO Designer palette view and your own preferences. Analysis: Designers default layout view is three panels with the project tree at the left. You can change this (Edit > Preferences > View) but all labs assume the default layout.
In

the Palettes tab the default view shows all resources in the General Resources palette

To

categorize resources into individual palettes, from the tool bar click the "Switch Palette Modes" icon (this mode is assumed going forward)

4.

Explore the project template and create a subfolder named CreditCheck.


In

the project tree, select the root-level bwpXX project folder (uppermost in the tree) that the template contains several pre-defined subfolders for organizing your project:

Notice

AdapterServices AESchemas Deployments ProcessDefinitions SharedConnections SharedResources

Analysis: The AESchemas folder contains adapter metadata and exists by default in any TIBCO Designer-based project. The other folders have been created for you and templatized to organize and facilitate development.
Select In In

the existing project folder bwpXX/ProcessDefinitions

the design panel to the right, right-click and select New Folder the configuration quadrant (lower right): this new folder CreditCheck Apply

Name Click From

the Designer tool bar, select the Save icon to save your project

WARNING: Apply your settings each time you configure a folder, resource or process activity. Also, save your project frequently. An asterisk (*) next to the project name in the title bar indicates the project contains data that has not been saved.

TIBCO Software Inc.

Page 73

M-BWE: Essentials of TIBCO BusinessWorks 5.3

5.

Explore and configure project global variables.


Select Click At

the Global Variables tab

the pencil icon at the top of the variables listing to open the Global Variables editor the bwp group, revealing four global variables created for you example: USER09 (please use all capital letters for this entry) example: user09 (these entries are lower case)

the bottom of the listed variables youll see a variable group named bwp the host.Name variable, click in the value field and change XX to match your ID the user.Name and user.Password variables change XX to match your ID OK to close the editor the Designer tool bar, click the Save icon to save your project (or Project > Save)

Expand For For For For Click From

Analysis: Global variables are available project-wide and facilitate shared development. A global variables value is substituted at runtime for all occurrences of the global variable name.

6.

Test the pre-defined resource /SharedConnections/OrderDB to verify connectivity with the instructor database.
Select Notice

the OrderDB resource

that this resource is pre-configured with the following parameters and global variables:
Name: JDBC User

OrderDB Type: JDBC Driver: tibcosoftwareinc.jdbc.oracle.OracleDriver URL: jdbc:tibcosoftwareinc:oracle://%%bwp/jdbc.URL%% %%bwp/user.Password%%

Connection Database

Name: %%bwp/user.Name%%

Password: Click

Test Connection to verify connectivity with the instructor server

Page 74

TIBCO Education Programs

Lab A: Implement Perform Credit Check

Lab A - Exercise 2: Design Perform Credit Check Overview


PerformCreditCheck takes an account number and an amount as parameters, queries the OrderDB for current account information and computes the credit status. The returned Status is either "Accepted," "Rejected" or "Failed."

Steps
1. In folder /ProcessDefinitions/CreditCheck define the PerformCreditCheck process.
Drag-and-drop Name Click

a Process Definition from the "Process" palette to the CreditCheck folder

this process PerformCreditCheck

the PerformCreditCheck process definition to see the Start and End activities that exist by default with any process definition

Analysis: The following naming conventions are followed in these labs:


Processes, Process

Services, Folders and Resources do not have spaces in their names and use initial capitals activities do use spaces between names and initial capitals, the exception being where default activity names are used that do not employ spaces, such as RetrieveResources

TIBCO Software Inc.

Page 75

M-BWE: Essentials of TIBCO BusinessWorks 5.3

2.

In the PerformCreditCheck process, add and transition the following activities: Start > JDBC Query > Mapper > End. Analysis: To familiarize you with the Designer interface and BusinessWorks resources, first create the project shell activities and their transitions, then configure them in order of processing, from left to right.
From From On

the JDBC palette, add a JDBC Query activity the General Activities palette, add a Mapper activity to JDBC Query Query to Map Data Query to End, which is taken on Error if the database query fails Data to End

the tool bar, select the "Create transition" icon and connect the activities as follows:

Start Map

JDBC JDBC

To do this: To change the transition condition from success (default) to error:


Select In Click

(click) the transition line between the two activities

the Configuration tab select the condition type Error Apply

3.

Verify the design of the PerformCreditCheck process definition up to this point.

Tip: To change the default line mode, in Designer select View > Default Line Mode. The example shown uses Multi-Bend.

Page 76

TIBCO Education Programs

Lab A: Implement Perform Credit Check

4.

Initiate PerformCreditCheck using the CreditCheckSchema provided to you as part of the bwpXX template.
In

the Output Editor of the Start activity: the "Add Child" icon, creating the root element the "root" element and configure it:

Click

Select

Content: XML Element Reference Schema: Browse to and select /SharedResources/CreditCheckSchema with Element CreditCheckRequest In the Preview panel to the right, select the Tree tab and view the data elements required for a credit check request: Amount and AccountID

Click OK to close the "Select a Resource..." interface When you are done the configuration should look like this:

Analysis: Inputs to a process can be defined in its Start activity. Output from a process can be defined in its End activity. It is good practice to use schema for data input and output, since this is required to expose a process as a service.

TIBCO Software Inc.

Page 77

M-BWE: Essentials of TIBCO BusinessWorks 5.3

5.

Query the CUSTOMER_ACCOUNT table by configuring the JDBC Query activity to retrieve the account information for a specified AccountID.
JDBC JDBC Type

Query Name: Get Account Info Connection: Browse to and select /SharedConnections/OrderDB

Note: After applying a resource name change, click OK to check for any references. in or build using the TIBCO Query Designer this query (see steps below):

SELECT CUSTOMER_ACCOUNT.AMOUNT_OWED, CUSTOMER_ACCOUNT.AVAILABLE_CREDIT FROM CUSTOMER_ACCOUNT WHERE ((CUSTOMER_ACCOUNT.ACCOUNT_ID =?)) To do this: To build this SQL using the TIBCO Query Designer:
Click

"Build using wizard" (pencil icon) your userXX account, then Tables the CUSTOMER_ACCOUNT table to the panel at right each column to include it in the query "Show"

Expand

Drag-and-drop Double-click For Uncheck In In

the ACCOUNT_ID column: the Where cell type =? and hit <Enter> on your keyboard that your query matches the SQL shown above

the SQL tab check "Do not use schema names in SQL statement" OK to close the Query Designer

Verify Click

Note: In this instance, if you try to use the SQL tester or syntax checker neither will work because of the expected input parameter defined using =?.
In the Configuration tab, click + in the "Prepared Parameters" section to add a new parameter

named Prepared_Param_1 that is of data type VARCHAR


In

the Input tab click Fetch map the data input for this activity: the available Process Data on the left drag $Start\CreditCheckRequest\AccountID jdbcQueryActivityInput\Prepared_Param_1 Activity Input on the right

To

From To In

the Output tab, expand "resultSet/Record" and verify that the AMOUNT_OWED and AVAILABLE_CREDIT elements are returned

Page 78

TIBCO Education Programs

Lab A: Implement Perform Credit Check

6.

Compute the customers credit Status by configuring the Mapper activity. Analysis: To compute the credit Status build an XPath expression: If (record returned from the database AND Amount + outstanding balance <= available credit) then credit Status is "Accepted," else Status is "Rejected."
Mapper In

Name: Check Credit Element of Type Required

the Input Editor, add required string Status (replace "root" as follows): Status

Content: Name: Type: For

Cardinality:

String

the Input use a "Surround with Choice" statement to determine the credit Status

To do this: To create this choose condition, use the XPath Formula Builder:
Select

the text string "Status" (NOT the text field next to "Status") and select Statement > Surround with Choice of when conditions: 1

Right-click Number Include Click

otherwise: checked

OK

Now that you have the "Choose" condition, use the pencil icon to open the XPath Expression

Editor and build the following boolean expression: Tip: You can copy this expression from C:\BWEDU\XPath\Expressions.txt. If you have errors, use the Mapper Check and Repair feature. A dialog displays the potential problems in the mapping. Select the Fix checkbox to repair any errors.
When:

(count($Get-Account-Info/resultSet/Record) > 0) and (($Start/CreditCheckRequest/Amount + $Get-Account-Info/resultSet/Record[1]/AMOUNT_OWED) <= $Get-Account-Info/resultSet/Record[1]/AVAILABLE_CREDIT) Status: "Accepted"

Otherwise:

Status: "Rejected"
In

the Output tab for this activity, verify that Status is returned

TIBCO Software Inc.

Page 79

M-BWE: Essentials of TIBCO BusinessWorks 5.3

7.

Complete the process definition by configuring the End activity to return the result of the credit check (Status or Failed). Analysis: The End activity can be configured to return the result(s) from a completed process definition. In this case the result is either "Accepted," "Rejected" or "Failed" (if the database query fails).
In

the Input Editor tab for the End activity: the "Add Child" icon, creating root the "root" element and configure it:

Click

Select

Content: XML Element Reference Schema: Browse to and select /SharedResources/CreditCheckSchema Element: CreditCheckResult
For

the Input to Status, create a "Surround with Choice" statement with 1 condition: $_error (in the Mapping Wizard select "Set formula" then Finish) Status: "Failed"

When:

Otherwise:

Status: $Check-Credit/Status

8.

Verify your completed PerformCreditCheck design.

Tip: Use the Label activity (in the General Activities palette) to comment a process.

Page 80

TIBCO Education Programs

Lab A: Implement Perform Credit Check

Lab A - Exercise 3: Test Perform Credit Check Overview


In this exercise you explore the Designer test environment and test your PerformCreditCheck process definition.

Steps
1. Configure Designer test environment preferences. Analysis: You can configure the Designer Tester to suit your preferences and view testing as it transitions through a process.
From Set

the Designer menu select View > Test Options > Moving Ball Options "Show Ball"

Select

the testing speed to 85%

2.

Validate the project to check for errors.


From If

the Designer menu select Project > Validate Project for Deployment

configured correctly, you should not have any errors (other than those listed under "Unassociated Errors & Warnings," which can be ignored) you do have project-associated errors, double clicking the error will take you to the misconfigured resource so you can fix it and repair until all relevant errors are cleared the project validator when done

If

Revalidate Close

TIBCO Software Inc.

Page 81

M-BWE: Essentials of TIBCO BusinessWorks 5.3

3.

Test PerformCreditCheck and verify it returns the correct credit check result. Analysis: Provide the required inputs to check for credit status using the specified AccountIDs. Verify results by checking the End activity data.
To In

test PerformCreditCheck, in the Tester tab click the green arrow icon Load Selected for an "Accepted" credit check using:

the Select Processes to Load dialog verify that PerformCreditCheck is checked will be prompted to supply the expected input data: Amount: 3000.00 AccountID: 1234123412341234 Click OK and the process runs; you should be able to see it complete to end Check the Input Data tab of the End activity for the "Accepted" result

Click You

Test

Test

for a "Rejected" credit check:

Right-click the Start activity and choose "Add Input Data" (or press <F12> key) Enter the following and click OK:
Amount:

4000.00 1111111111111111

AccountID:

In the Tester tab select ProcessDefinitions/CreditCheck/PerformCreditCheck Click the green process icon ("Create a job") to resume testing with the new data Once again you should see the process complete to end Check the Input Data tab of the End activity for the "Rejected" result
Test

for a "Failed" credit check:

In the OrderDB resource, type in an incorrect password, such as failed Create another PerformCreditCheck job with the appropriate test data This time it should take the Error transition from Get Account Info to End To verify, check the Input Data tab of the End activity for the "Failed" result When done, reset the original password using the global variable and retest Tip: You can set breakpoints within a process definition so that testing is stopped mid-stream before or after any activity in the process. This is most useful when testing large process definitions.

Page 82

TIBCO Education Programs

Lab A: Implement Perform Credit Check

4.

Repeat testing using different AccountIDs and Amounts chosen from those available in the CUSTOMER_ACCOUNT table shown below.

For

example, you could retest the credit check using: 3333333333333333 99999.00 for "Accepted" and/or 101000.00 for "Rejected"

AccountID: Amount: Use This

an AccountID that is not one of the four in the CUSTOMER_ACCOUNT table:

result should be "Rejected" since the initial part of the expression checks if the account is valid: (count($Get-Account-Info/resultSet/Record) > 0)

5.

When you are done testing, stop Designer test mode.

WARNING: You should not make changes to your project while it is in test mode. Stop testing before making any edits.

TIBCO Software Inc.

Page 83

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

Page 84

TIBCO Education Programs

Unit 4: Generate Services

Unit 4

Generate Services

This unit explores BusinessWorks support for SOAP-based Web Services. This unit prepares you for the lab implementation that follows in which you design the Credit Check Web Service.

Topics
Objectives, What

page 86

Are Web Services?, page 87 Web Services in BusinessWorks, page 88 Message Format, page 89 a Service, page 92

SOAP SOAP

Generating SOAP Lab

Web Service Client, page 93

Implementation, page 94

TIBCO Software Inc.

Page 85

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Objectives

S Knowledge
Describe BW support for Web Services Define SOAP message characteristics

S Skills
Build a Service Build a Service client Test Service using Client

TIBCO Software Inc.

TIBCO Education Programs

Objectives
The main objective of this unit is to prepare you to implement the various process definitions comprising Credit Check Web Service. To that end in this unit you will:
Explore Learn Learn

the Web Services capabilities of BusinessWorks

what standards are supported how to organize your project development environment

Examine Explore

and discuss the process definitions comprising Credit Check Web Service advanced features of the interactive debugger

After completing this unit you will proceed with the first phase of the implementation as specified in the lab that follows.

Page 86

TIBCO Education Programs

Unit 4: Generate Services

What Are Web Services?


Service-orientated computing using open IP standards
Network interface to application functionality

TIBCO Software Inc.

What Are Web Services?


A Web Service enables an application to be accessed over a network using Internet protocols. Web Services is a generic term. The only requirement placed on a Web Service is that it must be capable of sending and receiving messages using some combination of standard Internet protocols. Most Web Services use SOAP as the data exchange format and HTTP as the transport mechanism. BusinessWorks also supports JMS as the transport mechanism.

TIBCO Software Inc.

S S

Web Service Network Client Application Code

Most Web Services use SOAP format

TIBCO Education Programs

Page 87

M-BWE: Essentials of TIBCO BusinessWorks 5.3

SOAP Web Services in BusinessWorks


Web Services support in BusinessWorks
TCP/IP connectivity Message transport (HTTP, JMS) Common data representation (XML) Common communication protocol (SOAP) Service discovery (WSDL, UDDI)

TIBCO Software Inc.

SOAP Web Services in BusinessWorks


TIBCO BusinessWorks supports SOAP-based Web Services using Internet and technology standards such as HTTP, JMS, XML, SOAP and WSDL. A SOAP Server is the Web Service provider. A SOAP Client requests a Web Service. BusinessWorks can act as both a Web Service client, making SOAP requests, and as a SOAP Server handling requests and communicating with back-end applications. This is for use by a client in automating the clients creation of an XML file for requesting those services. In order to find the WSDL file, the web service can advertise itself in a UDDI (Universal Description, Discovery and Integration) service. UDDI is a potential way for advertising and discovering Web Services.

Page 88

S S

BusinessWorks can be both a SOAP server and client

TIBCO Education Programs

TIBCO Education Programs

Unit 4: Generate Services

SOAP Message Format


XML Document SOAP Envelope SOAP Header (optional) Header Block Header Block

Entire message XML document


Header describes how to process the message Body contains the data payload

SOAP Body (required)

Message Body

TIBCO Software Inc.

SOAP Message Format


The SOAP message format is a specification that defines a simple XML document identifying the information to be transferred, and a set of rules for translating application and platform-specific data types into XML representations. It relies heavily on XML standards like XML Schema and XML Namespaces for its definition and function. SOAPs design makes it suitable for a wide variety of application messaging and integration patterns. A SOAP envelope is an XML document. Contained in this document are optional Header elements specifying how the message should be processed, e.g. routing and delivery settings, authentication, authorization, transaction contexts, etc. The Body element is required and contains the actual message to be delivered and processed.

TIBCO Software Inc.

TIBCO Education Programs

Page 89

M-BWE: Essentials of TIBCO BusinessWorks 5.3

SOAP Web Service Operations


Platform and language independent communication Platform and language dependent communication

Request WSDL

Reply with WSDL

SOAP Client 1
Request operations

Web Service (SOAP Server)

Request operations

Application Code

Operation results

Operation results

Obtain the WSDL (A and B) at service initiation or if the interface changes

TIBCO Software Inc.

TIBCO Education Programs

SOAP Web Service Operations


In more technical terms, a Web Service is an interface positioned between the application code and the desired user of that code (human or machine). A Web Service acts as an abstraction layer, isolating the platform- and language-specific details from the user. This means that any application that supports the Web Service can access the back-end application functionality. Service availability is specified by a WSDL file. A WSDL (Web Services Description Language) file is an XML document that specifies how a client is to interface with the Web Service provider. The most common form of Web Service is to call procedures running on a server, in which case the request message encodes Call this subroutine with these arguments and the reply message encodes Here are the results of the subroutine call.

Page 90

TIBCO Education Programs

Unit 4: Generate Services

The sequence of events for this type of scenario would be:


Application SOAP

code contains the business logic implementation

Server receives incoming requests (via SOAP over HTTP or Proxy decodes requests into calls to the application code

JMS)
Service Service

Proxy may then encode a response for Service listener to reply with

Because of the abstraction provided by the standards-based interface, it does not matter whether the application services are written in Java and the browser is written in C++, or the application services are deployed on a Unix box while the browser is deployed on Windows. Web Services enable cross-platform interoperability in a way that makes the application platform irrelevant.

TIBCO Software Inc.

Page 91

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Generating a Service
Convert existing process to service
The process is the operation

TIBCO Software Inc.

Generating a Service
BW provides WSDL resources for defining Web Service interfaces and SOAP activities for building Web Service servers and clients. Abstract WSDLs are constructed using the WSDL resource and the message, operation and port type parameters that are required for the interface. Abstract WSDLs are derived from an XSD schema that you create using BW or that you import into your project. The concrete WSDL, the one used by clients to call the Web Service, is derived from the application of the abstract WSDL to a SOAP activity and the specification of the HTTP or JMS transport for that activity. In other words, the concrete WSDL = the abstract WSLD plus the transport (EMS/JMS or HTTP).

Page 92

S S

Options:
One service per process One service for multiple processes Service from WSDL

TIBCO Education Programs

TIBCO Education Programs

Unit 4: Generate Services

SOAP Web Service Client

S To invoke service:
Access WSDL

Request WSDL

Reply with WSDL

SOAP Client 1
Request operations

Web Service (SOAP Server)

Request operations

Application Code 3

Operation results

Operation results

S Test Web Service by running Client


TIBCO Software Inc. TIBCO Education Programs

SOAP Web Service Client


Perform Credit Check is the backend application providing the desired functionality, in this case a credit check. This process takes two inputs, the customer account number and the purchase order price, queries the database for the account information and computes the credit status using a Mapper activity. The SOAP Server is Credit Check Service which wraps the backend application, Perform Credit Check, and exposes it as a Web Service. Implementing this process involves generating the WSDL file based on an XSD schema and building the process using SOAP resources. Invoke Credit Check is a client activity to call the credit check web service. In the lab that follows, after you have built the SOAP Server you a simple client to test the Web Service. In a later lab, when you implement the Process Order process, you will build the functioning client invocation for the Order Processing integration project.

TIBCO Software Inc.

Page 93

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Lab Implementation
Design SOAP Server processes Design SOAP client process Test Credit Check Web Service using SOAP Client
S
Page 94

TIBCO Software Inc.

Lab Implementation
Complete the lab exercises that follow to implement the Credit Check Web Service component.

S S

TIBCO Education Programs

TIBCO Education Programs

Unit 4: Generate Services

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

TIBCO Software Inc.

Page 95

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

Page 96

TIBCO Education Programs

Lab B: Implement Credit Check Service

Lab B

Implement Credit Check Service

Overview
In this lab you generate a Web Service from an existing business process.

Objectives
Generate Test

Credit Check Service, page 98

Credit Check Service, page 100

Prerequisites
EDUSVR TIBCO

instructor server and userXX student client platform Agent (TRA) 5.3.2 5.3.0 (userXX domain created) 5.3.0

Software pre-installed and configured on your userXX machine:

Runtime

Administrator EMS BWP

BusinessWorks Connectivity Oracle

4.3.0 (added to the userXX domain) to the instructor server for: Home Page at http://edusvr:8080/bw/index.html Database and Mercury Email servers

Directions
Complete the exercises that follow.

TIBCO Software Inc.

Page 97

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Lab B - Exercise 1: Generate Credit Check Service


In this exercise you expose PerformCreditCheck as a Web Service and available for clients who would want to call it.

Steps
1. In your bwpXX project, configure new resource /SharedConnections/HTTP Connection. Analysis: This connection provides the transport for the Web Service. BW supports HTTP and JMS for transporting SOAP messages.
Name: Host: Port:

SOAPServerHTTP

%%bwp/host.Name%% (delete the default value localhost and replace with this global variable, see "To do this" below) 7575

To do this: To use a global variable instead of hard-coding a value:


Select

the Global Variables tab the bwp global variable group the host.Name global variable to the Host field

Expand

Drag-and-drop

Note: If the field has a globe icon marker to its right, you must first select this icon, then drag-and-drop the desired global variable.

Page 98

TIBCO Education Programs

Lab B: Implement Credit Check Service

2.

Expose PerformCreditCheck as a Web Service.


In

the project tree select process PerformCreditCheck and select Tools or Multi-User > Generate Web Service > From Process the service as shown and click Generate:

Right-click Configure

Analysis: Once generated, the service agent (intfPerformCreditCheck-service), SOAP process (wsPerformCreditCheck) and abstract WSDL (intfPerformCreditCheck) are created in the /CreditCheck folder.

3.

Save the concrete WSDL file for use by clients to call the service.
Select In

the intfPerformCreditCheck-service icon in the project tree

the WSDL Source tab, scroll to the bottom of the WSDL and notice it contains the endpoint binding and transport URL, indicating that this is the concrete WSDL WSDL Source tab (scroll up to view), change the Target Namespace to the following: Apply and then click Save WSDL

In the Click Save In

http://www.tibco.com/bwp/services/creditcheckconcrete this WSDL to C:\BWEDU\bwpXX\SharedResources with the name CreditCheckService_ConcreteWSDL (case sensitive)

Designer, save your project then select project folder /SharedResources and from the menu select Resources > Refresh; the saved WSDL should appear

TIBCO Software Inc.

Page 99

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Lab B - Exercise 2: Test Credit Check Service


TestCreditCheck is a simple client to the CreditCheckService used to test this service. As a client to the service, TestCreditCheck uses the concrete WSDL file to call the service.

Steps
1. Create new process named TestCreditCheck that includes a SOAP client activity.
Create In

new process /ProcessDefinitions/CreditCheck/TestCreditCheck from Start to SOAP Request Reply to End

this process add a SOAP Request Reply resource

Transition

2.

Initiate TestCreditCheck with the CreditCheckRequest element type.


Configure

the Start activitys Output Editor with the CreditCheckSchema: XML Element Reference CreditCheckSchema CreditCheckRequest

Content: Schema: Element:

Page 100

TIBCO Education Programs

Lab B: Implement Credit Check Service

3.

Call the CreditCheckService process by configuring the SOAP Request Reply activity.
Name: For In In

Invoke CreditCheckService

the Service, browse to and select /SharedResources/CreditCheckService_ConcreteWSDL the Input tab map $Start/CreditCheckRequest to inputMessage/CreditCheckRequest and select "Make a copy of CreditCheckRequest" in the Mapping Wizard and click Finish the Output tab, verify that the outputMessage/CreditCheckResult/Status is returned

4.

Return the result of the credit check by configuring the End activity.
Input

Editor: XML Element Reference /SharedResources/CreditCheckSchema CreditCheckResult

Content: Schema: Element: For Status:

the Input to CreditCheckResult, map: $Invoke-CreditCheckService/outputMessage/ CreditCheckResult/Status

5.

Verify the design of your completed TestCreditCheck.

TIBCO Software Inc.

Page 101

M-BWE: Essentials of TIBCO BusinessWorks 5.3

6.

Test CreditCheckService and debug any errors.


Validate In In

the project and debug any errors (Project > Validate Project For Deployment)

the project tree select process CreditCheck/TestCreditCheck so that it is in view

the Tester tab click the green arrow, check the following components and click Load Selected:
ProcessDefinitions/CreditCheck/intfPerformCreditCheck-service ProcessDefinitions/CreditCheck/TestCreditCheck

Highlight the TestCreditCheck process and click the green circle icon (in other words, create

a job for TestCreditCheck)


In

the "Input Data" window, test for an "Accepted" credit check using: 3000 1234123412341234

Amount: In Test

AccountID:

the End activity you should see the "Accepted" status 4000 1111111111111111

for a "Rejected" credit check using:

Amount: In After

AccountID:

the End activity you should see the "Rejected" status testing is complete, stop the tester (i.e., click the red button)

Page 102

TIBCO Education Programs

Lab B: Implement Credit Check Service

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

TIBCO Software Inc.

Page 103

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

Page 104

TIBCO Education Programs

Unit 5: Deployment and Management

Unit 5

Deployment and Management

This unit introduces you to the BusinessWorks deployment environment with an emphasis on key features and capabilities.

Topics
Objectives,

page 106 Steps, page 107

Deployment Validating Building Process,

Project for Deployment, page 108

Enterprise Archives, page 109 Adapter and Shared Archives, page 110 Deployment in Administrator, page 111 Deployment Details, page 112

Application Configuring Deploying,

page 113 and Versioning, page 114

Redeploying Managing Domain User

and Monitoring Deployments, page 115

Communications, page 116

Management, page 117 Authorization and Access, page 118 Resource Management, page 119 Control Using TIBCO XML Canon, page 121

Domain Domain Version Why Lab

Use XML Canon with BW?, page 122 Introduction, page 123

TIBCO Software Inc.

Page 105

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Objectives

S Knowledge
Explain BW deployment techniques Define runtime components and environment Describe application deployment and management

S Skills
Validate a project and build enterprise archive Configure application deployment Deploy, manage and monitor process application Manage domain resources and users

TIBCO Software Inc.

TIBCO Education Programs

Objectives
After completing this unit you will know:
Key

features and requirements of the BusinessWorks deployment environment deployment means in context of BusinessWorks BusinessWorks components can be deployed to configure a project component for deployment to deploy a project component

What What How How What How

monitoring information is provided by default and how to customize monitoring to manage domain users and resources using the Administrator interface

Page 106

TIBCO Education Programs

Unit 5: Deployment and Management

Deployment Steps
Designer Design
Project VCS

Administrator Deploy EAR Manage

Debug

Designer
Validate project Configure deployment and build archive

TIBCO Software Inc.

Deployment Steps
Deployment is a two step process: first you design and test your project using Designer, and then, still using Designer, you create the project archive deployment package. The deployment package is then uploaded to the BW runtime environment using Administrator, and you use this tool to configure the application(s) for deployment and then deploy. TIBCO BusinessWorks process engines and TIBCO Adapter Agents are the components you can deploy.

TIBCO Software Inc.

S S

Administrator
Upload archive ,configure application Deploy and run Manage and monitor
TIBCO Education Programs

Page 107

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Validating Project for Deployment


Designer utility for validating project deployment
S
Page 108

Provides error
Details Go to resource Sorting and saving Revalidating

TIBCO Software Inc.

Validating Project for Deployment


The first thing to do when preparing a project for deployment (after testing and debugging), is to use the Designer validator utility to verify that the project is ready for deployment.

TIBCO Education Programs

TIBCO Education Programs

Unit 5: Deployment and Management

Building Enterprise Archives

S Build using Designer or through command line S EAR Contents


Process archives Shared archives Adapter archives

S Designer options
Tools > Create Project EAR for quick archiving Configure manually using deployment palettes

TIBCO Software Inc.

TIBCO Education Programs

Building Enterprise Archives


Once validated you then create the project archive file that contains process, adapter services and shared resources. You can build the package manually or use the "Create Project EAR" option to quickly create a project deployment package. Clicking "Build Archive" creates the deployment package *.ear. This archive can then be given to the administrator for deployment.

TIBCO Software Inc.

Page 109

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Process, Adapter and Shared Archives


S

Containers for processes and adapter services to be deployed

Shared archives contain shared resources

TIBCO Software Inc.

Process, Adapter and Shared Archives


TIBCO Administrator, BW Process Engine(s), and, optionally, TIBCO Adapter software, provide the runtime environment for deployed BusinessWorks applications. The deployment package project archive can potentially include three sub-archives: shared, process and adapter.
A

Page 110

S S

Resources can be manually added/removed

TIBCO Education Programs

process archives contains process definitions adapter archive contains adapter services archives contain shared resources

An

Shared

Together these components provide the enterprise archive package that can be uploaded to the runtime environment and then deployed.

TIBCO Education Programs

Unit 5: Deployment and Management

Application Deployment in Administrator


Create new deployment application and upload EAR
S S

Use folders to organize applications

TIBCO Software Inc.

TIBCO Education Programs

Application Deployment in Administrator


TIBCO Administrator is a browser-based GUI for managing the TIBCO domain. You can use the interface to add, modify or delete user authorization entries for the domain. You can also monitor and manage domain services such as the Administrator Server and Project Repository Server. In addition, you can monitor and manage any deployments registered with the domain. Deployment components that can be monitored and managed include BusinessWorks process engine instances and BusinessWorks-supported TIBCO Adapters. You can monitor at either a component or machine granularity. You can examine and search for specific entries in the trace files for any of the services in the domain. TIBCO Administrator also provides running statistics of the number of jobs in the BusinessWorks engine, throughput and job-level tracing.

TIBCO Software Inc.

Page 111

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Configuring Deployment Details


Basic
Application parameters Service settings Target machines

TIBCO Software Inc.

Configuring Deployment Details


Administrator provides robust facilities for configuring deployment. Global variables and classpaths are exposed and can be adjusted as necessary for runtime processing. Application parameters and service instances can also be configured, and you can choose on what machine(s) to deploy components.

Page 112

S S

Advanced
Global and environment variables Custom monitoring

TIBCO Education Programs

TIBCO Education Programs

Unit 5: Deployment and Management

Deploying
S
Upload Set

Before

Options during
Quick deploy (on save) Auto-start deployed services

TIBCO Software Inc.

Deploying
TIBCO Administrator creates a deployable application in two steps: the deployable application's EAR file

TIBCO Software Inc.

S S

After

TIBCO Education Programs

deployment parameters and create a deployment

Deployable applications can be organized within TIBCO Administrator folders. Before deployment Administrator indicates the "deployability" of archived components. There are various options during deployment, including a quick deploy option as well as the option to automatically start deployed components. After deployment Administrator displays the deployment status.

Page 113

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Redeploying and Versioning


S S

If project changes
Validate and archive Upload new EAR Redeploy

Deployment configuration is versioned and revertible Deployment history is kept

TIBCO Software Inc.

Redeploying and Versioning


Administrator makes it easy to redeploy applications if the archived project has changed or if there was a problem during deployment. Deployment history is maintained as well as versions, so you can revert to a previous deployment configuration if necessary.

Page 114

TIBCO Education Programs

TIBCO Education Programs

Unit 5: Deployment and Management

Managing and Monitoring Deployments


Manage
Start / stop View details Add software

TIBCO Software Inc.

Managing and Monitoring Deployments

TIBCO Software Inc.

S S

Monitor
Perform tracing View active processes Set access

TIBCO Education Programs

Page 115

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Domain Communications

S TIBCO Runtime Agent (TRA)


Used for deployment and monitoring

S Component start/stop options: TRA or HTTPS


Admin GUI

BW Process Engine

TIBCO Administrator
Admin Server
Domain Security Project Repository

Web Server

T R A

T R A

BUS

Domain
TIBCO Education Programs

TIBCO Software Inc.

Domain Communications

Page 116

TIBCO Education Programs

Unit 5: Deployment and Management

User Management
Users
Create and manage

TIBCO Software Inc.

User Management
In Administrator the User Management module provides security over domain users. The Users module enables administrators to create domain user accounts. The administrator can create and remove users or search existing users and edit their domain log in credentials (name / password). Note that the user specified on install of the TIBCO Administrator Server is assigned root (full) administrative privileges. With TIBCO BusinessWorks, you can create Roles, grant authorization privileges to those roles and assign roles to users.

TIBCO Software Inc.

S S S

Roles
Create and manage Set authorization Assign to users

Authorization
Grant access to: BW projects (repository data) TIBCO Administrator UI

TIBCO Education Programs

Page 117

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Domain Authorization and Access


TIBCO Administrator access
For full access
Choose and set TIBCO Administrator access

TIBCO Software Inc.

Domain Authorization and Access


Users can be granted two levels of access in the domain:
UI

Page 118

For limited access


Choose and set for each user you want to allow access to

TIBCO Education Programs

Access Is used to specify access to what information users can see via the Administrator GUI at runtime Access Is used to specify access rights to user information (kept in local files and not in LDAP) and for access to domain repositories which are created by the deployments

Data

By default the root administrator has full access privileges. The root administrator can grant full access to other users or can authorize partial access to the Admin UI and Data. New users created by the administrator must be granted authorization privileges before they can log in to TIBCO Administrator.

TIBCO Education Programs

Unit 5: Deployment and Management

Domain Resource Management

S Inventory of installed software S Machine status

TIBCO Software Inc.

TIBCO Education Programs

Domain Resource Management


From the Resource Management console, authorized users can monitor and manage domain machines:
The The

Machines module provides information about machines in the domain, including CPU and memory usage, as well as active alerts Installed Software module provides an inventory of TIBCO software installed in the domain, including the machines hosting this software

As we have already seen, the Application Management console provides authorized users with the ability to monitor and manage deployed components. The TIBCO Domain consists of a set of machines, the BW components installed to those machines, and the domain server that administers the domain. The TIBCO Domain Utility is used to

TIBCO Software Inc.

Page 119

M-BWE: Essentials of TIBCO BusinessWorks 5.3

manage domain machines and the domain server for such tasks as adding machines to a domain, creating additional domains and creating backup domain servers.

Page 120

TIBCO Education Programs

Unit 5: Deployment and Management

Version Control Using TIBCO XML Canon


S

BW project metadata is strongly typed XML


XSD schema XPath addressing XSLT mapping

XML Canon provides


Design-time project repository Standards-based (WebDAV) Revision control system (RCS) Differencing engine

TIBCO Software Inc.

Version Control Using TIBCO XML Canon


BusinessWorks project metadata is built in XML. TIBCO XML Canon stores, versions and analyzes XML instances, schemas (XSD, DTD, SOX, etc.), WSDL files, and BusinessWorks processes and resources. XML Canon provides tools for storing, versioning and analyzing XML assets as they exist at any particular stage in the development lifecycle.

TIBCO Software Inc.

TIBCO Education Programs

Page 121

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Why Use XML Canon with BW?

S XML-based version control S Web-based desktop for managing SOA assets

TIBCO Software Inc.

TIBCO Education Programs

Why Use XML Canon with BW?


XML Canon provides a web-based desktop for viewing and managing all the services, schemas, shared resources, etc. in its repository, dramatically improving reusability. Fine-grained data services like database lookups may be independent. But as higher-level, composite business services such as "Hiring an employee" or "Processing a Loan" are implemented, inter-dependencies increase. XML Canon allows users to analyze the impact of an asset change, process-, project- or enterprise-wide.

Page 122

TIBCO Education Programs

Unit 5: Deployment and Management

Lab Introduction

S Deploy and manage a BW process


Validate process for deployment Create process archive Configure process deployment Deploy and monitor Version control using XML Canon

TIBCO Software Inc.

TIBCO Education Programs

Lab Introduction
In the lab that follows you learn to deploy and manage a BusinessWorks process.

TIBCO Software Inc.

Page 123

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

Page 124

TIBCO Education Programs

Lab C: Deploy Credit Check Service

Lab C

Deploy Credit Check Service

Overview
In this lab you configure and deploy your BusinessWorks project and practice fundamental application management and monitoring techniques using TIBCO Administrator.

Objectives
Archive Deploy Manage

Credit Check Service for Deployment, page 126 Credit Check Service, page 127 and Monitor Credit Check Service, page 129 Project Version Control, page 132

Implement

Prerequisites
EDUSVR TIBCO

instructor server and userXX student client platform Agent (TRA) 5.3.2 5.3.0 (userXX domain created) 5.3.0

Software pre-installed and configured on your userXX machine:

Runtime

Administrator EMS BWP XML

BusinessWorks Connectivity Oracle

4.3.0 (added to the userXX domain) to the instructor server for: Home Page http://edusvr:8080/bw/index.html Database and Mercury Email servers Canon http://edusvr:8893

Directions
Complete the tasks that follow.

TIBCO Software Inc.

Page 125

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Lab C - Exercise 1: Archive Credit Check Service for Deployment


When you are ready to deploy your project, Designer is used to generate an Enterprise Archive (EAR), which contains the information about the application components (Processes and Adapters) you want to deploy.

Steps
1. Configure the bwpXX project EAR for deployment.
From

the Designer menu select Tools > Create Project EAR Enterprise Archive resource named bwpXX is added to the project at the root level organization, drag this resource to the project \Deployments folder bwpXX (leave as is) all service level global variables: checked the \Deployments\bwpXX enterprise archive resource and configure it: Location: C:\bwpXX.ear

An For Select

Name: File

Include

2.

Configure the Process Archive to contain the Credit Check Service.


Expand Rename In

(open) the Enterprise Archive resource to reveal the Process and Shared Archives the Process Archive resource CreditCheckService the intfPerformCreditCheck-service and click OK

the Processes tab icon, click the "Add a process starter to this archive" icon:

Select

Analysis: The Shared Archive is built by default and auto-populated with all shared components required by the Process or Adapter archive(s) in the archive.

3.

Build the bwpXX Enterprise Archive deployment package.


In In

the project tree select the /Deployments/bwpXX enterprise archive the enterprise archive resource, click Build Archive (lower left) OK to confirm the creation of the EAR file

Click

Page 126

TIBCO Education Programs

Lab C: Deploy Credit Check Service

Lab C - Exercise 2: Deploy Credit Check Service


In this exercise you upload the EAR file to TIBCO Administrator and then deploy it.

Steps
1. Start TIBCO Administrator and log in using your userXX credentials.
Start

> Programs > TIBCO > TIBCO Administrator Enterprise Edition 5.3 > TIBCO Administrator

2.

Create a folder named bwpXX to contain your deployment application.


In

Administrator select Application Management and click New Folder bwpXX (replace XX with your two-digit ID) Save

Name: Click

3.

Upload the EAR file to the bwpXX application container.


Select Click Click In

the bwpXX folder to and open file C:\bwpXX.ear

New Application OK to upload the EAR file

Browse

the New Application Configuration window, confirm the "Target" for this service: your deployment configuration settings

userXX - new bwengine 5.3.0.xx


Save

TIBCO Software Inc.

Page 127

M-BWE: Essentials of TIBCO BusinessWorks 5.3

4.

Deploy the BW service to the target application.


Select In Enter Click

Application Management > bwpXX > bwpXX > Configuration

the Configuration Builder, click Deploy a description, such as "Initial Deployment" and leave all other settings as default OK to deploy the service agent

Analysis: The EAR file is used only for deployment. It can be deleted after deployment. Changes made to the ear file after deployment are not automatically propagated to the deployed project, this requires redeployment via Administrator.

5.

Verify that the process is deployed and troubleshoot as necessary.


If

deployed successfully, you should see that "Deployability" is synchronized and its "Deployment Status" is success your deployment status does not indicate "Synchronized" and "Success" try these troubleshooting steps:
Redeploy:

If

Click Deploy and try it again


Undeploy:

Select Undeploy then reupload the EAR file and deploy it again

Page 128

TIBCO Education Programs

Lab C: Deploy Credit Check Service

Lab C - Exercise 3: Manage and Monitor Credit Check Service


In this exercise you use TIBCO Administrator to perform runtime monitoring and management of active business processes. You also explore key files created during application deployment.

Steps
1. Verify that your deployed CreditCheckService engine is running.
In

Administrator select Application Management > All Service Instances should see that the userXX - CreditCheckService service instance is Running not, select it so that it is highlighted and click Start

You

If

Analysis: From this view the status all TIBCO service instances can be monitored and managed. For example, in addition to the process service, you should also see that the TIBCO Administrator service appears and is listed as Running.

2.

Test your deployed CreditCheckService instance.


In

Designer place TestCreditCheck into test mode (NOT any other process) for an "Accepted" credit check using: 3000.00 1234123412341234

Test

Amount: Test

AccountID: Amount: Stop

for a "Rejected" credit check using: 4000 1111111111111111

AccountID:

test mode

TIBCO Software Inc.

Page 129

M-BWE: Essentials of TIBCO BusinessWorks 5.3

3.

Monitor and manage process engine instance activity.


View In Stop

Administrator service agent tracing: All Service Instances > userXX - CreditCheckService (click the link) the Tracing tab click Search should see messages indicating that the service agent started All Service Instances

Select You

the CreditCheckService process engine: a check next to userXX - CreditCheckService so it is highlighted and click Stop a few moments this engine should be Stopped

Select Place After

Tip: Toggle the meter icon in the upper right to force refresh.
View

machine resources: Machines in the Resource Management console status is shown for your userXX machine

Select The Select View

your userXX link and note the detailed information of your machine, including disk and CPU usage statistics installed software: Resource Management > Installed Software

Select This Exit

view provides summary information about the TIBCO software components installed in the domain TIBCO Administrator

Page 130

TIBCO Education Programs

Lab C: Deploy Credit Check Service

4.

Explore files created during deployment of BW process engine instance.


On

the domain server machine where TIBCO Administrator Server is running:

C:\tibco\administrator\domain\DOMAIN_NAME\data\ DOMAIN_NAME-ENTERPRISE_ARCHIVE_NAME.dat Analysis: This file is a rewrite of the ear file as a repository file (*.dat). When deployed, the domain admin server has a copy of the deployment definition in this dat file which is used to initialize the component at startup. The name of the DOMAIN appears here twice, both as a folder and as the first part of the file name. The second part of the dat file name is the name of the EAR.
On

the target machine where the TIBCO application (engine or adapter) is deployed to:

C:\tibco\tra\domain\DOMAIN_NAME\application\DEPLOYMENT_FOLDER _NAME\ENTERPRISE_ARCHIVE_NAME-PROCESS_ARCHIVE_NAME.cmd Analysis: A one line script to start the BW engine. For initial debugging of a deployed component this script can be used to start the component. This should be done in a command window in order to see stderr startup messages even if it will not start.
On

the target machine the TIBCO application (engine or adapter) is deployed to:

C:\tibco\tra\domain\DOMAIN_NAME\application\DEPLOYMENT_FOLDER _NAME\ENTERPRISE_ARCHIVE_NAME- PROCESS_ARCHIVE_NAME.tra Analysis: A text file containing startup information used by the startup script (CMD file) to obtain deployed BW engine configuration information from the admin server. This file also defines the working environment for this component.

TIBCO Software Inc.

Page 131

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Lab C - Exercise 4: Implement Project Version Control


In this exercise you use TIBCO XML Canon to version control and manage your BW project.

Steps
1. Check your bwpXX project into TIBCO XML Canon (running on the instructor server).
From

the Designer menu of your bwpXX project, select Project > Save As the XML Canon tab and configure the connection: the XML Canon category, click Browse the "Browse for Project Folder" dialog: In the http:// field enter edusvr:9983 Click Connect

Select In

For

Provide You

your userXX credentials and click OK

should now have a WebDAV connection to the XML Canon Server from Designer, evidenced by the userXX category (and others) to which you have access in Canon:

Analysis: WebDAV (Web-based Distributed Authoring and Versioning) is an extension to HTTP that allows document uploads, locking and property attribution (e.g., version number, author). XML Canon is a WebDAV server, while TIBCO Designer is a WebDAV client.

Page 132

TIBCO Education Programs

Lab C: Deploy Credit Check Service

2.

Create a new Canon child category named bwpXX and save your project to it.
In

the "Browse For Project Folder" dialog, double-click the userXX category the New Folder icon at the upper right of the dialog the new folder the same as your project: bwpXX (replace XX with your ID) OK to create the folder; you should now see folder /userXX/bwpXX the bwpXX folder and click Select Folder at the "Save Project" dialog, verify that your XML Canon Category is listed as: OK to save the project to Canon

Click Name Click Back Click

Highlight

http://edusvr:9983/userXX/bwpXX/

3.

Your project is now saved to Canon, or is it? Verify at http://edusvr:9983 as userXX.


Using

Internet Explorer, access the XML Canon desktop using the following URL: your userXX credentials and click Submit to login into Canon the userXX category; you should see that it contains the child category bwpXX

http://edusvr:9983
Provide From Expand Select

the Canon home page select Browse > Categories

the bwpXX category; you should see that it is empty since you have not yet checked in the project resources

TIBCO Software Inc.

Page 133

M-BWE: Essentials of TIBCO BusinessWorks 5.3

4.

Check in project assets to TIBCO XML Canon.


Return From A Click Close

to your bwpXX session in Designer

the menu bar select Multi-User > Check In Changes Check in all and the entire project is checked into Canon the check in dialog

list of changes appears in the XML Canon Check-in dialog

Analysis: There is required metadata associated with any BW project. Thus, first create the project in Designer, generating the metadata, then check it into Canon.

5.

Verify that the project is checked into TIBCO XML Canon.


In

Designer you now should see locks on all project folders and resources

Analysis: A client-side lock on a resource indicates that it is checked into a revision control system (RCS). It must be acquired to be edited.
In

the Canon Web interface logged in as userXX: the <F5> key to refresh the data in your browser the Home > Recent tab view you are presented with, you should see a listing of all newly uploaded assets asterisk next to each project asset indicates that it has been analyzed by Canon

Press At

An

Analysis: Canon analyzes XML documents for version control and differencing. Non-XML documents can be stored and versioned by Canon but not compared.
In

Canon browse to and expand category \userXX\bwpXX should see all project folders and resources checked into Canon

You

Analysis: On the Canon server-side the bwpXX project resources are not locked.

Page 134

TIBCO Education Programs

Lab C: Deploy Credit Check Service

6.

Use the Home > DAV tab to document the upload of the bwpXX project assets.
In

the Canon Web interface select the Home > DAV tab the upload of the bwpXX project assets as follows: Check All to select all the uploaded assets (scroll to the bottom to see the button)

Document Click In In

the Comment field, enter a comment such as: the Revision Label field, enter a label for this version such as: Initial

Initial upload of tested bwpXX/CreditCheckService


Click

Update Attributes to complete the documentation of the upload (you should no longer see any assets in the DAV tab)

Analysis: Each asset is versioned by Canon using a auto-incremented number. Text-based user-defined revision labels can also be applied, as you have done.

7.

View the ProcessDOC for the PerformCreditCheck asset and explore version history.
In

the Canon browser, navigate to category asset /userXX/bwpXX/ProcessDefinitions/ CreditCheck/PerformCreditCheck.process this asset so that its "Document properties" and tabs appear to the right the Properties tab, verify attributes Version #, Revision Label and Comment the bottom of this page, beneath "Detailed views," click the ProcessDOC link separate browser window displays a graphical view of the activities in this process:

Select In A Near

Explore In If

the links provided by the ProcessDOC view; when done close the window

the History tab for this asset, appreciate Canons versioning mechanism: you were to upload a new version of this asset, it would be assigned the "Version #" 2 could then compare the versions using the differencing engine (Show differences) finished logout of Canon and close your browser

You When

TIBCO Software Inc.

Page 135

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

Page 136

TIBCO Education Programs

Unit 6: TIBCO BusinessWorks Summary

Unit 6

TIBCO BusinessWorks Summary

In this unit we review the key BusinessWorks benefits and discuss how it can be the centerpiece of your integration framework.

Topics
Objectives, TIBCO

page 138

BusinessWorks, page 139 Process Design, page 140

Business Project

Administration, page 141 Support, page 142

Multi-Platform Conclusions,

page 143

TIBCO Software Inc.

Page 137

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Objectives

S Knowledge
Review key features of BusinessWorks

S Skills
Create a new process with limited guidance

TIBCO Software Inc.

TIBCO Education Programs

Objectives
After completing this unit you will have:
Reviewed Created

some key features of TIBCO BusinessWorks

a new process with limited guidance provided

Page 138

TIBCO Education Programs

Unit 6: TIBCO BusinessWorks Summary

TIBCO BusinessWorks

S GUI-based SOA Integration framework S Standards


J2EE, SOAP, XSLT, XPath, and more

S Complete project lifecycle management


Design > Deploy > Manage > Monitor

TIBCO Software Inc.

TIBCO Education Programs

TIBCO BusinessWorks
TIBCO BusinessWorks offers a complete integration framework. Since it is a GUI-based product, it is easier to learn how to use and easier to see the business logic once it has been configured which means projects will be easier to maintain. BusinessWorks also provides broad support for the latest standards including J2EE compliance (JMS, EJB, JNDI), protocols (SOAP, WSDL, HTTP, HTTPS), Messaging (JMS, TIBCO Rendezvous), data description (native support for DTD, XSD, and TIBCO AE Schema), data representation and expressions (native support for XML, XPath), and data transformation (XSLT) standards. With BusinessWorks you can manage the complete project lifecycle from the design and testing phase to the production phase. Once deployed you can manage and monitor your integration projects as well.

TIBCO Software Inc.

Page 139

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Business Process Design


TIBCO Designer
Standardized UI Plug-in based Fast development

TIBCO Software Inc.

Business Process Design


TIBCO Designer is a single unified interface for designing processes and configuring adapters, optional workflow components, and enterprise messaging. It also offers an integrated testing utility so that you can debug projects prior to deployment. Because Designer uses XML as its underlying storage format, you can successfully configure advanced integration solutions without any coding. TIBCO Designer allows multiple developers to work on the same project. Developers can use file sharing/locking or a revision control system to ensure that the same resource is not changed by two developers at the same time. Currently TIBCO Canon, Microsoft Visual SourceSafe, Perforce, Clearcase, CVS and PVCS are supported.

Page 140

S S S S S

No programming required XML, XSLT Easy maintenance


No proprietary languages

Version control
Multiple developers

TIBCO Education Programs

TIBCO Education Programs

Unit 6: TIBCO BusinessWorks Summary

Project Administration

S Centralized administrator
Manage processes, adapters, machines Security framework

S Browser-based S High availability


Fault tolerance Load balancing

TIBCO Software Inc.

TIBCO Education Programs

Project Administration
At runtime, TIBCO Administrator allows you to remotely access all deployments in your administration domain. User ManagementAdd users and passwords to the administration domain for authentication, then give each user view or execute privileges. Domain Monitoring and ManagementView the status of machines and components running on machines in the domain. Start and stop as needed. Deployment monitoringMonitor the status of each deployment component and process instance and the status of the machines executing them. View trace files and throughput. Deployment managementView all running components and stop and restart them as needed.

TIBCO Software Inc.

Page 141

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Multi-Platform Support

S Operating systems
Windows Unix Linux

S External application support


Adapters Web Services Messaging

TIBCO Software Inc.

TIBCO Education Programs

Multi-Platform Support
TIBCO BusinessWorks supports multiple operating systems including Microsoft Windows 2000, Windows XP Professional Edition, Microsoft Windows Server 2003, Solaris 9, Solaris 2.8, Solaris 2.7, HP-UX 11.0, 11i, AIX 5.1, and Linux. This offers you flexibility (for example you might develop on Windows and then deploy on Unix). A core strength of TIBCO products from the beginning has been the ability to integrate multiple disparate systems throughout the enterprise. This integration can be accomplished via adapters, web services, messaging or any combination of the three.

Page 142

TIBCO Education Programs

Unit 6: TIBCO BusinessWorks Summary

Conclusions

S Maximize existing investments S Rapid development environment S Foundation for future growth

TIBCO Software Inc.

TIBCO Education Programs

Conclusions
In summary, TIBCO BusinessWorks provides the integration framework that enables businesses to connect existing systems (and thus maximize existing investments). The GUI-based design interface allows for rapid development while providing many advanced integration capabilities. Business integration projects build with TIBCO BusinessWorks can be easily extended and maintained as your business needs change, thus providing a foundation to support future growth.

TIBCO Software Inc.

Page 143

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Test Your Skills Lab Instructions

S Develop a process to:


Accept a currency code Fetch the value from the currency table in the database Email the result to userXX

TIBCO Software Inc.

TIBCO Education Programs

Test Your Skills Lab Instructions


Additional information:
Access To

to the database is available via userXX login credentials

view available currency codes in a command prompt:


userXX/userXX@edusvr.tibco.com select CURRENCY_CODE from EXCHANGE_RATE;

Your Your

email host is edusvr:25 email address is userXX@edusvr

Advanced option:
Handle

invalid currency code entries

Page 144

TIBCO Education Programs

Unit 6: TIBCO BusinessWorks Summary

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

TIBCO Software Inc.

Page 145

M-BWE: Essentials of TIBCO BusinessWorks 5.3

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

Page 146

TIBCO Education Programs

Appendix: Common Operating System Tasks

Appendix A

Common Operating System Tasks

We recognize that while some who attend our training courses are quite familiar with the Windows operating system and how to accomplish various configurations and steps, others may be less familiar. Please use this appendix as a reference as needed.

Sections
Working Working Creating

with Command Prompt (DOS) Windows, page 148 with Zipped Files (Using WinZip), page 149 ODBC DSNs, page 150 Windows Services, page 151 Environment Variables, page 152

Managing Managing Working Finding

with Programming Code, page 153 Your Network Connection, page 155

the Computers Identity, page 154

Managing

TIBCO Software Inc.

Page 147

BWE: Essentials of TIBCO BusinessWorks 5.3

Working with Command Prompt (DOS) Windows


1. How to open a command prompt window:
Option

1: on Start and choose Run cmd and click OK > Programs > Accessories > Command Prompt

Click Type Option Option Start

2: 3:

Often the computer we provide

you is configured with shortcut to a command prompt on the task bar. The shortcut is black colored (with c:\ text)

2.

How to navigate in a command prompt window:


To

go down a directory: the prompt, type in cd followed by a space followed by a child directory name. you can navigate faster by using the * symbol for name completion. For example, to navigate from C:\ to C:\Documents and Settings just type cd doc* and then hit the <Enter> key. the prompt, type in cd..

At

TIP:

To

go up a directory:

At

3.

How to access command history (commands you have already entered in a given Command Prompt session):
Use

the <Up> and <Down> arrow keys on your keyboard.

4.

How to open a document from a Command Prompt in a Text Editor:


From

the directory where the document is located type notepad <doc_name> and hit the <Enter> key.

Page 148

TIBCO Education Programs

Appendix: Common Operating System Tasks

Working with Zipped Files (Using WinZip)


1. How to extract files from a zip file:
On On

Windows 2003 or Windows XP you will not need to use WinZip because you can view the contents of zip files right through Windows Explorer. Windows 2000 you will need to use the WinZip program. on the zip file to open WinZip
Double-click

Notice that one of the columns in the WinZip window that appears is labeled "Path". This

shows the directory structure that each file in the zip file will extract to. For example if the path shows "temp" and extract to the root of the c: drive, the file will extract to c:\temp.
Click

the extract button, specify the location to extract to (and if you want to extract all files or just the selected file(s), and then click Extract.

2.

How to create a zip file:


Highlight the file or files you wish to zip (if more than one, hold down the control key as you

highlight them or if an entire folder highlight the folder), right-click and choose Win Zip > Add to > <name_of_file_or_folder_selected>.zip.
This will

create the file either in the same directory where the files you zipped are located or one directory up from there (in the case of a folder).

TIBCO Software Inc.

Page 149

BWE: Essentials of TIBCO BusinessWorks 5.3

Creating ODBC DSNs


1. How to create an ODBC Data Source Name for Oracle 10g
Follow Click Here

the menu path Start > Settings > Control Panel > Administrative Tools > Data Sources (ODBC) on the System DSN tab and choose Add Oracle in OraDb10g_home1 as the driver and click Finish Source Name: userXX Service Name: EDUSVR (select from list) ID: userXX is an example Oracle ODBC Driver Configuration:

Select

Data TNS User Click Click

Test Connection, enter the password (e.g. userXX) and verify success OK to complete the configuration.

2.

How to create an ODBC Data Source Name for SQL Server 2000
Follow Click Here

the menu path Start > Settings > Control Panel > Administrative Tools > Data Sources (ODBC) on the System DSN tab and choose Add SQL Server as the driver and click Finish userXX EDUSVR (select from list - it must be on the running and on the network) SQL Server authentication the Login ID and Password (e.g. userXX) is an example Data Source to SQL Server configuration:

Select

Name: Server:

Choose Provide

Page 150

TIBCO Education Programs

Appendix: Common Operating System Tasks

Managing Windows Services


1. How to open the Windows Services window
Follow

the menu path Start > Settings > Control Panel > Administrative Tools > Services

Note: machines provided by TIBCO will often already have a shortcut to this window in the Task Bar.

2.

How to stop or start services


In

the Windows Services panel, right-click the service and choose Start or Stop as desired.

Note: you can click Close in the status window that pops up without cancelling the operations. You may then want to click the <F5> (refresh) key to see if the status for the service has changed.

3.

How to change service properties


In In

the Windows Services panel, double-click the service the General tab the desired Startup type from the drop down list Note: If you choose Manual, the service will not start when rebooted (even if it is Started now)

Select

You

may also Start or Stop the service from here Apply and then OK

Click

TIBCO Software Inc.

Page 151

BWE: Essentials of TIBCO BusinessWorks 5.3

Managing Environment Variables


1. How to view and set the System PATH and CLASSPATH environment variables
The

easiest way to view your current PATH or CLASSPATH settings is to pull up a Command Prompt window and type set path or set classpath (or simply type set to see all variables and their values returned) modify the PATH or CLASSPATH: Note: The exact menu paths for doing this can vary depending on the Microsoft OS version. These steps were written on XP.
From In In

To

the Desktop, right-click My Computer and choose Properties

the Advanced tab click on Environment Variables

the System variables list (the bottom one), locate the variable you want to edit, highlight it and click Edit. add or delete the folder and/or file references. Remember that semi-colons are required between each entry. Note also that a period symbol denotes "local directory". OK in all three open windows when done modifying the settings

Carefully Click

Page 152

TIBCO Education Programs

Appendix: Common Operating System Tasks

Working with Programming Code


1. How to compile Java code
Verify the Verify

JDK is installed on your computer. To do this, open a Command Prompt and type java -version <JAVA_HOME>\bin; is in your system PATH variable. To do this, in a Command Prompt type set path. If you do not see the reference to the JDKs bin directory, see Managing Environment Variables, page 152 for how to set it.
Alternatively, you may have been provided with a Setup.bat file that may set this (as well

as other) variable for you command prompt session. If so, run it in the current Command Prompt session that you will subsequently use to compile the code.
In a Command Prompt, navigate to the directory where your java code (*.java) is and type in

the following:
javac <code_file_name>.java

If no errors are presented, your code has compiled successfully. TIP: to compile all the java files in a single directory type the following:
javac *.java

2.

How to run Java code


In a Command Prompt (DOS) window, navigate to the directory that contains your compiled

code (the files that end with the .class extension) and type the following:
java <code_file_name>

TIBCO Software Inc.

Page 153

BWE: Essentials of TIBCO BusinessWorks 5.3

Finding the Computers Identity


1. How to find the hostname or full computer name of your computer
Option In

1: 2:

a Command Prompt type hostname

Option

Right-click

on My Computer and choose Properties. Click on the Computer Name tab to view the full computer name (which includes the hostname as well as the domain name)

Page 154

TIBCO Education Programs

Appendix: Common Operating System Tasks

Managing Your Network Connection


1. How to check your network connection:
In

a Command Prompt, type ipconfig you receive the message "Media disconnected" then you have no network connection

If

2.

How to reset your network connection:


In

a Command Prompt, type ipconfig /renew and wait

3.

How to verify communication with the instructor server:


In

a Command Prompt, type ping <SERVER_NAME> (e.g. ping edusvr) the attempt timed out, your computer cannot find the instructors server.

If

4.

How to check the type of network connection you have (Static or Dynamic)
From In In

the Desktop, right-click on My Network Places and choose Properties on the Local Area Connection and choose Properties.

Right-click

the General tab, scroll to the bottom of the list of items the connection uses and highlight Internet Protocol (TCP/IP) then click Properties. the TCP/IP Properties dialog that appears: the connection is set to "Obtain an IP address automatically" then your computer is using a "dynamic" IP address the connection is set to "Use the following IP address" and has numbers typed in below, then your computer is using a "static" IP address.
If If

Note: You should not change these settings without first consulting with the instructor.

TIBCO Software Inc.

Page 155

BWE: Essentials of TIBCO BusinessWorks 5.3

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

Page 156

TIBCO Education Programs

Appendix: Common Operating System Tasks

Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________

TIBCO Software Inc.

Page 157

BWE: Essentials of TIBCO BusinessWorks 5.3

Page 158

TIBCO Education Programs

Das könnte Ihnen auch gefallen