Beruflich Dokumente
Kultur Dokumente
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 2002-2008 TIBCO Software Inc. ALL RIGHTS RESERVED.
Program Contents
Program Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .vii
Conventions Used in this Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Program Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Welcome . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Agenda. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Software Featured . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Materials and Lab Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Certified Professional Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Facilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 3 4 5 6 7 9
Unit 1
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Software Inc. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How TIBCO Delivers for Customers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The TIBCO Advantage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Delivers: SOA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SOA Platform: TIBCO ActiveMatrix BusinessWorks . . . . . . . . . . . . . . . . . . . . . . . . Application Integration: TIBCO Adapter Suite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Building the Enterprise Service Bus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Monitoring and Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO ActiveMatrix Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SOA with ActiveMatrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Page iii
BPM: TIBCO iProcess Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 TIBCO Delivers: Business Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Rich Client: TIBCO General Interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Business Optimization: TIBCO BusinessEvents. . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Business Optimization: TIBCO PortalBuilder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 The TIBCO Advantage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Unit 2
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 TIBCO BusinessWorks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 BusinessWorks Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 BusinessWorks Methodology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 TIBCO Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 BusinessWorks BPEL Extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 TIBCO Administrator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 What Is a TIBCO Domain? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Domain Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Domain Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Management Using Administrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 BusinessWorks Demo. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Unit 3
Topics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 TIBCO Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Process Design. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Activity Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 XPath Formula Builder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 TIBCO Query Designer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Project Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Process Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Project Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Project Global Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Lab Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Page iv
Program Contents
Lab A: Implement Perform Credit Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Create New Project from Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Design Perform Credit Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Test Perform Credit Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Unit 4
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 What Are Web Services?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 SOAP Web Services in BusinessWorks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 SOAP Message Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 SOAP Web Service Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Generating a Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Result of Service Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 SOAP Web Service Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Lab Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Lab B: Implement Credit Check Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 Generate Credit Check Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Test Credit Check Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Unit 5
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114 Deployment Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115 Validating Project for Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116 Building Enterprise Archives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117 Process, Adapter and Shared Archives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118 Application Deployment in Administrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119 Configuring Deployment Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 Deploying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Redeploying and Versioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 Managing and Monitoring Deployments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Domain Communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 User Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Domain Authorization and Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Domain Resource Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Version Control Using TIBCO XML Canon. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 Lab Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Page v
Lab C: Deploy and Manage Credit Check Service . . . . . . . . . . . . . . . . . . . . . . . . 133 Archive Credit Check Service for Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 Deploy Credit Check Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 Manage and Monitor Credit Check Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 Implement Project Version Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Unit 6
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 TIBCO BusinessWorks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 Business Process Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 Project Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151 Multi-Platform Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 Test Your Skills Lab Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Appendix A
Extracting Lab Files from the CD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 Connecting to the Instructor Share Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 Working with Command Prompt (DOS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 Working with Zipped Files (Using WinZip) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 Creating ODBC Data Source (DSN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 Managing Windows Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 Managing Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 Working with Java Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 Finding Your Computers Identity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 Managing Network Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 Setting Up Email . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Page vi
Preface
Preface
This workbook has concept explanations and the hardcopy version has space for taking notes. We encourage you to participate in all of the course exercises because they reinforce course content. You will find the answers to any review questions in the relevant section of the workbook. Your instructor will provide you with a course evaluation form. Please fill this out and return it to the instructor at the end of the course. Your feedback is crucial to the successful evolution of this course. For more information about our educational curriculum, please visit the TIBCO Education Programs web site: http://www.tibco.com/services/educational.
Page vii
WARNING: This is a warning. It is used for critical information that must be followed to avoid serious consequences.
Note: This is a note. It is used to provide relevant information that pertains to the current task.
Page viii
Program Overview
Program Overview
Welcome to Essentials of TIBCO BusinessWorks 5.6. 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
T Welcome, page 2 T Agenda, page 3 T Objectives, page 4 T TIBCO Software Featured, page 5 T Materials and Lab Environment, page 6 T TIBCO Certified Professional Program, page 7 T TIBCO Certification Exam Registration, page 8 T Facilities, page 9
Page 1
Welcome
S Name S Company S Job title and responsibilities S Industry experience S TIBCO Software experience S Goals and expectations for this course
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.
Page 2
Program Overview
Agenda
1. Introducing TIBCO Solutions 2. Introducing TIBCO BusinessWorks 5.6 3. Process Design and Testing 4. Service Generation 5. Engine Deployment and Management 6. Summary
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.
Page 3
Objectives
S Knowledge
Define BusinessWorks components Explain TIBCO Designer development environment Explain TIBCO Administrator runtime environment
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
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:
Page 4
Program Overview
T TIBCO Runtime Agent (TRA) 5.5.3 T TIBCO Administrator 5.4.0 (userXX domain created) T TIBCO BusinessWorks 5.6.0 T TIBCO EMS 4.4.2 (added to the userXX domain)
In addition, the all labs required connectivity to the EDUSVR instructor server for the database.
Page 5
S Environment
edusvr instructor server
Windows Server 2003
S Lab exercises
Self-extracts to C:\BWEDU
Windows XP
' To Do:
Extract Student CD
Page 6
Program Overview
TIBCO Certified Professionals are entitled to a 20% discount on all Technical Learning Center classes.
Page 7
Telephone S US/Canada: Toll free (877) 370-4095 S For phone numbers outside US/Canada:
Europe/Middle East/Africa
http://www.prometric.com/TIBCO/EMEAIT.htm
Asia/Pacific
http://www.prometric.com/TIBCO/APACIT.htm
Page 8
Program Overview
Facilities
Phones Phones
Parking Parking
Messages Messages
Restrooms Restrooms
Smoking Smoking
Meals Meals
Recycling Recycling
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.
Page 9
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 10
Unit 1
TIBCO Software Inc. is a leading enterprise software company providing Service-oriented Architecture (SOA), Business Process Management (BPM) and Business Optimization (BOP) solutions.
Topics
T Objectives, page 13 T TIBCO Software Inc., page 14
How TIBCO Delivers for Customers, page 15 The TIBCO Advantage, page 17
Page 11
Page 12
Objectives
S Introduce TIBCO Software Inc. as a company S Discuss key demands and TIBCO solutions for:
Service-Oriented Architecture (SOA) Master Data Management (MDM) Business Process Management (BPM) Business Optimization (BO)
S Identify the TIBCO software components supporting SOA, MDM, BPM and BO solutions
Define unique TIBCO terminology
Objectives
On completion of this unit you will be able to:
T To accelerate projects, initiatives and go-to-market cycles T To automate and streamline business processes T To improve operational visibility, collaboration and be proactive. T Identify the TIBCO software products that support the critical
challenges that these solutions present
Page 13
S 20 years of delivering
S Years of continued growth S Professional Certifications S Financial Strength S Listed on NASDAQ: TIBX
leading software products and services S 2,500+ customers, 175+ partners S 50+ worldwide offices
Page 14
Page 15
Page 16
S Strategic Advantages
FLEXIBILITY
Use only the products required Add more as your requirements grow
T Accelerating projects, initiatives and go-to-market cycles T Automating and streamlining business processes T Improving operational visibility, collaboration and becoming
proactive.
Page 17
TIBCO products are categorized into three areas that match why organizations depend on TIBCO:
Page 18
ServiceOriented Architecture
Integration
Application/data Integration Trading Partner Management Enterprise Service Bus
Page 19
CRM
Systems
Logistics
BusinessWorks
Production
Warehouse
Legacy
Page 20
Adapter
Information Bus
Page 21
High velocity/high volume of information movement Standards support (XML, SOAP, JMS)
CRM
DB
ERP
Legacy
Page 22
Hawk
Advisor
External Systems communication Exposes system, network, application and process data Stand-alone or with EM Systems Supports WSMF
Page 23
Page 24
S ActiveMatrix Registry
Directory supporting UDDI v2 and V3
Page 25
Built-in, standardized Communication Deployment, management, high availability Distributed transaction support Service policy de-coupled from implementation
.NET BW Matrix Node 1
TIBCO Enterprise Messaging Policy Policy Bus Bus Service Service Grid Grid Bus Bus
Page 26
Your Business
Private Process
BusinessWorks
BusinessConnect
B2B Server
Internet
EDI
Page 27
TIBCO DataExchange
Page 28
Mainframe Integration
S TIBCO Mainframe Service Suite Bi-directional mainframe connectivity S Components Database gateways
Mainframe and other databases
DB2, IMS, VSAM
Object Service Broker
External Apps
Integration Gateways
z/OS
Windows
Solaris
Integration gateways
External applications
.Net, J2EE
Database Gateways
Mainframe
Mainframe Integration
For Business Integration in a mainframe environment, TIBCO has a suite of products, named TIBCO Mainframe Service 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 front-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 29
ERP #2
Sales
Supply Chain
PLM
JMS/XML
Customer Support
Composite Application
Packaging IT
Content Mgrs
Composite Application
T Internal Alignment: Process integration for internal systems T External Alignment: B2B integration for trading partner
synchronization
Page 30
ServiceOriented Architecture
Page 31
Page 32
Page 33
Page 34
Business Optimization
Oriented S Capabilities: Architecture Rich Client Event Correlation Complex event processing
Service-
Page 35
XML-based
Rich Client
Page 36
Page 37
Page 38
Business Optimization
ServiceOriented Architecture
Increasing VOLUME
Increasing VELOCITY
Increasing VARIETY
T Billions of dollars worth of stock trades and financial transactions T Tens of millions of telecom service requests and events T Millions of supply chain events and channel transactions T Tens of thousands of insurance applications and claims T And tracking data about millions of packages and thousands of
events
Page 39
Summary
S TIBCO
Leader, Proven and Strong
S TIBCO Advantage
Performance, Neutrality, Flexibility
Summary
T TIBCO is one of the worlds leading software providers, known
for its independent and innovative position in the market.
Page 40
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 41
Page 42
Unit 2
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
T Objectives, page 44 T TIBCO BusinessWorks, page 45 T BusinessWorks Components, page 46 T BusinessWorks Methodology, page 47 T TIBCO Designer, page 48 T BusinessWorks BPEL Extension, page 49 T TIBCO Administrator, page 50 T What Is a TIBCO Domain?, page 51 T Domain Security, page 52 T Domain Monitoring, page 53 T Management Using Administrator, page 54 T BusinessWorks Demo, page 55
Page 43
Objectives
S Knowledge
Define BusinessWorks components
TIBCO Designer TIBCO Administrator
Objectives
After completing this unit you will be able to:
Page 44
TIBCO BusinessWorks
S S S S Extensible framework for SOA integration Built-in monitoring and management Used to build integration projects Application Connectivity
Different types and different technologies
CRM
.NET
Mainframe
BusinessWorks
ERP
EJB
Legacy
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.
Page 45
BusinessWorks Components
S TIBCO Designer S TIBCO Administrator S Plug-ins: TIBCO Adapters
Deploy
TIBCO Designer
TIBCO Administrator
BusinessWorks Components
The primary BusinessWorks components include the following:
T BusinessWorks Process Engine runs deployed business processes T TIBCO Adapters are used to integrate external applications into
the BusinessWorks framework
Page 46
BusinessWorks Methodology
S Distinct environments
Developers use Designer
Build Enterprise Archive (EAR) files
TIBCO Designer
EAR
TIBCO Administrator
Development
Production
BusinessWorks Methodology
Page 47
TIBCO Designer
S TIBCO IDE used to:
Define business processes and services Configure Adapter Debug processes, adapters
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 48
S Features:
Define business orchestration processes
With BW framework
Page 49
TIBCO Administrator
S Browser-based UI for:
Deployment
Services and adapters
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.
Page 50
S Administrator
Monitors and manages domain components
Page 51
Domain Security
S Administrator UI to
Create users and roles Grant access control to domain components
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.
Page 52
Domain Monitoring
S Administrator provides:
Machine Status Deployment Status Component Statistics Component Trace Files Access monitoring
Domain Monitoring
TIBCO Administrator provides monitoring information on machines registered in the domain, deployed applications, as well as process tracing and statistics.
Page 53
Page 54
BusinessWorks Demo
S Web Service providing currency exchange rates
BW Demo
Browser
BW SOAP Server
BW Home Page
You
Instructor
BusinessWorks Demo
The instructor will demonstrate TIBCO BusinessWorks, emphasizing design- and run-time features of the product.
Page 55
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 56
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 57
Page 58
Unit 3
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
T Objectives, page 60 T TIBCO Designer, page 61 T Projects, page 62 T Process Design, page 63 T Activity Configuration, page 65 T XPath Formula Builder, page 66 T TIBCO Query Designer, page 67 T Project Resources, page 68 T Process Testing, page 69 T Project Templates, page 71 T Project Global Variables, page 72 T Lab Introduction, page 73
Page 59
Objectives
S Knowledge
Describe development and testing using TIBCO Designer Define components in BW process definitions Explain resources, management and administration capabilities
S Skills
Create and access projects Design and test BW processes
Configure activities and resources
Objectives
After completing this unit you will know:
T What a BusinessWorks process definition comprises T How to configure project activities and services T How to use shared project resources T How to incorporate external resources into a BusinessWorks
project
Page 60
TIBCO Designer
S Intuitive, palette-based GUI with drag-and-drop functionality S Position in project tree changes palettes displayed
3 1
Project Directory Process Design
4 2
Project Resources Activity / Resource Configuration
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:
Page 61
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
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 62
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
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.
Page 63
Any single process activity (source) may have multiple transitions out and each transition must be one of four allowed types:
Page 64
Activity Configuration
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:
T Input Which allows you to map the data input to the activity. T 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.
Page 65
d an ag r D
op Dr
Page 66
Page 67
Project Resources
S Shared resources are reusable across the project S Can be:
XML, XSD, WSDL files Connections to external systems
JDBC, FTP, TCP etc
RV SMTP Files
FTP
TIBCO BusinessWorks
SOAP HTTP / HTTPS
JMS
JDBC
Project Resources
For any project you are developing using BusinessWorks, you can use shared resources to accept data from various external sources, including:
Page 68
Process Testing
S Built-in tester/debugger Test multiple processes Examine process data
Input and Output tabs
Examine errors
Error msg, Show Console, Error tabs
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:
Page 69
T 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 70
Project Templates
S Used to:
Create common look and feel for development Enforce adherence to naming standards Provide starting point for development
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.
Page 71
Page 72
Lab Introduction
Lab Introduction
In the exercise that follows you develop and test a BW process and learn how to navigate the Designer interface.
Page 73
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 74
Lab A
Overview
In this lab you learn the fundamentals of developing TIBCO BusinessWorks process definitions in the TIBCO Designer environment.
Objectives T Create New Project from Template, page 76 T Design Perform Credit Check, page 80 T Test Perform Credit Check, page 86 Prerequisites T TIBCO Software installed and configured on your userXX machine:
Runtime Agent (TRA) 5.5.3 Administrator 5.4.0 (userXX domain created) BusinessWorks 5.6.0 EMS 4.4.2 (added to the userXX domain)
Directions
Complete the exercises that follow.
Page 75
Steps
1. Start the relevant TIBCO services and set them to "automatic."
2.
Create a new BusinessWorks project named bwpXX using the provided template. Analysis: TIBCO Designer 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.
T T T T
Start > Programs > TIBCO > TIBCO Designer 5.5 > Designer 5.5 Select New project from template Browse to and open file C:\BWEDU\Templates\bwpXX.designertemplate When Designer opens you are prompted to save the project: Project Directory: C:\BWEDU\bwpXX (replace XX with your ID, e.g., bwp09)
T Click OK and the development environment for your bwpXX project opens
Note: When Designer initially opens it presents Tips which can be disabled.
Page 76
3.
Customize the TIBCO Designer palette view and your preferences. Analysis: The default layout of TIBCO Designer is three panels with the project tree on the left. You can change this (Edit > Preferences > View) but keep in mind that all lab instructions assume the default layout.
T Select the Palettes tab in the far left pane; notice that the default view shows all activities
and resources in one palette called General Resources
T To categorize the resources and activities into individual palettes, from the tool bar click
the Switch Palette Modes icon (this mode is assumed going forward)
4.
T Select the Project tab in the far left pane T In the project tree select the root-level bwpXX project folder (uppermost in the tree) T Notice that the template contains several pre-defined subfolders for organizing your
project, including: AdapterServices AESchemas BusinessUnit BWP.Core Connections CustomJava Schema Deployments ProcessDefinitions 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 saved to a template to organize and facilitate development. The BusinessUnit folder is a template within the template. It can be used to create additional project subfolders as required. The BWP.Core folder contains some pre-defined resources and schemas. The Exhibit A folder contains a generic set of subfolders that you will copy and rename for each set of services you will be implementing.
Page 77
5.
T Select the existing project folder /BWP.Core T In the design panel to the right, right-click and select New Folder T In the Configuration tab:
Name: Services Click Apply (lower right)
T From the TIBCO Designer tool bar, select the Save icon to save your project T Verify your project:
WARNING: Apply your settings each time you name or configure a folder, resource or process activity. Also, save your project frequently. An asterisk (*) next to the project in the title bar indicates changes have not been saved.
Page 78
6.
Explore and configure project global variables. Analysis: Global variables are available project-wide and facilitate shared development. The value of a global variable is substituted at runtime for all occurrences of the global variable name.
T T T T T
Select the Global Variables tab in the far left pane Click the pencil icon at the top of the variables listing to open the Global Variables editor At the bottom of the listed variables youll see a variable group named bwp Expand the bwp group, revealing four global variables created for you For the host.Name variable, click in the value field and change XX to match your ID For example: USER09 (please use all capital letters for this entry)
T Click OK to close the editor T From the Designer tool bar, click the Save icon to save your project (or Project > Save)
7. Test the pre-defined resource /BWP.Core/Connections/OrderDB to verify connectivity with the instructor database.
T Select the OrderDB resource T This resource is configured for you with the following parameters and global variables:
Name: OrderDB Connection Type: JDBC JDBC Driver: tibcosoftwareinc.jdbc.oracle.OracleDriver Database URL: %%bwp/jdbc.URL%% User Name: %%bwp/user.Name%% Password: %%bwp/user.Password%%
Page 79
Steps
1. In folder /BWP.Core/Services/CreditCheck/Implementation define the PerformCreditCheck process.
T Drag-and-drop a Process Definition from the Process palette to the Implementation folder T Name this process PerformCreditCheck T From the project tree, select 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 observed:
T Process activities do use spaces between names and initial capitals letters,
the exception being where default activity names are used that do not employ spaces, such as RetrieveResources
Page 80
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.
T From the JDBC palette, add a JDBC Query activity T From the General Activities palette, add a Mapper activity T On the tool bar, select the Create transition icon and connect the activities as follows:
Start to JDBC Query JDBC Query to Map Data Map Data to End JDBC Query to End, which is taken on Error if the database query fails To do this: To change the transition condition from success (default) to error:
T Select (click) the transition line between the two activities T In the Configuration tab select the condition type Error
3. Verify the design of your PerformCreditCheck process definition up to this point.
Tip: This example uses the "Multi-Bend" line mode.To change the default line mode, from the Designer menu select View > Default Line Mode.
Page 81
4.
Click OK to close the "Select a Resource..." interface When you are done the configuration should look like this:
IMPORTANT Note: 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 input and output data as XSD is required to expose a process as a service.
Page 82
5.
Query the CUSTOMER_ACCOUNT table by configuring the JDBC Query activity to retrieve the account information for a specified AccountID.
T JDBC Query Name: Get Account Info T JDBC Connection: Browse to and select /BWP.Core/Connections/OrderDB T Type in or build using the TIBCO Query Designer this query (see "To do this" 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:
T T T T T
Click "Build using wizard" (pencil icon) Expand your userXX account, then Tables Drag-and-drop the CUSTOMER_ACCOUNT table to the panel at right Double-click each table row to include it in the query For the ACCOUNT_ID column at the bottom of the Query Designer: Uncheck "Show" In the Where cell type =? and press <Enter> on your keyboard
T In the SQL tab check "Do not use schema names in SQL statement" T Verify that your query matches the SQL shown above T Click OK to close the TIBCO Query Designer
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 =?.
T 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
T Select the Input tab click Fetch T To map the data input for this activity:
From the available Process Data on the left, select element $Start\CreditCheckRequest\AccountID Drag it to the Activity Input element on the right jdbcQueryActivityInput\Prepared_Param_1
T In the Output tab, expand "resultSet/Record" and verify that the AMOUNT_OWED and
AVAILABLE_CREDIT elements are returned
Page 83
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."
T Mapper Name: Check Credit T In the Input Editor, add required string Status (replace "root" as follows):
Content: Element of Type Name: Status Cardinality: Required Type: String
T For 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:
T T T T T
Select the text string "Status" (NOT the text field next to "Status") Right-click and select Statement > Surround with Choice Number of when conditions: 1 Include otherwise: checked Click OK
T Now that you have the "Choose" condition, use the pencil icon to open the XPath
Expression Editor and build the following boolean expression: 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"
T In the Output tab for this activity, verify that Status is returned
Tip: You can copy this expression from C:\BWEDU\XPath\Expressions.txt. If you have errors, use the Mapper Check and Repair feature to fix them. A dialog displays the potential problems in the mapping. Select the Fix checkbox to repair any errors.
Page 84
7.
Complete the process by configuring the End activity to return the result of the credit check. Analysis: The End activity can be configured to return the result(s) from a completed process definition. In this case the result is either Status ("Accepted" or "Rejected") or Failed if the database query fails.
T For the Input to Status, create a "Surround with Choice" statement with 1 when condition:
When: $_error (in the Mapping Wizard select "Set formula" then Finish) Status: "Failed" Otherwise: Status: $Check-Credit/Status
8.
Tip: Use the Label activity (in the General Activities palette) to comment a process.
Page 85
Steps
1. Configure your test environment preferences. Analysis: You can configure the TIBCO Designer Tester to suit your preferences and view testing as it transitions through a process.
T From the Designer menu select View > Test Options > Moving Ball Options T Select "Show Ball" T Set the testing speed to 75%
2. Validate the project to check for errors.
T From the Designer menu select Project > Validate Project for Deployment T If configured correctly, you should not have any errors (other than those listed under
"Unassociated Errors & Warnings," which can be ignored)
T If you do have project-associated errors, double clicking the error within the "Validate
Project" dialog will take you to the misconfigured resource in your project so you can fix it
T Revalidate and repair until all relevant errors are cleared T Close the project validator when done
Page 86
3.
Test PerformCreditCheck and verify it returns the "Accepted" status. Analysis: To test for an "Accepted" credit check, provide a valid AccountID and amount and verify the result in the Input Data tab of the End activity.
T In the Tester tab click the green arrow icon, bringing up the Select Processes to Load dialog T Verify that PerformCreditCheck is checked and click Load Selected
T In the Input Data dialog prompt that appears, enter the following data and click OK:
Amount: 3000.00 AccountID: 1234123412341234
T An instance of the process should execute; when it does, check the Input Data tab of the
End activity for the "Accepted" result:
Page 87
4.
Test PerformCreditCheck and verify it returns the "Rejected" status. Analysis: To test for a "Rejected" credit check, change the input data so that the amount being requested is beyond the available limit and verify the result.
T First, change the input data for the PerformCreditCheck process by pressing the <F12> key
Note: Alternatively you can right-click the Start activity and select "Add Input Data" or click the "Supply input data" icon on the Designer menu bar.
T In the Tester tab "Jobs" folder, select the PerformCreditCheck process definition and click
the green "Create a job" icon to create a new job instance with the new data:
T Once the job process completes, select the End activity then check the Input Data tab for
the "Rejected" result
Page 88
5.
Test PerformCreditCheck and verify it returns a "Failed" credit check. Analysis: To test for a "Failed" credit check, you will need to induce an error. We will do this by changing the database connection login so that it is invalid.
T Stop Designer test mode by click the red "Stop testing" icon
WARNING: You should not make changes to your project while it is in test mode. Stop testing before making any edits.
T In the Global Variables tab, change the value of the %%bwp/user.Name%% variable from
"userXX" to user and save the changes
T Place PerformCreditCheck into test mode T This time the process should fail at the Get Account Info activity and take the Error
transition; check the Input Data tab of the End activity for the "Failed" result:
Page 89
6.
T Stop Designer test mode and reset the original userXX value for the
%%bwp/user.Name%% global variable
T Lastly, test PerformCreditCheck using an invalid AccountID (one that is not in the
CUSTOMER_ACCOUNT table): This result should be "Rejected" because of the initial part of the Check Credit expression which verifies that the account record exists in the database: (count($Get-Account-Info/resultSet/Record) > 0)
7.
Page 90
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 91
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 92
Unit 4
Generating 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
T Objectives, page 94 T What Are Web Services?, page 95 T SOAP Web Services in BusinessWorks, page 96 T SOAP Message Format, page 97 T SOAP Web Service Operations, page 98 T Generating a Service, page 100 T Result of Service Generation, page 101 T SOAP Web Service Client, page 102 T Lab Implementation, page 103
Page 93
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
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:
T Explore the Web Services capabilities of BusinessWorks T Learn what standards are supported T Learn how to organize your project development environment T Examine and discuss the process definitions comprising Credit
Check Web Service
Page 94
Page 95
Page 96
Message Body
Page 97
Request WSDL
SOAP Client 1
Request operations
Request operations
Application Code
Operation results
Operation results
Page 98
T Application code contains the business logic implementation T SOAP Server receives incoming requests (via SOAP over HTTP
or JMS)
T Service Proxy decodes requests into calls to the application code T 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.
Page 99
Generating a Service
S Convert existing process to service
The process is the operation
S Options:
One service per process One service for multiple processes Service from WSDL
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 100
Page 101
S To test service:
Run client process
TIBCO Software Inc. TIBCO Education Programs
Page 102
Lab Implementation
S Generate SOAP Service for the Perform Credit Check operation S Design SOAP client process S Test Credit Check Service implementation
Lab Implementation
Complete the lab exercises that follow to implement the Credit Check Web Service.
Page 103
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 104
Lab B
Overview
In this lab you generate a Web Service from an existing business process.
Objectives T Generate Credit Check Service, page 106 T Test Credit Check Service, page 109 Prerequisites T TIBCO Software installed and configured on your userXX machine:
Runtime Agent (TRA) 5.5.3 Administrator 5.4.0 (userXX domain created) BusinessWorks 5.6.0 EMS 4.4.2 (added to the userXX domain)
Directions
Complete the exercises that follow.
Page 105
Steps
1. In your bwpXX project, add and configure new resource /BWP.Core/Connections/HTTP Connection. Analysis: This connection provides the transport for the Web Service. BW supports HTTP and JMS for transporting SOAP messages.
T Name: SOAPServerHTTP T Host: %%bwp/host.Name%% (delete the default value localhost and replace with this
global variable, see "To do this" below)
T Port: 7575
To do this: To use a global variable instead of hard-coding a value:
T Select the Global Variables tab T Expand the bwp global variable group T Drag-and-drop the host.Name global variable to the Host field
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. Note: If you want you can create a global variable for the port value instead of hard-coding it.
Page 106
2.
T From the Project tree select process PerformCreditCheck T Right-click and select Tools or Multi-User > Generate Web Service > From Process T Configure the service as follows and click Generate:
Namespace: http://www.tibco.com/bwp/services/ creditcheckabstract Port Type: portType Transport: /BWP.Core/Connections/SOAPServerHTTP Location: Browse to and select /BWP.Core/Services/CreditCheck/Interface
Analysis: Once generated, the service agent (intfPerformCreditCheck-service), SOAP server process (wsPerformCreditCheck), and abstract WSDL (intfPerformCreditCheck) are generated for you in folder /BWP.Core/Services/CreditCheck/Interface.
Page 107
3.
Save the concrete WSDL file for use by clients to call the Credit Check SOAP Service.
T From the Project tree select the intfPerformCreditCheck-service resource T WSDL Source tab:
Target Namespace: http://www.tibco.com/bwp/services/ creditcheckconcrete Click Apply Locate the soap:address element in the WSDL and notice that it contains the endpoint binding and transport URL, indicating that this is the concrete WSDL:
Click Save WSDL and save this WSDL to project folder C:\BWEDU\bwpXX\ BWP.core\Services\CreditCheck\Contract with the file name CreditCheckService_ConcreteWSDL (case sensitive)
T To display the saved WSDL file, from the Project tree select folder Contract then from the
Designer menu bar select Resources > Refresh
Page 108
Steps
1. Create new process TestCreditCheck that includes a SOAP client activity.
T Create new process /BWP.Core/Services/CreditCheck/UnitTest/TestCreditCheck T To this process add a SOAP Request Reply resource T Transition from Start to SOAP Request Reply to End
2. Initiate TestCreditCheck with the CreditCheckRequest element type.
Page 109
3.
Call the CreditCheckService process by configuring the SOAP Request Reply activity.
T Configuration tab:
Name: Invoke CreditCheckService Service: Browse to and select resource /BWP.Core/Services/CreditCheck/Contract/ CreditCheckService_ConcreteWSDL
4.
Return the result of the credit check by configuring the End activity.
5.
Page 110
6.
T Validate the project and debug any errors (Project > Validate Project For Deployment) T In the Project tree select process BWP.Core/Services/CreditCheck/UnitTest/
TestCreditCheck so that it is in view
T Tester tab:
Click the green arrow icon, bringing up the "Select Process to Load" dialog Click Clear All, check only the following components then click Load Selected: BWP.Core/Services/CreditCheck/Interface/intfPerformCreditCheck-service BWP.Core/Services/CreditCheck/UnitTest/TestCreditCheck
T Create a job instance of the TestCreditCheck process and test for "Accepted" and
"Rejected" credit checks using the following data:
Input Accepted Rejected
Amount AccountID
3000.00 1234123412341234
4000.00 1111111111111111
Page 111
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 112
Unit 5
This unit introduces you to the BusinessWorks deployment environment with an emphasis on key features and capabilities.
Topics
T Objectives, page 114 T Deployment Steps, page 115 T Validating Project for Deployment, page 116 T Building Enterprise Archives, page 117 T Process, Adapter and Shared Archives, page 118 T Application Deployment in Administrator, page 119 T Configuring Deployment Details, page 120 T Deploying, page 121 T Redeploying and Versioning, page 122 T Managing and Monitoring Deployments, page 123 T Domain Communications, page 124 T User Management, page 125 T Domain Authorization and Access, page 126 T Domain Resource Management, page 127 T Version Control Using TIBCO XML Canon, page 129 T Why Use XML Canon with BW?, page 130 T Lab Introduction, page 131
Page 113
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
Objectives
After completing this unit you will know:
T What deployment means in context of BusinessWorks T What BusinessWorks components can be deployed T How to configure a project component for deployment T How to deploy a project component T What monitoring information is provided by default and how to
customize monitoring
Page 114
Deployment Steps
Designer
Design
Project VCS
Administrator
Deploy EAR Manage
Debug
S Designer
Validate project Configure deployment and build archive
S Administrator
Upload archive ,configure application Deploy and run Manage and monitor
TIBCO Software Inc. TIBCO Education Programs
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.
Page 115
S Provides error
Details Go to resource Sorting and saving Revalidating
Page 116
S Designer options
Tools > Create Project EAR for quick archiving Configure manually using deployment palettes
Page 117
resources
T A process archives contains process definitions T An adapter archive contains adapter services T Shared archives contain shared resources
Together these components provide the enterprise archive package that can be uploaded to the runtime environment and then deployed.
Page 118
Page 119
Page 120
Deploying
S Before S Options during
Quick deploy (on save) Auto-start deployed services
S After
Deploying
TIBCO Administrator creates a deployable application in two steps:
T Upload the deployable application's EAR file T Set 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 121
Page 122
S Monitor
Perform tracing View active processes Set access
Page 123
Domain Communications
S TIBCO Hawk Agent
Used for deployment and monitoring
BW Process Engine
TIBCO Administrator
Admin Server
Domain Security Project Repository
Web Server
T R A
T R A
BUS
Domain
TIBCO Education Programs
Domain Communications
Page 124
User Management
S Users
Create and manage
S Roles
Create and manage Set authorization Assign to users
S Authorization
Grant access to: BW projects (repository data) TIBCO Administrator UI
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.
Page 125
Page 126
Page 127
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 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 128
Page 129
Page 130
Lab Introduction
S Deploy and manage Credit Check Service
TIBCO Designer:
Validate for deployment Create enterprise archive
TIBCO Administrator
Configure deployment Deploy and monitor
Lab Introduction
In the lab that follows you learn to deploy and manage a BusinessWorks process.
Page 131
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 132
Lab C
Overview
In this lab you configure and deploy your BusinessWorks project and practice fundamental application management and monitoring techniques using TIBCO Administrator.
Objectives T Archive Credit Check Service for Deployment, page 134 T Deploy Credit Check Service, page 136 T Manage and Monitor Credit Check Service, page 138 T Implement Project Version Control, page 142 Prerequisites T TIBCO Software pre-installed and configured on your userXX machine:
Runtime Agent (TRA) 5.5.3 Administrator 5.4.0 (userXX domain created) BusinessWorks 5.6.0 EMS 4.4.2 (added to the userXX domain)
Directions
Complete the tasks that follow.
Page 133
Steps
1. Configure the bwpXX project EAR for deployment.
T From the Designer menu select Tools > Create Project EAR
An Enterprise Archive resource named bwpXX is added to the project at the root level For organization, drag this resource to the project \Deployments folder
Page 134
2.
T Double-click the Enterprise Archive resource to open it and display the Process and Shared
Archives deployment containers Analysis: The Shared Archive is built by default and auto-populated with all shared components required by the Process or Adapter archive.
T Rename the Process Archive resource CreditCheckService T In the Processes tab, click the "Add a process starter to this archive" icon:
Select the intfPerformCreditCheck-service and click OK
3.
T T T T
In the Project tree select the /Deployments/bwpXX enterprise archive In the enterprise archive resource, click Build Archive (lower left) Click OK to confirm the creation of the EAR file Save your project
Page 135
Steps
1. Start TIBCO Administrator and log in using your userXX credentials.
T Start > Programs > TIBCO > TIBCO Administrator Enterprise Edition 5.4 > TIBCO
Administrator
2.
T In Administrator select Application Management and click New Folder T Name: bwpXX (replace XX with your two-digit ID) T Click Save
3. Upload the EAR file to the bwpXX application container.
T T T T T
Select the bwpXX folder Click New Application Browse to and open file C:\bwpXX.ear In Administrator click OK to upload the EAR file In the New Application Configuration: bwpXX window, confirm the "Target" for the CreditCheckService: userXX - new bwengine 5.6.0.xx
Page 136
4.
T T T T
Select Application Management > bwpXX > bwpXX > Configuration In the Configuration Builder, click Deploy Enter a description, such as "Initial Deployment 01" and leave all other settings as default Click OK to deploy the service agent
Analysis: The EAR file is used only for deployment and can be deleted after deployment. Changes made to the EAR file after deployment are not automatically propagated to the deployed project, this requires re-uploading the updated EAR file and redeploying the application via Administrator.
5.
In the Configuration Builder, verify that the process is deployed and troubleshoot as necessary.
T If deployed successfully, you should see that "Deployability" is synchronized and its
"Deployment Status" is success
T If your deployment status does not indicate "Synchronized" and "Success" try these
troubleshooting steps: Redeploy: Click Deploy and try it again Undeploy: Select Undeploy then reupload the EAR file and deploy it again
Page 137
Steps
1. Verify that your deployed CreditCheckService engine is running.
T In Administrator select Application Management > All Service Instances T You should see that a userXX - CreditCheckService instance is Running
If not, select it so that it is highlighted and click Start 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. (And, if you EMS Server is not already running, you can start it from here as well!)
Page 138
2.
Page 139
3.
T When you are done exploring, exit TIBCO Administrator and TIBCO Designer
Page 140
4.
T On the client machine where the TIBCO application (engine or adapter) is deployed to:
C:\tibco\tra\domain\DOMAIN_NAME\application\DEPLOYMENT_FOLDE R_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.
T On the client machine the TIBCO application (engine or adapter) is deployed to:
C:\tibco\tra\domain\DOMAIN_NAME\application\DEPLOYMENT_FOLDE R_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.
Page 141
Steps
1. Check your bwpXX project into TIBCO XML Canon (running on the instructor server).
T From the Designer menu of your bwpXX project, select Project > Save As T Select the XML Canon tab and configure the connection as follows:
For the XML Canon category, click Browse In the "Browse for Project Folder" dialog: In the http:// field enter edusvr:9983 Click Connect If prompted, provide your userXX credentials and click OK
T You 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 142
2.
Create a new Canon child category named bwpXX and save your project to it.
T T T T T T
In the "Browse For Project Folder" dialog, double-click the userXX category Click the New Folder icon at the upper right of the dialog Name the new folder the same as your project: bwpXX (replace XX with your ID) Click OK to create the folder; you should now see folder /userXX/bwpXX Highlight the bwpXX folder and click Select Folder Back at the "Save Project" dialog, verify that your XML Canon Category is listed as: http://edusvr:9983/userXX/bwpXX/
T Using Internet Explorer, access the XML Canon desktop using the following URL:
http://edusvr:9983
T T T T
Provide your userXX credentials and click Submit to login into Canon From the Canon home page select Browse > Categories Expand the userXX category; you should see that it contains the child category bwpXX Select the bwpXX category; you should see that it is...empty; Why? Because you have not yet checked the project resources into XML Canon
4.
T T T T T
Return to your bwpXX session in Designer From the menu bar select Multi-User > Check In Changes A list of changes appears in the XML Canon Check-in dialog Click Check in all and the entire project is checked into XML Canon Close the check in dialog
Analysis: There is required metadata associated with any BW project (e.g., AE Schema, folder files, global variables). When using XML Canon, you must first create the project in Designer, generating the metadata, then check it in.
Page 143
5.
T In Designer you now should see locks on all project folders and resources
Analysis: On the BW client-side, your project resources are locked, indicating that they are checked into a revision control system (RCS) and must be acquired to be edited. On the XML Canon server-side, your project resources are not locked, indicating they cannot be edited until they are checked out (locked).
Page 144
6.
Use XML Canon to document this version of the bwpXX project assets.
T In the Canon Web interface select the Home > DAV tab T Document the upload of the bwpXX project assets as follows:
Click Check All to select all the uploaded assets (scroll to the bottom to see the button) In the Comment field, enter a comment such as: Initial upload of tested bwpXX/CreditCheckService In the Revision Label field, enter a label for this version such as: Initial Version 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.
T T T T
Select this asset so that its "Document properties" appear to the right In the Properties tab, verify attributes Version #, Revision Label and Comment Near the bottom of this page, beneath "Detailed views," click the ProcessDOC link A separate browser window displays a graphical view of the activities in this process:
T Explore the links provided by the ProcessDOC view; when done close the window T In the History tab for this asset, appreciate Canons versioning mechanism:
If you were to upload a new version of this asset, it would be assigned "Version #" 2 You could then compare the versions using the differencing engine (Show differences)
Page 145
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 146
Unit 6
In this unit we review the key BusinessWorks benefits and discuss how it can be the centerpiece of your integration framework.
Topics
T Objectives, page 148 T TIBCO BusinessWorks, page 149 T Business Process Design, page 150 T Project Administration, page 151 T Multi-Platform Support, page 152 T Conclusions, page 153 T Test Your Skills Lab Instructions, page 154
Page 147
Objectives
S Knowledge
Review key features of BusinessWorks
S Skills
Create a new process with limited guidance
Objectives
After completing this unit you will have:
T Reviewed some key features of TIBCO BusinessWorks T Created a new process with limited guidance provided
Page 148
TIBCO BusinessWorks
S GUI-based SOA Integration framework S Standards
J2EE, SOAP, XSLT, XPath, and more
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.
Page 149
S Version control
Multiple developers
Page 150
Project Administration
S Centralized administrator
Manage processes, adapters, machines Security framework
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.
Page 151
Multi-Platform Support
S Operating systems
Windows Unix Linux
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 152
Conclusions
S Maximize existing investments S Rapid development environment S Foundation for future growth
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.
Page 153
T Access to the database is available via userXX login credentials T To view available currency codes in a command prompt:
userXX/userXX@edusvr.tibco.com select CURRENCY_CODE from EXCHANGE_RATE;
Page 154
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 155
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 156
Appendix A
Overview
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 T Extracting Lab Files from the CD, page 158 T Connecting to the Instructor Share Directory, page 159 T Working with Command Prompt (DOS), page 160 T Working with Zipped Files (Using WinZip), page 161 T Creating ODBC Data Source (DSN), page 162 T Managing Windows Services, page 163 T Managing Environment Variables, page 164 T Working with Java Code, page 165 T Finding Your Computers Identity, page 166 T Managing Network Connections, page 167 T Setting Up Email, page 168
Page 157
1.
Insert the Student CD that accompanies this workbook into your local media drive.
2.
In the index page that appears, select the Download Lab Files link.
3.
T At the "Welcome" dialog, click OK. T The directory C:\xxEDU\xxxxx will be auto-created on your local machine corresponding
to your course ID
T Within this directory are subfolders that contain the files youll need during the course lab
exercises.
Page 158
1.
Go to Start > Run and enter \\edusvr where edusvr is the name of the instructor server.
2.
Momentarily you should be connected and have access the /Share folder.
Page 159
1.
T Option 1:
Click Start and choose Run Type cmd and click OK
T Option 2:
Start > Programs > Accessories > Command Prompt
T Option 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.
T To go down a directory:
At the prompt, type in cd followed by a space followed by a child directory name. Tip: You can navigate faster by using the * symbol for name completion. For example, to navigate from C:\ to C:\Documents and Settings use cd doc*.
T To go up a directory:
At the prompt, type in cd..
3.
How to access command history (commands you have already entered in a session).
T From the directory where the document is saved issue command notepad <doc_name>
Page 160
1.
T 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.
2.
T 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.
T 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).
Page 161
1.
T Follow the menu path Start > Settings > Control Panel > Administrative Tools > Data
Sources (ODBC)
T Click on the System DSN tab and choose Add T Select Oracle in OraDb10g_home1 as the driver and click Finish T Here is an example Oracle ODBC Driver Configuration:
Data Source Name: edusvr TNS Service Name: EDUSVR (select from list) User ID: userXX
T Click Test Connection, enter the password (e.g. userXX) and verify success T Click OK to complete the configuration.
2. Create an ODBC Data Source Name for SQL Server 2000.
T Follow the menu path Start > Settings > Control Panel > Administrative Tools > Data
Sources (ODBC)
T Click on the System DSN tab and choose Add T Select SQL Server as the driver and click Finish T Here is an example Data Source to SQL Server configuration:
Name: userXX Server: EDUSVR (select from list - it must be on the running and on the network) Choose SQL Server authentication Provide the Login ID and Password (e.g. userXX)
Page 162
1.
T 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.
T 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.
T In the Windows Services panel, double-click the service T In the General tab
Select 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) You may also Start or Stop the service from here Click Apply and then OK
Page 163
1.
How to view and set the System PATH and CLASSPATH environment variables
T 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)
Page 164
1.
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 164 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.
code (the files that end with the .class extension) and type the following:
java <code_file_name>
Page 165
1.
1: 2:
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 166
1.
2.
4.
How to check the type of network connection you have (Static or Dynamic)
T From the Desktop, right-click on My Network Places and choose Properties T Right-click on the Local Area Connection and choose Properties. T In the General tab, scroll to the bottom of the list of items the connection uses and highlight
Internet Protocol (TCP/IP) then click Properties.
Page 167
Setting Up Email
The email server is named edusvr and runs on the instructor server. You can send and receive email from your userXX machine using Outlook Express email client.
1.
T From the Outlook Express menu select Tools > Accounts T In the Properties tab, verify or enter:
Mail Account = userXX Name = userXX Email Address = userXX@edusvr
Page 168
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 169
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 170
Page 171
Page 172