Try out the self-study guides and develop your skills in IBM Integration Bus.
Most of these labs were created for use as part of IBM BetaWorks’ IBM Integration Bus Workshops.
Each lab comprises one or more guides as PDF files, and is usually accompanied by an archive file (.zip file) that you can use to complete the lab activities. Some scenarios also require additional software products such as IBM DB2, IBM ODM, and WebSphere Application Server.
These labs were created on a Windows 7 system, so the scripts and commands provided are applicable to that environment.
Most of these labs were used in the IBM Integration Bus V10 workshop led by IBM Betaworks.
- Labs 1-13 were in the main agenda; Labs 14 & 20 are new as of 02/2016; Labs 89 onward were optional in the workshop. There are no other labs from the workshop.
- Other labs have been added since the workshop
- Some labs have been updated to reflect updates to the IBM Integration Bus product; for example, as updates to IIB 10.0.0.4.
- If you want to get all the Labs, you can download the following files:
- The Labs are based on scripts and resources in the local directory, C:\student10. If you download a Lab file, or the complete file betaworks2016_iib10004_student10.zip, extract it to C:\ to create the folder C:\student10.
- The lab links given use “ftp://”, but also work with “http://”. If you need to use “http://”, copy and edit a link before pasting into your browser address field.
- Some of the labs depend on the HRDB database and tables for DB2, and the scripts (and DDL) that you need to run are provided are for the users iibuser and iibadmin. When creating your own environment, you may need to alter the database schemas and authorities in the DDL to reflect your own environment; for example, for the scripts to configure database permissions to GRANT access to your own user ID instead of iibuser.
Some information about recreating the HRDB database and tables and permissions for your own environment are given in the PDF for Lab 1.
- The VMWare image mentioned in Lab instructions was only for use in the IBM Betaworks workshops run at IBM Hursley. Unfortunately, we can’t distribute the VMWare image outside IBM, because it contains non-IBM software (Microsoft Windows), and we would be violating the license agreement we have with Microsoft if we did that.
- A useful tool for IIB development on Windows is the Event Log Monitor, mentioned in the the lab PDFs. This tool continuously
monitors the Windows Event Log, and all messages from the log are displayed immediately. This tool is not part of the IIB product, and is made available “as is”, with no provision for support or warranty:
Sept 2019: There is an updated version of the Event Log Monitor, which waits for events from the Application log matching the event source ‘IBM Integration’ or ‘WebSphere Broker’ or ‘IBM App Connect Enterprise’. You can download the ZIP file from the IBM Integration community at EventLogMonitor.zip.
You can download the previous ZIP file (not for ACE V11) from the IBM Integration community at https://developer.ibm.com/integration/wp-content/uploads/sites/25/2016/03/iiblogviewer.zip.
- To run the Log Viewer, just put both files in the same folder, and then run the . exe file. (There’s no need to include in the PATH.)
- The Log Viewer simply subscribes to the Windows Event Log, and displays IIB event log entries (or WMB entries) as shown in the Lab guide.
(March 2016: Lab updated for IIB10003) In this lab, you create an integration service and all the IBM integration resources required to implement the service. You will define the service data model and the WSDL that describes the service. You will implement and test the service operation. The service accesses an external database and responds with data retrieved from the database.
(March 2016: Lab updated for IIB10003) This lab shows you how to create and test a new REST API service. This scenario will be based on the EmployeeService example that you may have used in other labs in this series.
(March 2016: Lab updated for IIB10003) This lab shows how to use a web service connection to invoke an existing Integration Service (EmployeeService). Also how to use the Graphical Data Mapper to demonstrate schemaless mapping, mapping JSON input and output data. As well as write and read elements to the Environment tree and retrieve information about the runtime environment, including the application and flow names.
This lab guide shows how to extend the Employee Service by adding operations that will load the data from the SAMPLE database to computer memory and allow it to be retrieved from there for improved performance.
This lab demonstrates a typical use case for integrating a mobile app with a REST API service running on IBM Integration Bus.
(March 2016: Lab updated for IIB10003) In this lab guide you configure two MQ applications to show how MQ queues can be accessed on queue managers configured in different ways.
(March 2016: Lab updated for IIB10003) This lab guide covers how to override MQ Connection properties using MQEndpoint policies. In this lab guide you configure two MQ Applications to show how MQ queues can be accessed on queue managers where the queue manager exists on a remote IBM MQ Appliance using an MQ Client connection.
[iib10] Lab 8: Implementing Business Rules with IBM Operational Decision Management using the Employee Service scenario
You can use the IBM Integration Bus Toolkit to write business rules by using natural language, so that they can be read easily by business users (for example, a business analyst). In the Integration Toolkit, you create a decision service, which is a collection of rules that are used to process a message.
This lab investigates two techniques for message flow security:
1. Authentication and authorisation with username/password, using an LDAP database for both authentication and authorisation.
2. Authentication and authorisation with X.509 certificates
(April 2016: Lab updated for IIB10004) This lab shows the following functions:
– Deployment of applications and libraries from the Web UI;
– Explore Web UI without security
– Configure Web UI with role-based security:
– Explore Web UI with role-based security
This lab guide covers how to configure MQ applications to connect to remote SSL enabled queue managers using MQEndpoint policies.
This lab guide provides a “hands on” introduction to the IIB support of MQTT and how IIB V10 can be integrated with IBM Internet of Things (IoT) Foundation. The IoT Foundation hosts a MQTT server on the internet and provides a quick start demonstration service.
(March 2016: Lab updated for IIB10003) This lab shows how to implement a REST operation to retrieve data from the Global Cache.
(April 2016: Lab updated for IIB10004) This lab shows how to create and use a business transaction based on the message flows contained within a single application.
(April 2016: Lab new for IIB10004) In this lab, you explore the use of callable flows (introduced in IIB V10.0.0.4), which enable a message flow (or integration service, or REST API) to invoke a separate message flow in a call/return (blocked wait) programming model.
(April 2016: Lab new for IIB10004) This lab explores the use of IBM Integration Bus V10 Fix pack 4 to interact with your Salesforce.com account in the cloud, by using a Salesforce request node in a message flow. You can use this capability to create, retrieve, update, and delete records in your Salesforce system directly from IBM Integration Bus.
(March 2016: Lab updated for IIB10003) This lab explores how to control and use a REST API (created in the lab
Developing a REST API Service) from within IBM API Management.
(April 2016: Lab new for IIB10004) This lab guides you through the steps needed to implement a message flow that starts an instance when a message arrives at a queue hosted on MSMQ (Microsoft Message Queuing). It responds to that by doing a simple mathematical calculation and sending a response to another MSMQ hosted queue.
(April 2016: Lab new for IIB10004) This lab shows you the steps to enable an IIB application (integration service) to connect to SQL Server, and retrieve some rows from a specific SQL Server table.
This lab guide provides a “hands on” introduction to the IIB support of MQTT and how the IIB V10 Node Policy support can provide a useful way of changing connection specific configuration related to an MQTT node without the need to redeploy a message flow.
(March 2016: Lab updated for IIB10003) This lab shows how IBM Integration Bus Integration Services can be secured using (message level) Web Services security and Transport Level Security (TLS) using X.509 certificates.
Create a message model for a CSV file that has a header record, and several detail records, but no trailer record. Using the new Shared Library function that was introduced in IBM Integration Bus Version 10.
Create a message model from a COBOL Copybook, test parse the model against a valid data file, and then use the trace facility to test the message model against a malformed message.
Create a message model capable of parsing a tagged, delimited file (such as for messages that conform to the ACORD AL3, EDIFACT, HL7, SWIFT, or X12 standards).
[iib10] Lab 94: Message Modeling with DFDL Lab 4: Record-oriented, tagged, delimited text (advanced)
Extend the DFDL structure in the message model from Lab 3, to parse a data file that contains multiple Company records, and then test the model against a data file.
Extend the tagged-delimited message model from Lab 3, to create two message models that use length prefixes. Such use of length prefixes is a particular requirement for some industry standard models; for example, the ISO8583 standard used in credit card processing.
Create a message model that uses discriminators to assert that an object is ‘known to exist’. This enables the DFDL parser to parse data without incorrect back-tracking for processing errors related to that object.
Set up an R node in Integration Bus and use that node in a REST service to extract data from a database and create an R model from the data. Create a simple application to predict the value of Salary given a value for Education level.
Set up an R node in IIB and use that node in an integration service to extract data from a database and create an R model from the data. Create a simple application to predict the value of Salary given a value for Education level.
In this lab, you use the IBM Integration Bus for Developers V10 Toolkit to build a message flow that uses MQ nodes, and use the Flow Exerciser to deploy and test your message flow and its use of WebSphere MQ. You also use the WebSphere MQ Explorer to create a queue manager and queues.