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 2006 TIBCO Software Inc. ALL RIGHTS RESERVED.
Program Contents
Program Contents
Program Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
Welcome . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Module Agenda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Module Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Materials and Lab Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Certified Professional Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Certification Exam Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Facilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 3 4 5 7 8 9
Unit 1
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Software Inc. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How TIBCO Delivers for Customers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The TIBCO Advantage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Delivers: SOA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SOA Platform: TIBCO BusinessWorks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Application Integration: TIBCO Adapter Suite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Building the Enterprise Service Bus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Monitoring and Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Partner Integration: TIBCO BusinessConnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Data Integration: TIBCO DataExchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mainframe Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Collaborative Information Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Delivers: BPM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . BPM: TIBCO iProcess Engine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . BPM: TIBCO iProcess Decision Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . BPM: TIBCO iProcess Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TIBCO Delivers: Business Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Rich Client: TIBCO General Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Business Optimization: TIBCO BusinessEvents . . . . . . . . . . . . . . . . . . . . . . . . . . . Business Optimization: TIBCO PortalBuilder. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Page iii
Unit 2
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 TIBCO BusinessWorks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 BusinessWorks Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 BusinessWorks Methodology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 TIBCO Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 TIBCO Administrator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 What Is a TIBCO Domain? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Domain Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Domain Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Management Using Administrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 BusinessWorks Demo. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Unit 3
Topics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 TIBCO Designer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Process Design. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Activity Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 XPath Formula Builder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 TIBCO Query Designer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Project Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 Process Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 Project Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Project Global Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Lab Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Lab A: Implement Perform Credit Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Create New Project from Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Design Perform Credit Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Test Perform Credit Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Page iv
Program Contents
Unit 4
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . What Are Web Services?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SOAP Web Services in BusinessWorks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SOAP Message Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SOAP Web Service Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Generating a Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SOAP Web Service Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Lab Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Lab B: Implement Credit Check Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Unit 5
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Deployment Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 Validating Project for Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 Building Enterprise Archives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Process, Adapter and Shared Archives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110 Application Deployment in Administrator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 Configuring Deployment Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112 Deploying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113 Redeploying and Versioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114 Managing and Monitoring Deployments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115 Domain Communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116 User Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117 Domain Authorization and Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118 Domain Resource Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119 Version Control Using TIBCO XML Canon. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Why Use XML Canon with BW? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 Lab Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Lab C: Deploy Credit Check Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Archive Credit Check Service for Deployment. . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Deploy Credit Check Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Manage and Monitor Credit Check Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Page v
Unit 6
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 TIBCO BusinessWorks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 Business Process Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Project Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 Multi-Platform Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 Test Your Skills Lab Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Appendix A
Page vi
Program Overview
Program Overview
Welcome to Essentials of TIBCO BusinessWorks 5.3. This one day program provides hands-on experience designing, testing, deploying and managing TIBCO BusinessWorks projects. This introductory unit provides an overview of the course, including learning objectives, agenda and lab environment.
Topics
Welcome, Module Module
page 2
Facilities,
Page 1
Welcome
Name Company Job title and responsibilities Industry experience TIBCO Software experience Goals and expectations for this course
S
Page 2
Welcome
To begin the course, tell the instructor and your classmates about your background and experience. Describe your expectations for the course, and, in particular, how you plan to use TIBCO BusinessWorks to address your own business integration needs.
S S S S S
Program Overview
Module Agenda
1. Introducing TIBCO Solutions 2. Introducing TIBCO BusinessWorks 5.3 3. Process Design and Testing
Lab A
4. Service Generation
Lab B
6. Summary
Module Agenda
After briefly reviewing TIBCO as a company and the solutions it delivers, you have an overview of BusinessWorks components and a product demonstration. Following this you learn how to develop, deploy and manage BusinessWorks projects, reinforced by hands-on exercises. The instructor will provide time for breaks during the course.
Page 3
Module Objectives
Knowledge
Define BusinessWorks components Explain TIBCO Designer development environment Explain TIBCO Administrator runtime environment
Module Objectives
Through a combination of instructor-led lecture, product demonstrations and practical exercises, the goal of this course is to give you a solid introduction to TIBCO BusinessWorks, including:
Essential
Page 4
S S
Skills
Navigate TIBCO Designer and Administrator environments Create BW projects and processes Configure activities and resources Test and debug processes Generate services Deploy and manage engine
knowledge and skills to design, test, deploy and manage basic BusinessWorks projects.
Program Overview
Materials
Workbook Slides and notes
Environment
Windows 2003 and XP
edusvr instructor server userXX student clients
S S
' To Do:
Extract Student CD Access BW Home Page at: http://edusvr:8080/bw/index.html
Page 5
Page 6
Program Overview
TIBCO Certified Professionals are entitled to a 20% discount on all Technical Learning Center classes.
For TCP Program requirements and details, visit www.tibco.com/services/educational/certification
TIBCO Software Inc. TIBCO Education Programs
Page 7
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 solutions.
Topics
Objectives, TIBCO How The
page 12
TIBCO SOA
Application Building
Mainframe TIBCO
Page 11
Objectives
Introduce TIBCO Software Inc. as a company Discuss three key demands and TIBCO solutions for:
Service-Oriented Architecture (SOA) Business Optimization (BO) Business Process Management (BPM)
Objectives
On completion of this unit you will be able to:
Describe
Page 12
S S S
Identify the TIBCO software components supporting SOA, BO and BPM solutions
Define unique TIBCO terminology
TIBCO Software Inc. as one of the worlds leading software providers, known for its independent and innovative position in the market. the three main reasons why organizations come to depend on TIBCO solutions, namely, accelerate projects, initiatives and go-to-market cycles automate and streamline business processes improve operational visibility, collaboration and be proactive.
Discuss To To To
Identify
the TIBCO software products that support the critical challenges that these solutions present
S S S S
20 years of delivering leading software products and services 2,500+ customers, 175+ partners 50+ worldwide offices
Years of continued growth Professional Certifications Financial Strength Listed on NASDAQ: TIBX
S S S
Page 13
been the first to introduce the information bus and publish/subscribe messaging, define real-time business, link businesses together in partner portals, tie integration and workflow together for next generation process management and enable proven enterprise integration. Solutions: With over 2,500 customers and 175 partners weve established a strong, growing and profitable business. This momentum and a very strong cash position place TIBCO as one of the worlds top 20 software companies.
Proven
Page 14
Strong
brand and company: We have a large R&D commitment to drive innovation in support of customer demands. We stay in tune with an active users community (TUCON) and a professional Certification Program. Both key benchmarks of a leader!
Page 15
PERFORMANCE
NEUTRALITY
FLEXIBILITY
Page 16
S S S
Strategic Advantages
Use only the products required Add more as your requirements grow
2. Business Process Management: helps organizations increase efficiency and effectiveness by automating and streamlining business processes 3. Business Optimization: improves operational visibility, collaboration and responsiveness.
Page 17
Business Optimization
ServiceOriented Architecture
Page 18
Integration
Application/data Integration Trading Partner Management Master Data Management Enterprise Service Bus
CRM
Systems
Logistics
BusinessWorks
Production
Warehouse
Legacy
Page 19
Page 20
S S
Adapter
Information Bus
S S
High velocity/high volume of information movement Standards support (XML, SOAP, JMS)
Options
TIBCO Rendezvous TIBCO Enterprise Message Service TIBCO SmartSockets
Enterprise Service Bus (ESB)
CRM
DB
ERP
Legacy
Page 21
Page 22
S S
Hawk
business processes to IT infrastructure, providing business context to monitoring events. ability to manage service level agreements by providing metrics on both business process and infrastructure.
Improves
Page 23
Page 24
Your Business
Private Process
BusinessWorks
BusinessConnect
B2B Server
Internet
EDI
S S
TIBCO DataExchange
Page 25
Mainframe Integration
TIBCO Mainframe Server Suite
Bi-directional mainframe connectivity
Integration gateways
External applications
.Net, J2EE
syawetaG esabataD
Mainframe Integration
For Business Integration in a mainframe environment, TIBCO has a suite of products, named TIBCO Mainframe Server Suite. The components are: back-end (database gateways), Integration Foundation and front-end (Integration Gateways). The back-end database gateways connect to a variety of mainframe and non-mainframe databases (DB2, Oracle, Informix, Sybase, etc.). The from-end integration gateways allow for communication to external applications such as J2EE and .NET applications. The integration foundation for the same configuration capabilities (and look-and-feel) whether running on a mainframe, UNIX or Windows based systems.
Page 26
rotargetnI emarfniaM
z/OS
syawetaG noitargetnI
S S
External Apps
Components
Database gateways
Windows
Solaris
Linux
Mainframe
ERP #2
Sales
Supply Chain
JMS/XML
PLM
Packaging IT
Lifecycle Management: Consistent creation to consumption processes, Industry/domain specific Referential Repository: Central or virtual store for reference, Cross indexing as required, Validation data and contextual Alignment: Process integration for internal systems
Internal
External
JMS/XML
Customer Support
Composite Application
Content Mgrs
Composite Application
Page 27
Page 28
ServiceOriented Architecture
S S
Page 29
Page 30
S S
S S
Page 31
Business Optimization
ServiceOriented Capabilities: Architecture Rich Client Event Correlation Complex event processing
Page 32
XML-based
Rich Client
Page 33
Page 34
S S
actions
S S
Page 35
Page 36
S S
Collect Aggregate
Data Sources
Databases, Applications
Collection
Presentation
Decisions
Business Optimization
ServiceOriented Architecture
Increasing VOLUME
Increasing VELOCITY
Increasing VARIETY
of millions of telecom service requests and events of supply chain events and channel transactions
Page 37
Summary
S TIBCO
Leader, Proven and Strong
S TIBCO Advantage
Performance, Neutrality, Flexibility
Summary
TIBCO is one of the worlds leading software providers, known for
three main reasons why organizations come to depend on TIBCO solutions, namely:
To improve operational visibility, collaboration and be proactive To To
increase operational efficiency and effectiveness accelerate projects, initiatives and go-to-market cycles Real-time
How?
Page 38
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 39
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 40
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
Objectives, TIBCO
page 42
Is a TIBCO Domain?, page 48 Security, page 49 Monitoring, page 50 Using Administrator, page 51 Demo, page 52
Domain Domain
Management
BusinessWorks
Page 41
Objectives
S Knowledge
Define BusinessWorks components
TIBCO Designer TIBCO Administrator
Objectives
After completing this unit you will be able to:
Describe List
how to develop, deploy and manage integration projects using TIBCO BusinessWorks the two BusinessWorks end-user tools and describe the purpose of each the concept of the BusinessWorks domain and the components comprising it from experience design- and run-time aspects of a BusinessWorks project
Explain
Describe
Page 42
TIBCO BusinessWorks
Extensible framework for SOA integration Built-in monitoring and management Used to build integration projects Application Connectivity
Different types and different technologies
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.
S S S S
CRM
.NET
Mainframe
BusinessWorks
ERP
EJB
Legacy
Page 43
BusinessWorks Components
TIBCO Designer TIBCO Administrator Plug-ins: TIBCO Adapters
S
Page 44
BusinessWorks Components
The primary BusinessWorks components include the following:
TIBCO
S S
Deploy
TIBCO Designer
TIBCO Administrator
Designer provides a graphical unified environment for designing solutions and preparing them for runtime deployment
environment for deploying runtime components, monitoring runtime components and administering the runtime environment
BusinessWorks TIBCO
Adapters are used to integrate external applications into the BusinessWorks framework
BusinessWorks Methodology
S Distinct environments
Developers use Designer
Build Enterprise Archive (EAR) files
TIBCO Designer
EAR
TIBCO Administrator
Development
Production
BusinessWorks Methodology
Page 45
TIBCO Designer
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 46
S S
TIBCO Administrator
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.
S S S
Page 47
S Administrator
Monitors and manages domain components
Page 48
Domain Security
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 49
Domain Monitoring
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 50
S S
S Administrator can:
Start/Stop Components Configure fault-tolerant processes Manage inventory
Add remove components
Page 51
BusinessWorks Demo
S
BusinessWorks Demo
The instructor will demonstrate TIBCO BusinessWorks, emphasizing design- and run-time features of the product.
Page 52
Browser
BW SOAP Server
BW Home Page
You
Instructor
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 53
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 54
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
Objectives, TIBCO
page 56
Formula Builder, page 62 Query Designer, page 63 Resources, page 64 Testing, page 65 Templates, page 67 Global Variables, page 68
TIBCO Project
Introduction, page 69
Page 55
Objectives
Knowledge
Describe development and testing using TIBCO Designer Define components in BW process definitions Explain resources, management and administration capabilities
Objectives
After completing this unit you will know:
How
Page 56
S S
Skills
Create and access projects Design and test BW processes
Configure activities and resources
to navigate the BusinessWorks project development environment (TIBCO Designer) a BusinessWorks process definition comprises to configure project activities and services to use shared project resources
Additionally, you will be prepared to proceed with Lab A in which you develop a simple BusinessWorks project.
TIBCO Designer
Intuitive, palette-based GUI with drag-and-drop functionality Position in project tree changes palettes displayed
S S
3 1
Project Directory Process Design
4 2
Project Resources Activity / Resource Configuration
TIBCO Designer
TIBCO Designer is an easy-to-use GUI for configuring, designing and testing BusinessWorks projects. As a component of BW, TIBCO Designer provides a rich, integrated development environment including project directory (upper left), project resources (lower left), process design (upper right), and activity configuration (lower right). Palettes provide easy access to process activities. You simply drag-and-drop resources from the palette to the design panel to add them to your project. Which palette is displayed depends on the object selected in the project tree. BW palettes contain two types of objects:
Activities
definition
Resources
which define things such as configuration details which are used (by reference) in activities
Page 57
Projects
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 58
Process Design
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 59
Any single process activity (source) may have multiple transitions out and each transition must be one of four allowed types:
Success
Source activity of transition did not have an exception. You may create as many of this as required. If there is no exception in the source activity then every 'Success' transition will be taken. The developer has no control over the order of the transitions. The process definition executes using a single thread. Source activity of transition did have an exception (only one allowed per source). with Condition Source activity of transition did not have an exception and a stated boolean XPath expression evaluates to true. If there is no exception in the source activity then every 'Success with condition' transition which evaluates to true will be taken. Any 'Success' transitions will also be taken. The developer has no control over the order of the transitions.
Error
Success
Success
with No Matching Conditions Source activity of transition did not have an exception and there were no 'Success with condition' transitions which were true. (only one allowed). Any 'Success' transitions will also be taken. The developer has no control over the order of the transitions.
Page 60
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:
Configuration Input
Which involves defining (naming) the activity and specifying certain settings. Which allows you to map the data input to the activity.
Output Which allows you to view the data that will be output by
activity. Certain activities may also have Headers, Input and Output Schema tabs that may require further configuration. In addition, BusinessWorks provides GUI tools (see next two slides) to help configure activities.
Page 61
Page 62
p ro dD n ga ra D
S S
Page 63
Project Resources
Shared resources are reusable across the project Can be:
XML, XSD, WSDL files Connections to external systems
JDBC, FTP, TCP etc
JMS SMTP Files
Project Resources
For any project you are developing using BusinessWorks, you can use shared resources to accept data from various external sources, including:
JMS
Page 64
S S
FTP
TIBCO BusinessWorks
SOAP HTTP / HTTPS
RV
JDBC
You can also use adapter resources to integrate with external sources via a TIBCO Adapter and define schema objects for accepting external data.
Process Testing
Built-in tester/debugger
Test multiple processes Examine process data
Input and Output 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:
Examine errors
Error msg, Show Console, Error tabs
Page 65
Breakpoints can be set before and after activities to stop the testing
processes can be loaded for testing so you can debug several parts or an entire project data can be supplied to a process so that you can test it independently of the process on which it is dependent for data
Show Console displays the Java console so you can view errors and
debug accordingly; -d will enhance the amount of messages shown in the Console window
Page 66
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 67
Page 68
S S
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 69
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 70
Lab A
Overview
In this lab you learn the fundamentals of developing TIBCO BusinessWorks process definitions in the TIBCO Designer environment.
Objectives
Create Design Test
Prerequisites
EDUSVR TIBCO
instructor server and userXX student client platform Agent (TRA) 5.3.2 5.3.0 (userXX domain created) 5.3.0
Runtime
4.3.0 (added to the userXX domain) to the instructor server for: Home Page at http://edusvr:8080/bw/index.html Database and Mercury Email servers
Directions
Complete the exercises that follow.
Page 71
Steps
1. Start the relevant TIBCO services and set them to "automatic."
There
are three TIBCO services to be concerned with in this course: Administrator 5.3 (userXX) EMS Server (PID: xxx) Hawk Agent (userXX)
2.
Create a new BusinessWorks project named bwpXX using the provided Designer template. Analysis: Templates facilitate project organization and shared development. You can create a project-wide template containing folders, metadata, shared libraries and global variables. Templates allow you to standardize and reuse resources.
Start
> Programs > TIBCO > TIBCO Designer 5.3 > Designer 5.3 New project from template to and open file C:\BWEDU\Template\bwpXX.designertemplate Directory: C:\BWEDU\bwpXX (replace XX with your two digit ID, e.g., bwp09) Designer initially opens you are prompted to save the project: OK and the BW development environment for your bwpXX project opens
Browse
Project
Note: When Designer initially opens it presents Tips which can be disabled.
Page 72
3.
Customize the TIBCO Designer palette view and your own preferences. Analysis: Designers default layout view is three panels with the project tree at the left. You can change this (Edit > Preferences > View) but all labs assume the default layout.
In
the Palettes tab the default view shows all resources in the General Resources palette
To
categorize resources into individual palettes, from the tool bar click the "Switch Palette Modes" icon (this mode is assumed going forward)
4.
the project tree, select the root-level bwpXX project folder (uppermost in the tree) that the template contains several pre-defined subfolders for organizing your project:
Notice
Analysis: The AESchemas folder contains adapter metadata and exists by default in any TIBCO Designer-based project. The other folders have been created for you and templatized to organize and facilitate development.
Select In In
the design panel to the right, right-click and select New Folder the configuration quadrant (lower right): this new folder CreditCheck Apply
the Designer tool bar, select the Save icon to save your project
WARNING: Apply your settings each time you configure a folder, resource or process activity. Also, save your project frequently. An asterisk (*) next to the project name in the title bar indicates the project contains data that has not been saved.
Page 73
5.
the pencil icon at the top of the variables listing to open the Global Variables editor the bwp group, revealing four global variables created for you example: USER09 (please use all capital letters for this entry) example: user09 (these entries are lower case)
the bottom of the listed variables youll see a variable group named bwp the host.Name variable, click in the value field and change XX to match your ID the user.Name and user.Password variables change XX to match your ID OK to close the editor the Designer tool bar, click the Save icon to save your project (or Project > Save)
Analysis: Global variables are available project-wide and facilitate shared development. A global variables value is substituted at runtime for all occurrences of the global variable name.
6.
Test the pre-defined resource /SharedConnections/OrderDB to verify connectivity with the instructor database.
Select Notice
that this resource is pre-configured with the following parameters and global variables:
Name: JDBC User
Connection Database
Name: %%bwp/user.Name%%
Password: Click
Page 74
Steps
1. In folder /ProcessDefinitions/CreditCheck define the PerformCreditCheck process.
Drag-and-drop Name Click
the PerformCreditCheck process definition to see the Start and End activities that exist by default with any process definition
Services, Folders and Resources do not have spaces in their names and use initial capitals activities do use spaces between names and initial capitals, the exception being where default activity names are used that do not employ spaces, such as RetrieveResources
Page 75
2.
In the PerformCreditCheck process, add and transition the following activities: Start > JDBC Query > Mapper > End. Analysis: To familiarize you with the Designer interface and BusinessWorks resources, first create the project shell activities and their transitions, then configure them in order of processing, from left to right.
From From On
the JDBC palette, add a JDBC Query activity the General Activities palette, add a Mapper activity to JDBC Query Query to Map Data Query to End, which is taken on Error if the database query fails Data to End
the tool bar, select the "Create transition" icon and connect the activities as follows:
Start Map
JDBC JDBC
3.
Tip: To change the default line mode, in Designer select View > Default Line Mode. The example shown uses Multi-Bend.
Page 76
4.
Initiate PerformCreditCheck using the CreditCheckSchema provided to you as part of the bwpXX template.
In
the Output Editor of the Start activity: the "Add Child" icon, creating the root element the "root" element and configure it:
Click
Select
Content: XML Element Reference Schema: Browse to and select /SharedResources/CreditCheckSchema with Element CreditCheckRequest In the Preview panel to the right, select the Tree tab and view the data elements required for a credit check request: Amount and AccountID
Click OK to close the "Select a Resource..." interface When you are done the configuration should look like this:
Analysis: Inputs to a process can be defined in its Start activity. Output from a process can be defined in its End activity. It is good practice to use schema for data input and output, since this is required to expose a process as a service.
Page 77
5.
Query the CUSTOMER_ACCOUNT table by configuring the JDBC Query activity to retrieve the account information for a specified AccountID.
JDBC JDBC Type
Query Name: Get Account Info Connection: Browse to and select /SharedConnections/OrderDB
Note: After applying a resource name change, click OK to check for any references. in or build using the TIBCO Query Designer this query (see steps below):
SELECT CUSTOMER_ACCOUNT.AMOUNT_OWED, CUSTOMER_ACCOUNT.AVAILABLE_CREDIT FROM CUSTOMER_ACCOUNT WHERE ((CUSTOMER_ACCOUNT.ACCOUNT_ID =?)) To do this: To build this SQL using the TIBCO Query Designer:
Click
"Build using wizard" (pencil icon) your userXX account, then Tables the CUSTOMER_ACCOUNT table to the panel at right each column to include it in the query "Show"
Expand
the ACCOUNT_ID column: the Where cell type =? and hit <Enter> on your keyboard that your query matches the SQL shown above
the SQL tab check "Do not use schema names in SQL statement" OK to close the Query Designer
Verify Click
Note: In this instance, if you try to use the SQL tester or syntax checker neither will work because of the expected input parameter defined using =?.
In the Configuration tab, click + in the "Prepared Parameters" section to add a new parameter
the Input tab click Fetch map the data input for this activity: the available Process Data on the left drag $Start\CreditCheckRequest\AccountID jdbcQueryActivityInput\Prepared_Param_1 Activity Input on the right
To
From To In
the Output tab, expand "resultSet/Record" and verify that the AMOUNT_OWED and AVAILABLE_CREDIT elements are returned
Page 78
6.
Compute the customers credit Status by configuring the Mapper activity. Analysis: To compute the credit Status build an XPath expression: If (record returned from the database AND Amount + outstanding balance <= available credit) then credit Status is "Accepted," else Status is "Rejected."
Mapper In
the Input Editor, add required string Status (replace "root" as follows): Status
Cardinality:
String
the Input use a "Surround with Choice" statement to determine the credit Status
To do this: To create this choose condition, use the XPath Formula Builder:
Select
the text string "Status" (NOT the text field next to "Status") and select Statement > Surround with Choice of when conditions: 1
otherwise: checked
OK
Now that you have the "Choose" condition, use the pencil icon to open the XPath Expression
Editor and build the following boolean expression: Tip: You can copy this expression from C:\BWEDU\XPath\Expressions.txt. If you have errors, use the Mapper Check and Repair feature. A dialog displays the potential problems in the mapping. Select the Fix checkbox to repair any errors.
When:
Otherwise:
Status: "Rejected"
In
the Output tab for this activity, verify that Status is returned
Page 79
7.
Complete the process definition by configuring the End activity to return the result of the credit check (Status or Failed). Analysis: The End activity can be configured to return the result(s) from a completed process definition. In this case the result is either "Accepted," "Rejected" or "Failed" (if the database query fails).
In
the Input Editor tab for the End activity: the "Add Child" icon, creating root the "root" element and configure it:
Click
Select
Content: XML Element Reference Schema: Browse to and select /SharedResources/CreditCheckSchema Element: CreditCheckResult
For
the Input to Status, create a "Surround with Choice" statement with 1 condition: $_error (in the Mapping Wizard select "Set formula" then Finish) Status: "Failed"
When:
Otherwise:
Status: $Check-Credit/Status
8.
Tip: Use the Label activity (in the General Activities palette) to comment a process.
Page 80
Steps
1. Configure Designer test environment preferences. Analysis: You can configure the Designer Tester to suit your preferences and view testing as it transitions through a process.
From Set
the Designer menu select View > Test Options > Moving Ball Options "Show Ball"
Select
2.
the Designer menu select Project > Validate Project for Deployment
configured correctly, you should not have any errors (other than those listed under "Unassociated Errors & Warnings," which can be ignored) you do have project-associated errors, double clicking the error will take you to the misconfigured resource so you can fix it and repair until all relevant errors are cleared the project validator when done
If
Revalidate Close
Page 81
3.
Test PerformCreditCheck and verify it returns the correct credit check result. Analysis: Provide the required inputs to check for credit status using the specified AccountIDs. Verify results by checking the End activity data.
To In
test PerformCreditCheck, in the Tester tab click the green arrow icon Load Selected for an "Accepted" credit check using:
the Select Processes to Load dialog verify that PerformCreditCheck is checked will be prompted to supply the expected input data: Amount: 3000.00 AccountID: 1234123412341234 Click OK and the process runs; you should be able to see it complete to end Check the Input Data tab of the End activity for the "Accepted" result
Click You
Test
Test
Right-click the Start activity and choose "Add Input Data" (or press <F12> key) Enter the following and click OK:
Amount:
4000.00 1111111111111111
AccountID:
In the Tester tab select ProcessDefinitions/CreditCheck/PerformCreditCheck Click the green process icon ("Create a job") to resume testing with the new data Once again you should see the process complete to end Check the Input Data tab of the End activity for the "Rejected" result
Test
In the OrderDB resource, type in an incorrect password, such as failed Create another PerformCreditCheck job with the appropriate test data This time it should take the Error transition from Get Account Info to End To verify, check the Input Data tab of the End activity for the "Failed" result When done, reset the original password using the global variable and retest Tip: You can set breakpoints within a process definition so that testing is stopped mid-stream before or after any activity in the process. This is most useful when testing large process definitions.
Page 82
4.
Repeat testing using different AccountIDs and Amounts chosen from those available in the CUSTOMER_ACCOUNT table shown below.
For
example, you could retest the credit check using: 3333333333333333 99999.00 for "Accepted" and/or 101000.00 for "Rejected"
result should be "Rejected" since the initial part of the expression checks if the account is valid: (count($Get-Account-Info/resultSet/Record) > 0)
5.
WARNING: You should not make changes to your project while it is in test mode. Stop testing before making any edits.
Page 83
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 84
Unit 4
Generate Services
This unit explores BusinessWorks support for SOAP-based Web Services. This unit prepares you for the lab implementation that follows in which you design the Credit Check Web Service.
Topics
Objectives, What
page 86
Are Web Services?, page 87 Web Services in BusinessWorks, page 88 Message Format, page 89 a Service, page 92
SOAP SOAP
Implementation, page 94
Page 85
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:
Explore Learn Learn
what standards are supported how to organize your project development environment
Examine Explore
and discuss the process definitions comprising Credit Check Web Service advanced features of the interactive debugger
After completing this unit you will proceed with the first phase of the implementation as specified in the lab that follows.
Page 86
S S
Page 87
Page 88
S S
Message Body
Page 89
Request WSDL
SOAP Client 1
Request operations
Request operations
Application Code
Operation results
Operation results
Page 90
Server receives incoming requests (via SOAP over HTTP or Proxy decodes requests into calls to the application code
JMS)
Service Service
Proxy may then encode a response for Service listener to reply with
Because of the abstraction provided by the standards-based interface, it does not matter whether the application services are written in Java and the browser is written in C++, or the application services are deployed on a Unix box while the browser is deployed on Windows. Web Services enable cross-platform interoperability in a way that makes the application platform irrelevant.
Page 91
Generating a Service
Convert existing process to service
The process is the operation
Generating a Service
BW provides WSDL resources for defining Web Service interfaces and SOAP activities for building Web Service servers and clients. Abstract WSDLs are constructed using the WSDL resource and the message, operation and port type parameters that are required for the interface. Abstract WSDLs are derived from an XSD schema that you create using BW or that you import into your project. The concrete WSDL, the one used by clients to call the Web Service, is derived from the application of the abstract WSDL to a SOAP activity and the specification of the HTTP or JMS transport for that activity. In other words, the concrete WSDL = the abstract WSLD plus the transport (EMS/JMS or HTTP).
Page 92
S S
Options:
One service per process One service for multiple processes Service from WSDL
S To invoke service:
Access WSDL
Request WSDL
SOAP Client 1
Request operations
Request operations
Application Code 3
Operation results
Operation results
Page 93
Lab Implementation
Design SOAP Server processes Design SOAP client process Test Credit Check Web Service using SOAP Client
S
Page 94
Lab Implementation
Complete the lab exercises that follow to implement the Credit Check Web Service component.
S S
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 95
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 96
Lab B
Overview
In this lab you generate a Web Service from an existing business process.
Objectives
Generate Test
Prerequisites
EDUSVR TIBCO
instructor server and userXX student client platform Agent (TRA) 5.3.2 5.3.0 (userXX domain created) 5.3.0
Runtime
4.3.0 (added to the userXX domain) to the instructor server for: Home Page at http://edusvr:8080/bw/index.html Database and Mercury Email servers
Directions
Complete the exercises that follow.
Page 97
Steps
1. In your bwpXX project, configure new resource /SharedConnections/HTTP Connection. Analysis: This connection provides the transport for the Web Service. BW supports HTTP and JMS for transporting SOAP messages.
Name: Host: Port:
SOAPServerHTTP
%%bwp/host.Name%% (delete the default value localhost and replace with this global variable, see "To do this" below) 7575
the Global Variables tab the bwp global variable group the host.Name global variable to the Host field
Expand
Drag-and-drop
Note: If the field has a globe icon marker to its right, you must first select this icon, then drag-and-drop the desired global variable.
Page 98
2.
the project tree select process PerformCreditCheck and select Tools or Multi-User > Generate Web Service > From Process the service as shown and click Generate:
Right-click Configure
Analysis: Once generated, the service agent (intfPerformCreditCheck-service), SOAP process (wsPerformCreditCheck) and abstract WSDL (intfPerformCreditCheck) are created in the /CreditCheck folder.
3.
Save the concrete WSDL file for use by clients to call the service.
Select In
the WSDL Source tab, scroll to the bottom of the WSDL and notice it contains the endpoint binding and transport URL, indicating that this is the concrete WSDL WSDL Source tab (scroll up to view), change the Target Namespace to the following: Apply and then click Save WSDL
http://www.tibco.com/bwp/services/creditcheckconcrete this WSDL to C:\BWEDU\bwpXX\SharedResources with the name CreditCheckService_ConcreteWSDL (case sensitive)
Designer, save your project then select project folder /SharedResources and from the menu select Resources > Refresh; the saved WSDL should appear
Page 99
Steps
1. Create new process named TestCreditCheck that includes a SOAP client activity.
Create In
Transition
2.
the Start activitys Output Editor with the CreditCheckSchema: XML Element Reference CreditCheckSchema CreditCheckRequest
Page 100
3.
Call the CreditCheckService process by configuring the SOAP Request Reply activity.
Name: For In In
Invoke CreditCheckService
the Service, browse to and select /SharedResources/CreditCheckService_ConcreteWSDL the Input tab map $Start/CreditCheckRequest to inputMessage/CreditCheckRequest and select "Make a copy of CreditCheckRequest" in the Mapping Wizard and click Finish the Output tab, verify that the outputMessage/CreditCheckResult/Status is returned
4.
Return the result of the credit check by configuring the End activity.
Input
5.
Page 101
6.
the project and debug any errors (Project > Validate Project For Deployment)
the Tester tab click the green arrow, check the following components and click Load Selected:
ProcessDefinitions/CreditCheck/intfPerformCreditCheck-service ProcessDefinitions/CreditCheck/TestCreditCheck
Highlight the TestCreditCheck process and click the green circle icon (in other words, create
the "Input Data" window, test for an "Accepted" credit check using: 3000 1234123412341234
Amount: In Test
AccountID:
the End activity you should see the "Accepted" status 4000 1111111111111111
Amount: In After
AccountID:
the End activity you should see the "Rejected" status testing is complete, stop the tester (i.e., click the red button)
Page 102
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 103
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 104
Unit 5
This unit introduces you to the BusinessWorks deployment environment with an emphasis on key features and capabilities.
Topics
Objectives,
Enterprise Archives, page 109 Adapter and Shared Archives, page 110 Deployment in Administrator, page 111 Deployment Details, page 112
Management, page 117 Authorization and Access, page 118 Resource Management, page 119 Control Using TIBCO XML Canon, page 121
Use XML Canon with BW?, page 122 Introduction, page 123
Page 105
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:
Key
features and requirements of the BusinessWorks deployment environment deployment means in context of BusinessWorks BusinessWorks components can be deployed to configure a project component for deployment to deploy a project component
monitoring information is provided by default and how to customize monitoring to manage domain users and resources using the Administrator interface
Page 106
Deployment Steps
Designer Design
Project VCS
Debug
Designer
Validate project Configure deployment and build archive
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.
S S
Administrator
Upload archive ,configure application Deploy and run Manage and monitor
TIBCO Education Programs
Page 107
Provides error
Details Go to resource Sorting and saving Revalidating
S Designer options
Tools > Create Project EAR for quick archiving Configure manually using deployment palettes
Page 109
Page 110
S S
process archives contains process definitions adapter archive contains adapter services archives contain shared resources
An
Shared
Together these components provide the enterprise archive package that can be uploaded to the runtime environment and then deployed.
Page 111
Page 112
S S
Advanced
Global and environment variables Custom monitoring
Deploying
S
Upload Set
Before
Options during
Quick deploy (on save) Auto-start deployed services
Deploying
TIBCO Administrator creates a deployable application in two steps: the deployable application's EAR file
S S
After
Deployable applications can be organized within TIBCO Administrator folders. Before deployment Administrator indicates the "deployability" of archived components. There are various options during deployment, including a quick deploy option as well as the option to automatically start deployed components. After deployment Administrator displays the deployment status.
Page 113
If project changes
Validate and archive Upload new EAR Redeploy
Page 114
S S
Monitor
Perform tracing View active processes Set access
Page 115
Domain Communications
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 116
User Management
Users
Create and manage
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.
S S S
Roles
Create and manage Set authorization Assign to users
Authorization
Grant access to: BW projects (repository data) TIBCO Administrator UI
Page 117
Page 118
Access Is used to specify access to what information users can see via the Administrator GUI at runtime Access Is used to specify access rights to user information (kept in local files and not in LDAP) and for access to domain repositories which are created by the deployments
Data
By default the root administrator has full access privileges. The root administrator can grant full access to other users or can authorize partial access to the Admin UI and Data. New users created by the administrator must be granted authorization privileges before they can log in to TIBCO Administrator.
Machines module provides information about machines in the domain, including CPU and memory usage, as well as active alerts Installed Software module provides an inventory of TIBCO software installed in the domain, including the machines hosting this software
As we have already seen, the Application Management console provides authorized users with the ability to monitor and manage deployed components. The TIBCO Domain consists of a set of machines, the BW components installed to those machines, and the domain server that administers the domain. The TIBCO Domain Utility is used to
Page 119
manage domain machines and the domain server for such tasks as adding machines to a domain, creating additional domains and creating backup domain servers.
Page 120
Page 121
Page 122
Lab Introduction
Lab Introduction
In the lab that follows you learn to deploy and manage a BusinessWorks process.
Page 123
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 124
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
Archive Deploy Manage
Credit Check Service for Deployment, page 126 Credit Check Service, page 127 and Monitor Credit Check Service, page 129 Project Version Control, page 132
Implement
Prerequisites
EDUSVR TIBCO
instructor server and userXX student client platform Agent (TRA) 5.3.2 5.3.0 (userXX domain created) 5.3.0
Runtime
4.3.0 (added to the userXX domain) to the instructor server for: Home Page http://edusvr:8080/bw/index.html Database and Mercury Email servers Canon http://edusvr:8893
Directions
Complete the tasks that follow.
Page 125
Steps
1. Configure the bwpXX project EAR for deployment.
From
the Designer menu select Tools > Create Project EAR Enterprise Archive resource named bwpXX is added to the project at the root level organization, drag this resource to the project \Deployments folder bwpXX (leave as is) all service level global variables: checked the \Deployments\bwpXX enterprise archive resource and configure it: Location: C:\bwpXX.ear
An For Select
Name: File
Include
2.
(open) the Enterprise Archive resource to reveal the Process and Shared Archives the Process Archive resource CreditCheckService the intfPerformCreditCheck-service and click OK
the Processes tab icon, click the "Add a process starter to this archive" icon:
Select
Analysis: The Shared Archive is built by default and auto-populated with all shared components required by the Process or Adapter archive(s) in the archive.
3.
the project tree select the /Deployments/bwpXX enterprise archive the enterprise archive resource, click Build Archive (lower left) OK to confirm the creation of the EAR file
Click
Page 126
Steps
1. Start TIBCO Administrator and log in using your userXX credentials.
Start
> Programs > TIBCO > TIBCO Administrator Enterprise Edition 5.3 > TIBCO Administrator
2.
Administrator select Application Management and click New Folder bwpXX (replace XX with your two-digit ID) Save
Name: Click
3.
Browse
the New Application Configuration window, confirm the "Target" for this service: your deployment configuration settings
Page 127
4.
the Configuration Builder, click Deploy a description, such as "Initial Deployment" and leave all other settings as default OK to deploy the service agent
Analysis: The EAR file is used only for deployment. It can be deleted after deployment. Changes made to the ear file after deployment are not automatically propagated to the deployed project, this requires redeployment via Administrator.
5.
deployed successfully, you should see that "Deployability" is synchronized and its "Deployment Status" is success your deployment status does not indicate "Synchronized" and "Success" try these troubleshooting steps:
Redeploy:
If
Select Undeploy then reupload the EAR file and deploy it again
Page 128
Steps
1. Verify that your deployed CreditCheckService engine is running.
In
Administrator select Application Management > All Service Instances should see that the userXX - CreditCheckService service instance is Running not, select it so that it is highlighted and click Start
You
If
Analysis: From this view the status all TIBCO service instances can be monitored and managed. For example, in addition to the process service, you should also see that the TIBCO Administrator service appears and is listed as Running.
2.
Designer place TestCreditCheck into test mode (NOT any other process) for an "Accepted" credit check using: 3000.00 1234123412341234
Test
Amount: Test
AccountID:
test mode
Page 129
3.
Administrator service agent tracing: All Service Instances > userXX - CreditCheckService (click the link) the Tracing tab click Search should see messages indicating that the service agent started All Service Instances
Select You
the CreditCheckService process engine: a check next to userXX - CreditCheckService so it is highlighted and click Stop a few moments this engine should be Stopped
Tip: Toggle the meter icon in the upper right to force refresh.
View
machine resources: Machines in the Resource Management console status is shown for your userXX machine
your userXX link and note the detailed information of your machine, including disk and CPU usage statistics installed software: Resource Management > Installed Software
view provides summary information about the TIBCO software components installed in the domain TIBCO Administrator
Page 130
4.
C:\tibco\administrator\domain\DOMAIN_NAME\data\ DOMAIN_NAME-ENTERPRISE_ARCHIVE_NAME.dat Analysis: This file is a rewrite of the ear file as a repository file (*.dat). When deployed, the domain admin server has a copy of the deployment definition in this dat file which is used to initialize the component at startup. The name of the DOMAIN appears here twice, both as a folder and as the first part of the file name. The second part of the dat file name is the name of the EAR.
On
the target machine where the TIBCO application (engine or adapter) is deployed to:
C:\tibco\tra\domain\DOMAIN_NAME\application\DEPLOYMENT_FOLDER _NAME\ENTERPRISE_ARCHIVE_NAME-PROCESS_ARCHIVE_NAME.cmd Analysis: A one line script to start the BW engine. For initial debugging of a deployed component this script can be used to start the component. This should be done in a command window in order to see stderr startup messages even if it will not start.
On
the target machine the TIBCO application (engine or adapter) is deployed to:
C:\tibco\tra\domain\DOMAIN_NAME\application\DEPLOYMENT_FOLDER _NAME\ENTERPRISE_ARCHIVE_NAME- PROCESS_ARCHIVE_NAME.tra Analysis: A text file containing startup information used by the startup script (CMD file) to obtain deployed BW engine configuration information from the admin server. This file also defines the working environment for this component.
Page 131
Steps
1. Check your bwpXX project into TIBCO XML Canon (running on the instructor server).
From
the Designer menu of your bwpXX project, select Project > Save As the XML Canon tab and configure the connection: the XML Canon category, click Browse the "Browse for Project Folder" dialog: In the http:// field enter edusvr:9983 Click Connect
Select In
For
Provide You
should now have a WebDAV connection to the XML Canon Server from Designer, evidenced by the userXX category (and others) to which you have access in Canon:
Analysis: WebDAV (Web-based Distributed Authoring and Versioning) is an extension to HTTP that allows document uploads, locking and property attribution (e.g., version number, author). XML Canon is a WebDAV server, while TIBCO Designer is a WebDAV client.
Page 132
2.
Create a new Canon child category named bwpXX and save your project to it.
In
the "Browse For Project Folder" dialog, double-click the userXX category the New Folder icon at the upper right of the dialog the new folder the same as your project: bwpXX (replace XX with your ID) OK to create the folder; you should now see folder /userXX/bwpXX the bwpXX folder and click Select Folder at the "Save Project" dialog, verify that your XML Canon Category is listed as: OK to save the project to Canon
Highlight
http://edusvr:9983/userXX/bwpXX/
3.
Internet Explorer, access the XML Canon desktop using the following URL: your userXX credentials and click Submit to login into Canon the userXX category; you should see that it contains the child category bwpXX
http://edusvr:9983
Provide From Expand Select
the bwpXX category; you should see that it is empty since you have not yet checked in the project resources
Page 133
4.
the menu bar select Multi-User > Check In Changes Check in all and the entire project is checked into Canon the check in dialog
Analysis: There is required metadata associated with any BW project. Thus, first create the project in Designer, generating the metadata, then check it into Canon.
5.
Designer you now should see locks on all project folders and resources
Analysis: A client-side lock on a resource indicates that it is checked into a revision control system (RCS). It must be acquired to be edited.
In
the Canon Web interface logged in as userXX: the <F5> key to refresh the data in your browser the Home > Recent tab view you are presented with, you should see a listing of all newly uploaded assets asterisk next to each project asset indicates that it has been analyzed by Canon
Press At
An
Analysis: Canon analyzes XML documents for version control and differencing. Non-XML documents can be stored and versioned by Canon but not compared.
In
Canon browse to and expand category \userXX\bwpXX should see all project folders and resources checked into Canon
You
Analysis: On the Canon server-side the bwpXX project resources are not locked.
Page 134
6.
Use the Home > DAV tab to document the upload of the bwpXX project assets.
In
the Canon Web interface select the Home > DAV tab the upload of the bwpXX project assets as follows: Check All to select all the uploaded assets (scroll to the bottom to see the button)
Document Click In In
the Comment field, enter a comment such as: the Revision Label field, enter a label for this version such as: Initial
Update Attributes to complete the documentation of the upload (you should no longer see any assets in the DAV tab)
Analysis: Each asset is versioned by Canon using a auto-incremented number. Text-based user-defined revision labels can also be applied, as you have done.
7.
View the ProcessDOC for the PerformCreditCheck asset and explore version history.
In
the Canon browser, navigate to category asset /userXX/bwpXX/ProcessDefinitions/ CreditCheck/PerformCreditCheck.process this asset so that its "Document properties" and tabs appear to the right the Properties tab, verify attributes Version #, Revision Label and Comment the bottom of this page, beneath "Detailed views," click the ProcessDOC link separate browser window displays a graphical view of the activities in this process:
Select In A Near
Explore In If
the links provided by the ProcessDOC view; when done close the window
the History tab for this asset, appreciate Canons versioning mechanism: you were to upload a new version of this asset, it would be assigned the "Version #" 2 could then compare the versions using the differencing engine (Show differences) finished logout of Canon and close your browser
You When
Page 135
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 136
Unit 6
In this unit we review the key BusinessWorks benefits and discuss how it can be the centerpiece of your integration framework.
Topics
Objectives, TIBCO
page 138
Business Project
Multi-Platform Conclusions,
page 143
Page 137
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:
Reviewed Created
Page 138
TIBCO BusinessWorks
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 139
Page 140
S S S S S
Version control
Multiple developers
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 141
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 142
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 143
Your Your
Advanced option:
Handle
Page 144
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 145
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 146
Appendix A
We recognize that while some who attend our training courses are quite familiar with the Windows operating system and how to accomplish various configurations and steps, others may be less familiar. Please use this appendix as a reference as needed.
Sections
Working Working Creating
with Command Prompt (DOS) Windows, page 148 with Zipped Files (Using WinZip), page 149 ODBC DSNs, page 150 Windows Services, page 151 Environment Variables, page 152
with Programming Code, page 153 Your Network Connection, page 155
Managing
Page 147
1: on Start and choose Run cmd and click OK > Programs > Accessories > Command Prompt
2: 3:
you is configured with shortcut to a command prompt on the task bar. The shortcut is black colored (with c:\ text)
2.
go down a directory: the prompt, type in cd followed by a space followed by a child directory name. you can navigate faster by using the * symbol for name completion. For example, to navigate from C:\ to C:\Documents and Settings just type cd doc* and then hit the <Enter> key. the prompt, type in cd..
At
TIP:
To
go up a directory:
At
3.
How to access command history (commands you have already entered in a given Command Prompt session):
Use
4.
the directory where the document is located type notepad <doc_name> and hit the <Enter> key.
Page 148
Windows 2003 or Windows XP you will not need to use WinZip because you can view the contents of zip files right through Windows Explorer. Windows 2000 you will need to use the WinZip program. on the zip file to open WinZip
Double-click
Notice that one of the columns in the WinZip window that appears is labeled "Path". This
shows the directory structure that each file in the zip file will extract to. For example if the path shows "temp" and extract to the root of the c: drive, the file will extract to c:\temp.
Click
the extract button, specify the location to extract to (and if you want to extract all files or just the selected file(s), and then click Extract.
2.
highlight them or if an entire folder highlight the folder), right-click and choose Win Zip > Add to > <name_of_file_or_folder_selected>.zip.
This will
create the file either in the same directory where the files you zipped are located or one directory up from there (in the case of a folder).
Page 149
the menu path Start > Settings > Control Panel > Administrative Tools > Data Sources (ODBC) on the System DSN tab and choose Add Oracle in OraDb10g_home1 as the driver and click Finish Source Name: userXX Service Name: EDUSVR (select from list) ID: userXX is an example Oracle ODBC Driver Configuration:
Select
Test Connection, enter the password (e.g. userXX) and verify success OK to complete the configuration.
2.
How to create an ODBC Data Source Name for SQL Server 2000
Follow Click Here
the menu path Start > Settings > Control Panel > Administrative Tools > Data Sources (ODBC) on the System DSN tab and choose Add SQL Server as the driver and click Finish userXX EDUSVR (select from list - it must be on the running and on the network) SQL Server authentication the Login ID and Password (e.g. userXX) is an example Data Source to SQL Server configuration:
Select
Name: Server:
Choose Provide
Page 150
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.
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.
the Windows Services panel, double-click the service the General tab the desired Startup type from the drop down list Note: If you choose Manual, the service will not start when rebooted (even if it is Started now)
Select
You
may also Start or Stop the service from here Apply and then OK
Click
Page 151
easiest way to view your current PATH or CLASSPATH settings is to pull up a Command Prompt window and type set path or set classpath (or simply type set to see all variables and their values returned) modify the PATH or CLASSPATH: Note: The exact menu paths for doing this can vary depending on the Microsoft OS version. These steps were written on XP.
From In In
To
the System variables list (the bottom one), locate the variable you want to edit, highlight it and click Edit. add or delete the folder and/or file references. Remember that semi-colons are required between each entry. Note also that a period symbol denotes "local directory". OK in all three open windows when done modifying the settings
Carefully Click
Page 152
JDK is installed on your computer. To do this, open a Command Prompt and type java -version <JAVA_HOME>\bin; is in your system PATH variable. To do this, in a Command Prompt type set path. If you do not see the reference to the JDKs bin directory, see Managing Environment Variables, page 152 for how to set it.
Alternatively, you may have been provided with a Setup.bat file that may set this (as well
as other) variable for you command prompt session. If so, run it in the current Command Prompt session that you will subsequently use to compile the code.
In a Command Prompt, navigate to the directory where your java code (*.java) is and type in
the following:
javac <code_file_name>.java
If no errors are presented, your code has compiled successfully. TIP: to compile all the java files in a single directory type the following:
javac *.java
2.
code (the files that end with the .class extension) and type the following:
java <code_file_name>
Page 153
1: 2:
Option
Right-click
on My Computer and choose Properties. Click on the Computer Name tab to view the full computer name (which includes the hostname as well as the domain name)
Page 154
a Command Prompt, type ipconfig you receive the message "Media disconnected" then you have no network connection
If
2.
3.
a Command Prompt, type ping <SERVER_NAME> (e.g. ping edusvr) the attempt timed out, your computer cannot find the instructors server.
If
4.
How to check the type of network connection you have (Static or Dynamic)
From In In
the Desktop, right-click on My Network Places and choose Properties on the Local Area Connection and choose Properties.
Right-click
the General tab, scroll to the bottom of the list of items the connection uses and highlight Internet Protocol (TCP/IP) then click Properties. the TCP/IP Properties dialog that appears: the connection is set to "Obtain an IP address automatically" then your computer is using a "dynamic" IP address the connection is set to "Use the following IP address" and has numbers typed in below, then your computer is using a "static" IP address.
If If
Note: You should not change these settings without first consulting with the instructor.
Page 155
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 156
Notes
_______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________
Page 157
Page 158