WTX Overview - DeBruin Consulting

Download Report

Transcript WTX Overview - DeBruin Consulting

WTX Overview
Agenda
•
Goal today is to provide the very basics
•
The fundamentals course for WTX is a 5 day class
•
Overview
•
WTX Tools, Components, Development Environment.
•
Demo building a WTX interface start to finish.
What is WTX?
IBM WebSphere Transformation Extender
WTX is…
•
A fully mature tool

It’s been around since 1992.

IBM bought in 2006 and version 8.2 was the first in Eclipse.
•
An any-to-any mapper
•
Multiple inputs and outputs in any format

•
Adapters:

•
Flat files, XML, Database, X12, SWIFT
File, Database, MQ, HTTP, FTP, SOAP, Shell/Batch
Very good at:

Parsing and validating flat files

Complex transformations
What Sets WTX Apart? It’s Fast.
• Very Fast Development
•
Full library available on your desktop for fast and easy testing
•
No deployment to a server necessary to unit test code
• Very Fast Runtime Execution
•
Compiled C
•
Parse and validate 500 meg flat files
in 20-30 seconds
WTX Components
Type Tree Designer
•
Trees are similar to XML schemas
•
They represent the structure of the input and output data
•
Just like XML you have simple and complex objects to build representations of
your data

Simple Objects are called Items

Complex Objects are called Groups
Map Designer
•
Defines Transformations and Business Rules
Other Tools

Database Interface Designer

Importers

Resource Registry
WTX Development Methodology
WTX in Four Steps
1. Develop Trees
•
Create or import Input Trees to parse and validate data
•
Create or import Output Trees to build your output structure
2. Develop Maps
•
Functional Maps (Looping), Drag and Drop Groups and Items
•
Unit test locally on your desktop
3. Deploy to Runtime
•
Deploy compiled maps to be executed by WESB
4. Troubleshooting
•
Trace, Audit logs, Debugger, Profiler
DEMO
WTX Importers
Importing Trees
•
Provides automated creation of
Type Trees saving you hours of
development work
•
Formats Include:
 XSD (XML)
 Fixed length Flat Files (copybook)
 WSDL
 Type Tree Maker (advanced)
WTX 8.4.1 Map Designer
Map Source File Name and current
functional or executable map name
Rule Bar
Cards
Rule Column
Extender Navigator
From Window
Map Navigator
Extender Properties Window
To Window
WTX 8.4.1 Tree Designer
Tree Source File Name
and Project name
Type Tree with a Group highlighted
Component Rule Bar
Tree Navigator
Components
WTX Perspective
• Design Studio
•
Has it’s own version of Eclipse
• WebSphere Integration Developer
•
We can use this version of Eclipse to develop WESB flows and
open maps/trees using the WTX perspective
WTX at Runtime Execution
WTX Runtime Mapping Steps
1. Read all input cards sequentially into memory

Read Input card 1, 2, 3, etc.

All Inputs are available for use in any output
2. Executes output cards sequentially

Output card 1 completes, 2 completes, etc.

Output card 3 card may use data from output card 1 & 2