Upload
roberta-casola
View
129
Download
5
Embed Size (px)
Citation preview
Lab C: Deplov and Mcutage Cretlit Check Sen,ice
6. Use XML Canon to document thrs version of the brupXX pro.iect assets.
r In the Canon Web interlace select Íhe Home > DAV tab
r Document the upload of the bwpXX project assets as follows:
a Click Check All to select all the uploaded asscts (scroll to the bottom to see lhe button)
a In the Com.menr tìeld. enter a comment such as:
Initial upload of tested bwpXx/CreditCheckSerwicea In the Revision LabeL tìeld. enter a label fbr this version such as: rnitial Versiona Click Update Attributes to complete the docunientation o['the upload (you should ncr
longer see any assets in the DAy tab)
Analysis: Each asset is versioned by Canon using a aufo-incremented number.Text-based user-del'ined revision labels can also be applied. as you have done.
1. View the Proc'es.sDoC fbr the PerformCreditCheck assgt and exDlore version historv.
r In the Canon browser, navigate to category asset /uscrXX/bwpXX/BWP.Core/Scrvices/CreditCheck/lmplementation/PerformCreditCheck.process
I Select this asset so that its "Document properties" appeaf to the right
I In thc Properties tab, verify attributes Version #. Revi.cion Label and Comment
I Near the bottom of this page, beneath "Detailed views," click the ProccssDOC linkI A separate browser window displays a graphical view of'the activities in this process:
@+
SùLcesg - s sf Errr.ÈF fl-g g Q,q^-
Cef {li3url '$sI lSto
:r=-e35 ir'l
r i-*"1-r i| ::1
Check CrÈi:fti
r Explore the links provided by the ProcessDoC view; when done close the window
r In the History tab tbr this asset, appreciate Canon's versioning mechanism:
a If you were to upload a new version of this asset, it would be assigned "Version #" 2
I You could then compare the versions using the diffèrencing engine (Show differences)
r When fìnished logout of XML Canon and close your browser
TIBCO Softwore Inc Page 113
M - BW E :'f I B C O B us iness Worksl r\r 5. 4 E s s e n t ia Is
Notes
Page Ì44 TI BCO Eclucation P ro gram.s
Unit 6: TIBCO BusinessWorks Summarv
Unit 6 Tl BCO BusinessWorks Summary
In this unit we review the key BusinessWorks benefìts and discusshow it can be the centerpiece of your integration fiamework.
Topics
t Objectives, page 146
t TIBCO BusinessWorksrM, page 147
t Bttsiness Process Design, page 148
t Project Administration, page 149
t MuLti-Platfurm Supporr, page 150
t ConcLusiorzs, page l5l
t Test Your SkiLLs Lab Instructions, page 152
TIBCO Sofnuare Inc. Page 145
M-BWE: TIBCO BusirtessllortsîNr 5.4 EssentiaLs
Objectives
Page 146
Atter completing this unit you will have:
r Reviewed some key fèatures of TIBCO BusinessWorks
I Created a new process with limited guidance provided
T I BCO Education P ro grams
. Knowledge. Review key features of BusinessWorks
. Skills. Create a new process with limited guidance
Urtit 6: TIBCO BusinessWorks Summan
' GUI-based SOA Integration framework
. Standards. J2[8, SOAP, XSLT, XPath, and more
. Complete project lifecycle management. ùesign > Deploy > Manage > Monitor
TIBCO BusinessWorksrM
TIBCO Sofnvare Inc.
TIBCO BusinessWorks ofters a complete integration framework.Since it is a GUl-based product, it is easier to learn how to use andeasier to see the business logic once it has been confìgured whichmeans pro.jects will be easier lo maintain.
BusinessWorks also provides broad support tbr the latest standardsincluding J2EE compliance (IMS, EJB, JNDI), protocoLs (SOAP,WSDL, HTTP, HTTPS), Messaging (JMS, TIBCO Rendezvous),data descriptlon (native support fbr DTD, XSD, and TIBCO AESchema), data representation and expressions (native support fbrXML, XPath), and data tran.sformation (XSLT) standards.
With BusinessWorks you can manage the complete project lifècycletiom the design and testing phase to the production phase. Oncedeployed you can manage and monitor your integration projects as
well.
Page 147
M-BWE: TIBCO Busirte.r.tWorktl wt 5.I Essentittls
Business Process Design
Page l48
TIBCO Designer is a single unificd interface fbr designin-e proccsscsand confìgurin_e adapters, optional workflow components, and
enterprise messagin_9. It also ot'fers an integrated testin-q utility so thatyou can debug projects prior to deployment. Because Desi_9ner uses
XML as its underlying sl.ora-qc fbrmat. you can successlully contìgureadvanced integration solutions without any coding.
TIBCO Designer allows multiple developers to work on the sameproject. Developers can use fìle sharing/locking or a revision controlsystem to ensure that Lhe samc rcsource is not changed by twcr
developers at the same time. Currently TIBCO Canon, MicrosoftVisual SourceSafè, Perfbrce, Clearcase, CVS and PVCS are
supported.
'l' I B C O Ed ucati ort P ro grams
TIBCO Designer. Standardized Ul. Plug-in based. Fast development
No programming required
XML, XPath, XSLT
Easy maintenance. No proprietary languages
Version control. Multiple developers
Urùt 6: TIBCO Bttsine.ssWorks SuntmcLrt
. Centralized administrator. Manage processes. adaotèrs, machines* Securìty framework
. Browser-based
. l-"ligh availability. Fault lolerance* l-oad balancing
Project Admi n istration
TIBCO Sofnvare Inc.
At runtime, TIBCO Administrator allows you to remotely access alldeployments in your administration dontain.
User Management-Add users and passwords to the adnrinistrationdomain fbr authentication. then sive each user view or executeprivileges.
Domain Monitoring and Management-View the status o['machines and components funning on machines in the domain. Startand stop as needed.
Deployment monitoring-Monitor the status of each deploymentcomponent and process instance and the status of the machinesexecuting them. View trace tìles and throughput.
Deployment management-View all running components and stopand restart them as needed.
PcLge 149
M-BWE: TIBCO BusinessWorksrNr 5.4 EssenticLls
Multi-Platform Support
Page | 50
TIBCO BusinessWorks supports multiple operating systemsincluding Microsoft Windows 2000, Windows XP ProfèssionalEdition, Microsofi Windows Server 2003, Solaris 9, Solaris 2.8,Solaris 2.7,F{P-UX I1.0, I li, AIX 5.1, and Linux. This oflèrs youflexibility (fbr example you might develop on Windows and thendeploy on Unix).
A core strength of TIBCO products fiom the beginning has been theability to integrate multiple disparate systems throughout the
enterprise. This integration can be accomplished via adapters, webservices, messaging or any combination of the three.
TIBCO Education Programs
. Operating $ystems
" Windows. Unix. LinUX
. =xternal
application support. Adapters. Web Services. Messaging
Unit 6: TIBCO BusinessWorks Summurt
. Maximize existing investments
. Rapid development environment
. Foundation for future growth
Conclusions
TIBCO Sofnuare Inc
In summary, TIBCO BusinessWorks provides the inregrationfiamework that enables businesses to connect existing systems (andthus maximize existing investments). The GUl-based design interf'aceallows fbr rapid development while providing many advancedintegration capabilities. Business integration projects build withTIBCO BusinessWorks can be easily extended and maintained as
your business needs change, thus providing a fbundation to supportfuture growth.
Page l5l
M - BW E :'l' I B C O B us iness Works'r'rvr 5. 4 E s s e ttt ict L s
Test Your Skills Lab Instructions
Page I 52
Additional infbrmation:
I Access to the database is available via userXX login credentials
I To view available currency codes in a command prompt:
userxx/userxx@edusvr . tibco . com
select CURRENCY_CODE from EXCIIANGE_RA,TE;
r Your email host is edusvr:2S
r Your email address is userXX@edusvr
Advanced option:
I Handle invalid currencv code entries
T I B C O EtLuccLt ion P ro grctm.s
. Develop a proce$s to:. Accept a currency code. Fetch the value from the currency table in lhe database, Émaii the result to userXX
Unit 6: TIBCO BusinessWorks Summary
Notes
TIBCO Sofnttare Inc. Page 153
M - BW E : T I B C O B us ine s s Wo r ks't M 5. 4 Es s e nticLLs
Notes
Page 154 TIBCO Education Prosrams
Appendix A: Common Operating System Tasks
Appendix A Common Operating System Tasks
OverviewWe recognize that while some who attend our training courses are quite familiar with the Windowsoperating system and how to accomplish various confìgurations and steps, others may be lessfamiliar. Please use this appendix as a reference as needed.
Sectionst Extracting Lab Files from the CD, page 156
t Connecting to the Instructor Share Directory, page 157
t Working with Command Prompt (DOS), page 158
t Working with Zipped Files (Using WinZip), page 159
t Creating ODBC Data Source (DSN), page 160
t Managing Windows Services, page l6lt Managing Environment Variables, page 162
t Working with Java Code, page 163
t Finding Your Computer's ldentity, page 164
t Managing Network Connections, page 165
t Setting Up Email, page 166
TIBCO Sofnuare Inc. Page 155
M - BW E : T I B C O B us iness Works'r'M 5.4 E s s e nticLls
Extracting Lab Files from the CD
Complete these steps to extract the contents of the CD and set up your working directory fbr the
course lab exercises.
L Insert the Student CD that accompanies this workbook into vour local media drive.
2. In the index page that appears, select the Download Lab Files link.
3. At the "Download" dialog, click Open.
r At the "Welcome" dialog, click OK.I The directory C:\xxEDU\xxxxx will be auto-created on your local machine corresponding
to your course IDI Within this directory are subfolders that contain the files you'll need during the course lab
exerctses.
Page 156 TIBCO Education Programs
Appendix A: Common Operating System Tttsks
Connecting to the Instructor ShareDirectory
During the labs you may need to connect to the instructor server to get sofiware and other tìles.
1. Go to Start > Run and enter \\edusvr where edusvr is the name of the instructor server.
2. Momentarily you should be connected and have access the /Share tblder.
TIBCO Software htc. Page 157
M - BW E : T I B C O B us iness Works'r'rvr 5.4 E s se ntials
Working with Command Prompt(DOS)
l. How to open a command prompt window:
r Option l:a Click Start and choose Run
a Type cmd and click OKr Option 2:
a Start > Programs > Accessories > Command Prompt
r Option 3:
a Otien the computer we provide you is configured with shortcut to a command prompton the task bar. The shortcut is black colored (with c:\ text)
Z. How to navigate in a command prompt window:
I To go down a directory;
a At the prompt, type in cd fbllowed by a space fbllowed by a child directory name.
Trp.' You can navigate laster by using the * symbol for name completion. Forexample. to navigate from C:\ to C:\Documents and Setrings use cd doc*.
r To go up a directory:
a At the prompt, type in cd. .
3. How to access command historv (commands you have already entered in a session).
r Use the <Up> and <Down> arrow keys on your keyboard.
4. How to open a document fiom a Command Prompt in a Text Editor.
r From the directory where the document is saved issue command notepad <doc_name>
Page l 58 TIBCO Educatiott P ro PrcLms
Appendix A: Commort Opernring Svstem Tasks
Working with Zipped Files (UsingWinZip)
1. Extract fìles fiom a zip tìle.
r On Windows 2003 or Windows XP you will not need to use WinZip because you can viewthe contents of zip files right through Windows Explorer.
r On Windows 2000 you will need to use the WinZip program.
a Double-click on the zip tìle to open WinZip
a Notice that one of the columns in the WinZip window that appears is labeled "Path".This shows the directory structure that each tìle in the zip fìle will extract to. Forexample if the path shows "temp" and extract to the root of the c: drive, the fìle willextract to c:\temp.
I Click the extract button, specify the location to extract to (and if you want to extract alltiles orjust the selected fìle(s), and then click Extract.
2. Create a zip fìle.
r Highlight the fìle or fìles you wish to zip (if more than one, hold down the control key as
you highlight them or if an entire tblder highlight the fblder), right-click and choose WinZip > Add to > <name_of_file_or_folder_selected>.zip.
r This will create the file either in the same directory where the fìles you zipped are locatedor one directory up from there (in the case of a fblder).
TIBCO Software Inc. Page 159
M - B W E : T I B C O B us irt ess Worfr.tr Nr 5.4 E s s e nt ia L.s
Creating ODBC Data Source (DSN)
l. Create an ODBC Data Source Name tbr Oracle l0e
r Follow the menu path Start > Settings > Control Panel > Administrative TooLs > DataSources (ODBC)
r Click on the S-yJre,z DS1/ tab ancl choose Add
I Select Oracle in OraDbl0g_homel as the driver and click Finish
r Here is an example Oracle ODBC Driver Confìguration:
a Data Source Name: userxxt TNS Service Name: EDUSVR (select tiom list)
a User ID: userxxr Click Test Connection. enter the password (e.g. userXX) and verity success
r Click OK to complete the confìguration.
2. Create an ODBC Data Source Nan're tbr SQL Server 2000.
r Follow the menu pafn Sturt > Settings > Control Panel > Administrative Tools > DataSources (ODBC)
r Click on the "S),r/em DSN tab and choose Addr Select SQL Server as the driver and click Finish
r Here is an example Data Source to SQL Server configuration:
a Name: userxxa Server: EDUSVR (select fiom list - it must be on the running and on the network)
a Choose SQL Server authentication
a Provide the Login ID and Password (e.g. userXX)
Page 160 T I B CO Education P ro g ram s
Appendix A: Common Operating System Tasks
Managing Windows Services
l. How to open the Windows Services window
r Follow the menu path Stqrt > Settings > Contol Panel > Administrative Tools > Services
Note: machines provided by TIBCO will ofien already have a shortcut to this window in the
Task Bar.
2. How to stop or start services
I In the Windows Services panel, right-click the service and choose Start or Stop as desired.
Note: you can click Close in the status window that pops up without cancelling theoperations. You may then want to click the <F5> (refiesh) key to see if the status tbr theservice has chaneed.
3. How to change service properties
r In the Windows Services panel, double-click the service
r In the GeneraL tab
a Select the desired Startup type fiom the drop down list
Note: If you choose Manual, the service will not start when rebooted (even if it is Startednow)
a You may also Start or Stop the service fiom here
a Click Apply and then OK
TIBCO Software Inc. Page I6l
M - BW E : T I B C O B us ine s s Wo rlcs't M 5. 4 E s s e n t i.a I s
Managing Environment Variables
l. How to view and set the Svstem PATH and CLASSPATH environment variables
I The easiest way to view your current PATH or CLASSPATH settings is to pull up aCommand Prompt window and type Eets paÈh or set classpaÈh (or simply typeaet to see all variables and their values returned)
t To rnodífy the PATH or CLASSPATH:
Note: The exact menu paths for doing this can vary depending on the Microsofi OS version.These steps were written on XP.
O From the Desktop, righrclick My Computer and choose Properties
a In the Advanced tab click on Environment Variables
a In the System variables list (the bottom one), locate the variable you want to edit,highlight it and click Edit.
a Caretully add or delete the folder and,/or fìle references. Remember that semi-colonsare required between each entry. Note also that a period symbol denotes "localdirectory".
a Click OK in all three open windows when done modifying the settings
Page 162 TIBCO Education Pro prams
Appendir A: Common Operating System Tasks
Working with Java Code
l. How to compile Java code
r Verify the JDK is installed on your computer. To do this, open a Command Prompt and typejava -version
r Verify <,JAVA_HoME>\bin; is in your system PATH variable, To do this, in a Command
Prompt type seÈ path. If you do not see the refèrence to the JDK's bin directory, see
Managing Environment Variables, page 162 fbr how to set it.
a Alternatively, you may have been provided with a Setup.bat file that may set this (as
well as other) variable fbr you command prompt session. If so, run it in the current
Command Prompt session that you will subsequently use to compile the code.
I 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 successfilly.
TIP: to compile all the java fìles in a single directory type the tbllowing:
javac * . java
2. How to run Java code
I [n a Command Prompt (DOS) window, navigate to the directory that contains your compiledcode (the tìles that end with the .class extension) and type the tbllowing:
java <code_file_nane>
TIBCO Software Inc. Page 163
M - BW E : T I B C O B us inessW'orks'r'M 5.4 E s s e ntia Ls
Finding Your Computer's ldentity
1. How to find the hostname or full comouter name of vour comDuter
r Option l:I In a Command Prompt type hostname
r Opdon 2:
a Right-click on My Computer and choose Properties. Click on the Compuîer Nametab to view the full computer name (which includes the hostname as well as the domainname)
Page 164 TIBCO Education Pro prams
Appendi.r A: Common Operating System Tasks
Managing Network Connections
l. How to check your network connection:
r In a Command Prompt, type ipconf iga If you receive the message "Media disconnected" ihen you have no network connection
2. How to reset your network connection:
I In a Command Prompt, type ipconf ig ,/renew and wait
3 How to verify communication with the instructor server:
r [n a Command Prompt. type pÍng <SERVER NAME> (e.g. ping edusvr)
t} [f the attempt timed out, your computer cannot fìnd the instructor's server.
4. How to check the type of network connection you have (Static or Dynamic)
r From the Desktop, right-click on My Network Places and choose Properties
r Right-click on the Local Area Connection and choose Properties.
r IntheGenerul tab,scroll tothebottomofthelistofitemstheconnectionusesandhiehlishtlnternet Protocol (TCP/IP) then click Properties.
I In the TCP/IP Properties dialog that appears:
a If the connection is set to "Obtain an IP address automatically" then your computer isusing a "dynamic" IP address
a If the connection is set to "Use the fbllowing IP address" and has numbers typcd inbelow, then your computer is using a "static" IP address.
Note: You should not change these settings without fìrst consulting with the instructor.
TIBCO Sofnvare Inc. Pnoe 165
M - BW E : T I B C O B us iness lV'orks'tM 5.4 Es s entiaL s
Setting Up Email
The email server is named edusvr and runs on the instructor server. You can send and receive emailfiom your userXX machine using Outlook Express email client.
l. Verity or create an email account for userXX.
r From the Outlook Express menu select TooLs > Accounts
r In the Properties tab, verify or enter:
a Mail Account = userxxa Name=userxxa Email Address = userxx@eduswr
r In the Server tab, verify or enter:
a Incoming server type: POP3
a Incoming mail and outgoing mail: edusvra Account name and password: userxx
r Test by sending an email to yourself, userXX@edusvr
a Click send/receive
a Momentarily the email should appear in your inbox
Page 16ó TI BCO Education P rograms
Appendix A: Common Operating System Tasks
Notes
TIBCO Sofware Inc. Page 167
M-BWE: TIBCO BusinessWorks|rvr 5.4 EssentiaLs
Notes
Page 168 T I BCO Education P ro grams
TIBCO Sofnvare lnc.
M - B W E : T I B C O Il us itt er-s Works f rvr 5. 4 E s s e n r iul s
Page Ì69
M - BW E :'l' I B C O B us iness lvorks I Nr 5 I E ss e n t ict I s
Page 170 T I B C O EducrLt ir.tn P rct g rcm s
ffiTIBCOEducation Programs
M-BWI: TIBCOBusinessWorksrM 5.4IntegrationStudent WorkbookFebruary 26, 2007
lmportant Information
Some TIBCO Software embeds or bundles other TIBCO Software. Use of such ernbedded or bundled TIIICOSofiware is solely to enable the finctionality (or provide limited add-on tinctionality) of the licensed TIBCOSotÌware. The embedded or bundled sofÌware is not licenscd to be used or accessed bv anv other TIBCOSoftware or fbr any other purpose.
The information contained in this document is subject to U.S. and international copyright laws and treaties. Nopart of this document may be reproduced in ar.ry form without the written authorization ol TIBCO SofiwareInc.
Technologies described herein are covered by existing patents and pending patent applications. TIBCOtechnology is protected under US patent number 6.003,01 l.
TIB, TIBCO, lnfbrmation Bus. The Power of Now. TIBCO Adapter, TIBCO BusinessWorks, TIBCOAdministrator, and TIBCO Designer are either registered trademarks or trademarks of TIBCO Sofiware lnc. ir-r
the United States and/or other countries.
All brand and product narncs are trademarks or registered trademarks oftheir respective holders.
THIS PUBLICATION IS PROVIDED ''AS IS" WITHOUT WARRANTY OF ANY KIND. EITHEREXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE. OR NON.INFRINGEMENT.
THIS PUBLICATION COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICALERRORS. CHANGES ARE PERIODICALLY ADDED TO THE INFORMATION HEREIN: THESECHANGES WILL BE INCORPORATED IN NEW EDITIONS OF THIS PUBLICATION. TIBCOSOFTWARE INC. MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE PRODUCT(S) AND/ORTHE PROGRAM(S) DESCRIBED IN THIS PUBLICATION AT ANY TIME.
Printed in the USA.Copyright O 2002-2007 TIBCO Software Inc. ALL RIGHTS RESERVED.
Program Contents
Program Contents
Preface ......xiConventions Used in this Book . . . . .xii
Program Overview .......1Welcome ....2Agenda. ..... 3
Objectives .........4TlBOoSoftwareFeatured .........5MaterialsandLabEnvironment..... ......6T|BCOCertifiedProfessional Program .....7T|BCOCeftificationExamRegistration .....8Facilities .....I
Unit 1 Business Case and BWP lmplementationObjectives
BWP Physical View (Before Integration)
Business Integration Scenario
BWP Project Analysis Best Practices . . .
BWP Use Cases
BWP Sequence Diagram: Place Batch OrderBWP Sequence Diagram: Place Web OrderBWP Sequence Diagram: Query OrdersBWP Business Requirements . .
BWP lmolementation Details
BWP Project lmplementation. .
BWP Physical View (After Integration).BWP lmolementation Plan. .
BWP lmolementation Best Practices. . . .
BWP lmplementation Best Practices. . . .
BWP lmplementation Best Practices. . . .
Reference Document - BWP Business Analvsis
TIBCO Sofnuare Inc Page iii
11
12
131A
to'17
19
20
21
22
23
24
28
29
30
JI
32
JJ
M - BW I : T I B C O B us in e{s lvo,*rr'\'r 5.1 I n te.q rcu io n
Unit 2 Pubfishing Web Services. . ...43Topics ......43Objectives . . .44BW-basedWebServices... ......45GeneratingwsDl. ........46UDDI Basics.... ...47UDDI Components ........48BusinessWorksanduDDl . .......49AdministeringUDD| Servers .......508W5.4 FeaturesforServices ......51WebServicesSecurity .....52BWP lmplementation: CreditCheckService ......53CreditCheckService lmplementation... ...54QueryWebServicesDefinition .....55CreditCheckServiceSequence Diagram ........56Lab lmplementation .......57
Lab A: Publish Gredit Check Service . . . . . 59
lmplement Query Web Services. . . . 60Test and Deploy Credit Check Service . . . .64Publish Web Service to UDDI Registry . . . .67
Unit 3 T|BCO Enterprise Message Service (EMS) .....73Objectives . . .75MessagrngFundamentals.... .....76How Does Messaging Work? . . . . . .77Messaging Features .......78Messaging ProcessingChoices ....80TIBCO Enterprise MessageService .......82JavaMessageService(JMS) ......83T|BCOEnterpriseMessageService. ...... 84
JMSin BusinessWorks... ........85JMSMessagingModels ....86Topic-based Publish/Subscribe. ...87Queue-based Point{o-Point... ....88JMSMessageFormat. .....89Client-ServiceDelivervModes ....90
Page iv T I BCO Education P rogrcmts
Program Conlents
TlBCOEMSAccessControl ......92AdministerrngTlBCoEMs. ......93ExampleTlBCOEMSEnvironment .......94BWP lmplementation: ProcessBatchOrder ...... 96
ProcessBatchOrderlmplementation.. ...97ProcessBatchOrderDefinition ....98Loggingand ErrorHandling BestPractices.... ... 99
Sequence Diagram Process Batch Order ... .... 100
Lablmplementation ......101Lab B: lmplement Process Batch Order . . 103
DesignProcessBatchOrder ......104TestProcessBatchOrder..... ....110Explore JMS Topics and Queues (Optional) . . . . . .113
Test Your JMS Skills (Going Further) . . . . .11 5
Unit 4 TIBCOAdapterServices ... -117
Oblectives ........118What lsaTlBCOAdapter? .......'119TlBCoAdapters. ..120TIBCO Adapter Features . . 121
BWAdapterServices. ....122Adapter Service Options . . 123T|BCOAdapterforActiveDatabase ......124ADB Publication Service . . 125ADBSubscriptionService .......127ADBRequest/ReplyService ....128ExampleADBlmplementation ....130BWP lmplementation: Sales Order Adapter Service . . . . . 131
Sales Order Adapter Service lmplementation . . . . 132
SalesOrderSubscriptionOperation .....133Sales OrderAdapterService Sequence Diagram ....... 134Lablmplementation ......135
LabC: fmpfementSalesOrderAdapterService ....... 137
Configure Sales Order Adapter Service. . . 138
TestSalesOrderAdaoterService .......141
TIBCO Software Inc. Page v
M - BW I :'l- I B C O B us irt e.rs Works INr 5. 4 I nt e g rctri o rt
Unit 5 Groups and Transactions . . .143
Objectives . . 144
GroupingActivities .......145Grouo lterations and Conditions... . .... .146
a ÀaGrouping Best Practices.... t+tWhatlsaTransaction?..., ......148DistributedTransaction Fundamentals.... ......149Distributed Transactions in BW. . . . 150
lmplementingJDBCTransactions.... ...152lmplementingJTATransactions ...153lmplementing XA Transactions. ,JîBusinessWorksXATransaction Manager .......155BWP lmplementation: Process Inventory Transaction . . . . 156
Process Inventorylmplementation.. .....157ProcesslnventoryDefinition ......158CheckoointBestPractices... ....159Process InventorySequenceDiagram ....160Lablmplementation ......161
Lab D: lmplement Process InventoryTransaction ......163lmplement Process Inventory tb4
Unit 6 Advanced Service Design ...171Objectives . .172Mapping UsingXPath .....173XSlTforTransforminglnputData. ......174Extendingthe Mapper .....175UsingSubprocesses. .....176Using NullActivities ......177lnter-ProcessCommunication. ...178Sharing Development Resources . . 180
Using Variables... .......181GlobalVariables ...182Shared Variables. . . 183
Process Variables . .184Processlnsoector ..185BWPlmolementation:ProcessOrderService.... .......186
Page vi T I BCO Educatiott P rograms
Program. Con.ten.îs
ProcessOrderService lmplementation.. ....... 187
Process Order Definition . . 188
DeliveryMappingJavaCustom Function ....... 189
Order Result Shared Library Definition . . . 190
Sequence Diagram for Process Order. . . . 191
Lablmplementation ......192Lab E: lmplement Process Order Service ..... - 195
lmport Shared Library and Organize Prolect . . . . . '196
lmplementProcessOrder .......199GenerateProcessOrderService .......21 4TestOrderProcessinq ...217
Unit 7 Extending BW Processes . -.225Objectives .......226Extending BusinessWorks... .... 227JavaCodeActivity .......228JavaEventSource. ......229JavaMethodActivity .....23OJavatoXMLtoJava. ....231CustomBWPalettes .....232ControllingEngineBehavior .....233ExtendingErrorHandling.... ....234ExtendingaBWProject..... ....235BWP lmplementation: ProcessWebOrder ...... 236ProcessWebOrderlmplementation.. ...237ProcessWebOrderDefinition ....238QueryOrdersDefinition(lmporled) ......239Process Web Order Sequence Diagram . . 240QueryOrdersSequenceDiagram .......241Lab lmplementation .. .... 242
Lab F: f mplement Process Web Order . . . 245
lmplement Process Web Order . . . 246Test Process Web Order . . 257
Unit I Deploying BW Engine . .. .. .261
Objectives ... .... 262
TIBCO Software lnc Page vÌi
M-BWI : TIBCO llusinessWorksrrlr 5-4 Integrcuion
BW 5.4 Engine " " 263
Engine PedormanceTuning " " "264Engine DePloYment " " ' '265
Management&Monitoring'... " '266TlBCOHawkAgent """267TlBOoAdministrationServer " " '268Load Balancing and Resilience ' ' ' 269
270Security.
T|BCODomain BestPractices.., " " ' ' '271
Lab lmplementation " " ' '272Lab G: DePloY the BWP Solution "275
Deploy the BWP Solution zto
Appendix A Additional BWP Exercises "281lmplementHTTPSforProcessWebOrder. ' ' ' ' ' '282lmplement Email Notification for Process Web Order. ' ' ' ' 285
AppendixB T|BCORendezvousMessaging.. """287Tooics " ' ' '287
Objectives ' ' 288
TIBCO Rendezvous Messaging ' ' '289Rendezvous in BusinessWorks . 290
RendezvousComponents..... ...291Subject Based Addressing . . 293
294
295Self-Describing Data.
Rendezvous Publish / Subscribe " 296
RV Request/ Reply ' ' " ' '298Rendezvous Reliable Messaging ' ' 299
Rendezvous Certified Messaging ' ' 300
RVCM Sequence of Messages. . . .' . 301
RvOMGuaranteed Delivery " ' " '302RendezvousRouting Daemon " ' '3o4lmplementationOveruiew.... ' " '306
lmplementBWPUsingRendezvous.... "'307Communicate Using Rendezvous . . . :...308
Page viii T I BC O Educat ion P ro s rams
Subject Naming
Program Contents
lmplement Process Batch Order . . 309
lmplement Sales Order Adapter . . 312
Appendix C Common Operating System Tasks . . .. .315
Extracting Lab Files from the CD. . . . . ... 316Connecting to the Instructor Share Directory. . . . . 317Working with Command Prompt (DOS) . . 3.tBWorkingwithZipped Files (UsingWinZip) ....... 319CreatingODBCDataSource(DSN) .....320ManagingWindowsServices. ....321lManagingEnvironmentVariables .......322WorkingwithJavaCode. .......323Finding Your Computer's ldentity . . 324Managing Network Connections . . 325Setting Up Email . . 326
TIBCO Software Inc. Page ix
M-BWI :'l-IBCO Ilusine..rWorÀsrNr 5.1 lntegrcLtion
Page .x'f IBCO Etlucatiott Progrants
Preface
Preface
This workbook has concept explanations and the hardcopy version has space fbr taking notes. Weencourage you to participate in all of the course exercises because they reinfbrce course content.You will find the answers to any review questions in the relevant section of the workbook.
Your instructor will provide you with a course evaluation fbrm. Please fill this out and return it tothe instructor at the end of the course. Your tèedback is crucial to the successful evolution of thiscourse.
For more information about our educational curriculum, please visit the TIBCO EducationPrograms web site: http://www.tibco.com/services/educational.
TIBCO Sofnvare Inc. Page xi
M-BWI: TIBCO BusinessWorks'tM 5.4 ltúesration
Conventions Used in this Book
This book uses some special conventions. Any cross refèrences to related portions of the materialwill be itaLiciz.ed. New terms and acronyms will be defìned as they occur.
The fbllowing graphics may be used in the margins to fìag important additional infbrmation:
WARNING: This is a warning. lt is used for critical information that must befollowed to avoid serious coni"qr"n....
Page xii
Note: This is a note. lt is used to provide relevant information that pertains to thecurrent task.
Tip: This is a îp. lt is used to provide helpful information.
TIBCO Education Programs
Program Overview
Program Overuiew
Topics
Welcome to TIBCO BusinessWorksîM 5.4 Integration.
This two day program provides hands-on experience implementing a
complete TIBCO BusinessVy'orksrM integration solution.
This introductory unit provides an overview of the course, includinglearning objectives, agenda and lab environment.
t WeLcome, page 2
t Agenda, page 3
t Objectives, page 4
t TIBCO Software Featured, page 5
. Materials and Lab Environment, page 6
t TIBCO Certified ProfessionaL Program, page 7
t TIBCO Certification Exam Registration, page 8
t Facilities, page 9
Page ITIBCO Sofware Inc.
M BWI: TTBCO BusinessWorkstNt 5.1 Inteerotion
Welcome
Page 2
To be-gin the course, tell the instructor and your classmates about yourbackground and experience. Describe your expectations fbr the
course, and, in particular, how you plan to use TIBCOBusinessWorks to address your own business integration needs.
T I BCO EcltLcruion P rograms
. Name
. C0mpany
. Job title and responsibilities
' Industry experience
. TIBCO Software experience
. Goals and expectations for this course
Agenda
Program Oven,iew
After briefly reviewing TIBCO as a company and the solutions itdelivers. you have an overview of BusinessWorks components and a
product demonstration.
Following this, through hands-on practice, you learn how to develop,
deploy and manage a complete TIBOC BusinessWorks solution.
The instructor will provide time fbr breaks during the course.
Pnop ?'"ò"'TIBCO Sofnuare Inc
1. BWP Business Case and lmplementation
2. Publishing Web Services
3. Enterprise Message Service
4. Adapter Services
Groups and Transactions
Advanced Process Design
Extending BW Processes
Deploying BW Engine
M - BW I : T I B C 0 B us in e55 [/61ft 5 r rvt 5. 4 Inte gratio rt
Objectives
Page 4
Through a combination of instructor-led lecture, product
demonstrations and practical exercises, the goal of this course is to
give you a solid introcluction to TIBCO BusinessWorks' includin-q:
r BW project analysis
r Service generation and UDDI integration
r Messaging and adapter services
r Process tlesign and transactions
r BW project extensions and deployment
-tl BCO Erlucatktn P ro grarns
. Knowledge. Explain methods, considerations, best practices for developing
BusinessWorks integration projects
. ldentify BW integralion components and options
. Descnbe advanced BW integration techniques
. Skills. Develop BW integration project
. lmplement BW Adapter Services
. lmplement BW ìntegration processes and resources
' Extend BW processes and projects
Progrrun Oven,iet
' Installed in your userxx domain
TIBCO lnfrastructure
3rd Party Core Libraries TIBCO Buntime Agent 5.5.0
= JFìE 1 .4
= JDBC Drìvers
= Tomcat Web Seryer
= elc.
= Adminrstrator Console
= Hawk Agent
TIBCO Software Featured
TIBCO Software lnc.
We will use the fbllowin_e TIBCO Sof'tware installed and confìguredon your userXX machine:
r TIBCO Runtime Agent (TRA) 5.5.0
r TIBCO Adnrinistrator 5.4.0 (userXX domain created)
r TIBCO BusinessWorks 5.4.0
r TIBCO EMS 4.4.0 (added to the userXX domain)
r TIBCO Adapter tbr ActiveDatabase 5.2.2
In addition, the all labs required connectivity to thc EDUSVRinstructor server for the database.
M-BWI :'flBCO BusinessWorks'r lvr 5.4 Intesratiott
Materials and Lab Environment
Page 6
The instructor machine (hostname eduswr) is the class server.
Each student machine (hostname userxx) includes a fill installationof TIBCO BusinessWorks. Each machine may also include a tillinstallation of TIBCO Enterprise Message Service and TIBCOAdapter tbr ActiveDatabase
The user IDs and passwords you will need to access variousapplications during the class are usèrxx, where XX is a uniquenumber between 0l - l5 assigned to each student by the instructor.
The fìles you'll need to participate in the course labs are provided onthe course CD that accompanies this book.
Extract the CD files now and setup the c: \BWEDU\ directory. If youneed help, see Extracting Lab Files from the CD, page 3 I 6.
TI BCO Educcuion Proprams
Materials. Workbook
' Slides and notes
Labs and Exercises. Student CD. Self-extracts to C:\BWEDU
Environment. Windows 2003 and XP
* edusvr instructor server.- userXX sludent clients
User lDs and Passwordsr userxx / userXX
/ To Do:. Extract Student CD. Access BW Home Page at:
httn :/ied u svr : 8080lbw/i ndex. htm I