Which language to use to implement a user-defined extension

You can use Java™ ,C, or C++ to implement a user-defined extension.

You can use C or C++ to implement all types of user-defined extension except for connectors. You can use Java to implement user-defined nodes and connectors only.

If you can, use Java for user-defined nodes and connectors, and use C or C++ for everything else.

You must compile user-defined nodes, parsers, and exits that are written in C into a loadable implementation library (LIL): that is, a shared library on Linux® and UNIX systems, or a dynamic link library (DLL) on Windows systems. You must package user-defined nodes and connectors that are written in Java as a JAR file.

To achieve platform independence, use the ANSI standard C ,C++, or Java programming languages, and avoid platform-specific code in your user-defined extension.

When you use C++ to implement a user-defined extension, you must consider the following caveats:
  • A compiler that is binary compatible with the C++ compiler that is used to build IBM® App Connect Enterprise must be used. Binary compatibility is at the discretion of the compiler vendor and is not controlled by IBM App Connect Enterprise.
  • The C++ compiler that is used by IBM App Connect Enterprise might change between mod releases or fix packs.
  • The C++ user-defined extensions must be compiled with exception handling support and runtime type information enabled.