|Paradigm||Object-oriented, structured, graphical|
|webMethods Integration Server|
|Java, flow charts|
webMethods Flow (known as "flow code" or simply "flow") is a graphical programming language that runs within the webMethods Integration Server. It was designed to simplify tedious, difficult to maintain or error prone aspects of integration/B2B activities.
The Software AG Designer is the IDE in which to write flow code.
webMethods developed flow as a technology to increase the ease and speed of development on their B2B/enterprise integration platform. A language that would be a suitable fit with the desire for a service-based application server was another driving force.
The main driver behind flow syntax was to allow the graphical configuration of the mapping logic that forms the major part of Integration projects. Transformation and conversion of data in a text based programming language quickly becomes unwieldy and cluttered. It is also quite difficult to maintain due to the cumbersome nature. Flow code seeks to alleviate this problem by creating a programming language similar to the way you would indicate mapping of data if your source and destination data formats were placed side by side on a white board and lines connecting source to destination.
The other goal of flow was to allow a service based view of the application. Any existing code is a service. Invoking functionality is akin to treating it as a "black box" requiring certain inputs (which are mapped from your available variables). The results of that operation are then treated as outputs of the "black box". The concept of the "pipeline" is the means by which to pass data to and get results back from invocation of services.
There are the following operators in the flow language:
- Mapping logic is easily performed and fairly natural to understand (by a range of technical abilities from Developer to business analyst).
- Allows ease of reuse of existing services via a service based view of code
- Allows rapid prototyping
- Natural fit to the SOA model of software architecture
- Automatic exposure of all services (Java and Flow) as Web Services and use of Web Services as "services" to be invoked
- Incorrectly used flow can produce some ugly code due to too much in the way of mapping in a single Map operation.
- It is a proprietary language and as such there is little support or reference material available outside webMethods and a few isolated user created pages.
- Source code is stored as XML, making it rather difficult to use traditional editors, source control and merge tools.
- The graphical nature of the language may give the impression that non-technical staff are capable of writing good code in it. A solid technical background in other programming languages is of great advantage in producing good quality flow code.
- Fairly heavily mouse driven compared to java/c++/c# etc. and can result in sore mouse arm while first developing in it
- Only the webMethods platform has an implementation, so should a shift from that platform be desired a complete re-write of all flow code is required
- Code refactorization is only partially supported by the tool and had to be done by hand
- Due to specific approach of viewing and editing the Flow code, in complex implementation is very hard to find and understand existing code, because enforcing multiple mouse clicking at subsequent steps in Flow code to see parameters/details (HTML view might be little more helpful).
- webMethods Integration Server - the platform flow runs in
- webMethods Developer - the IDE
- webMethods - the creating company
- webMethods Flow code mapping screenshot
- WebMethods Business Integration – Detailed Features
- explanation of the webMethods pipeline
- Nathan's Intro to webMethods Flow
- Vishal KHAPRE on webmethods file structure