IBM planned to withdraw Mesa Editor and Studio, a services development kit and it will enter retired status as on the next modification or major release (after v5.2.6). I'm aware that there's a big portion of customers / software developers out there who fell in love with MESA Studio SDK and are looking for MESA alternatives for extending IBM Sterling B2B Integrator for their complex file transfer requirements. Although there are no as-is alternatives to MESA in the market at the moment but Apache Maven can help customers / developers in providing important features and simplifies custom service development.
I felt there is a need for "Hello, world!" program which will help the customers / software developers to get acquainted with the MESA Studio SDK alternative. Since, it is a hello world program - lets' take a simple scenario that retrieves a service parameter and updates process data. The example I have used is very simple but it still illustrates how to write and build a custom service using Apache Maven/Eclipse. IBM Software Services may be engaged for developing complex customized java extensions to IBM Sterling B2B Integrator, and to minimize risks and to maximize ROI.
1.1) IBM JDK 1.7
1.2) Eclipse - Neon Release (4.6.0)
1.3) IBM Sterling B2B Integrator v5.2.6.x
2) Create a maven project
3) Update java build path with below jars
4) Create local-maven-repo (local repository),folder structures(servicedefs, src->main->assembly)
Create the HelloWorld.java application file. The file will be created in the directory HelloWorld/src/com.ibm.custom/com/ibm/custom/. Copy and paste the code below into the HelloWorld.java application. “processData(..)” is the entry point for the custom service.
Create the HelloWorldService.xml file. The file will be created in the directory HelloWorld/resources/servicedefs/. Copy and paste the code below into the HelloWorldService.xml file. This file contains the definition of service and parameters.
7) Maven Assembly Plugin - default.xml
Create the Maven Assembly Plugin - default.xml file. The file will be created in the directory HelloWorld/src/main/assembly/. Copy and paste the code below into the default.xml file.
Copy and paste the code below into pom.xml
9.1) Check for compilation errors.
9.2) Right-click on pom.xml->Run As->Maven install which creates service jar – HelloWorld-0.1-bin.jar in "target" folder.
Thanks to Bharat Balothia, Senior Solution Architect for giving me an alternative idea to MESA Studio SDK to speed up the custom service development.
Please do not cite, circulate, or copy without permission of the author. The views expressed are solely my own and do not express the views or opinions of my employer. I shall not be accountable for and does not accept any liability or responsibility whatsoever for any inaccuracies, omissions, errors, misleading information, loss or damage howsoever arising (including without limitation, incidental, punitive, exemplary, special or consequential damages, loss of profit or damages resulting from lost data or business interruption), be it by negligence or otherwise, or expense resulting from:-
- Using the information and contents of this article whether with or without authorization;
- Relying on the information and contents of this article, whether downloaded or not;
- The performance, operation, functionality, non performance, unavailability, inaccessibility, or corruption of this article;
- Refer vendor specific documentation for any kind of latest information;