Edit Add a file or picture Printable page Raw Text Page change history More options

Learning TDI

To learn TDI on your own (or better prepare yourself for an instructor lead course) work first through the Getting Started tutorial included in the TDI online documentation. All the example files you need are installed under the "examples/Tutorial" sub-folder of your TDI installation directory.

And here is a collection of HowTo's.

There are also IBM Education online tutorials here.

Word of advice: After you've done the Getting Started exercises, try running them step-by-step (read: Hook-by-Hook) in the AL Debugger. There is a video tutorial below (#6) that gives you a quick overview. The Debugger will save you hours when building and troubleshooting your solutions and is the fastest way to examine data in-flight, test script algorithms and explore external systems (e.g. calling APIs, sending protocol traffic, executing shell commands, etc.). Remember, your script code is executed by the TDI Server you are connected to - not by the Config Editor itself - as are any shell commands you invoke.

Once you feel comfortable in the Debugger, continue with the video tutorials below.

For instructor-led training courses, see the Education and Training page.

For a clear and concise discussion of JavaScript try this article.

Below is a set of video tutorials along with example Config files and accompanying slides. These start off with basic concepts and each new exercise builds on the previous one.

NOTE for TDI 6 only: Note that the specifics of Cloudscape/Derby drivers and JDBC URL settings have changed a bit with TDI 6.1 and 6.1.1. Also, video #5 below applies to 6.0. Although the concepts are the same, for more information on configuring Cloudscape for TDI 6.1 and 6.1.1, see this page on the System Store.

NOTE 2: Note also that with some browsers, you may have to right-click on the video link and save it to disk in order to view the tutorial.

Exercise 01 Making your first AssemblyLine

Sorry about the unedited stream-of-consciousness version uploaded here previously. Thanks for your patience and perseverance. And feedback! -Eddie

Exercise 02 Digging deeper: How an AL works

Note that the JavaScript used to generate mail addresses in the CreateMailAddress AttMap component is in error. You should be using Java String .replaceAll(' ','.') instead of .replace(' ', '.'). That way all the spaces are replaced with dots instead of just the first one.

Exercise 03 Flow Control: Attribute map and branching

Exercise 04 Flow Control: Loops, Libraries and Inheritance

Exercise 05 System Store - Cloudscape

NOTE Slide 8 in the presentation (and shown in the video) is incorrectly entitled "Embedded mode" when this is clearly a diagram of Network mode operation.

Exercise 06 Using the 6.1x Debugger

Exercise 07 Expressions and Properties (external and otherwise)

Expression are explained here in the TDI documentation, including how to embed JavaScript in TDI Expressions. This is a powerful tool for dynamic configuration of components and AL behavior.

Exercise 08 Null Behavior (auto handling of missing/unwanted Attributes)

Exercise 09 Bi-directional Sync between AD and Domino

Domino 8 users get a right to download and use TDI for any and all Domino/Notes-related integration. In anticipation of the upcoming release, we have prepared a couple of videos: one that demos a bi-directional synchronization between Domino and AD, and another that shows you how to build this solution.

Note that this tutorial only covers provisioning of Domino Internet Users. If you want to learn more about managing Notes User accounts, including mail and Id file creation, then check out the How-To section for the document on Integrating Domino/Notes with TDI.

The first video below is also on YouTube ;)

The Demo

How To Create This Solution

Exercise 10 Using the Notes Connector

See #14 and #15 below for more in integrating IBM Lotus Notes using TDI.

Exercise 11 Integrating TSRM using TDI

A demo of how to integrate Tivoli Service Request Manager, IBM's Service Desk & Catalog solution that is a cornerstone of integrated services management (ISM).

The Config used is here:

Exercise 12 REST-enabling Systems & Stores

The following Config is an example of how to rapidly service-enable any system, API or data store (including files) by wrapping them in a REST service using TDI.

Exercise 14 & 15 Rapid Notes Integration

Here are a couple of videos showing how to move data in and out of IBM Lotus Notes.

Cognos - Using TDI to gather Cognos performance metrics

This is a silent film made by Cognos product manager Scott Masson to show how TDI can be used (and automated) to grab metrics from the AppServer dispatcher and service beans that make up the Cognos system. These are then written to a data mart so that BI tools in Cognos are then used to create a performance and trending dashboard for the application itself. This solution must surely be of interest for other AppServer apps as well.

Of course TDI can also be used to gather other business data for analysis by Cognos.

Connections-related Videos from Luis Benitez

More YouTube videos

-- EddieHartman - 21 May 2009