TIBCO BW5 Java Tutorial: How to Use Java Method and XML to Java Activities

TIBCO BW Provides dozens of ready to use palette activities which can be dragged & dropped in the design panel and configured to create simple to complex process flows for implementing different types of integration flows in a very easy and efficient manner. However, there can be scenarios where some custom code needs to be incorporated and for that, TIBCO BW provides Java Palette activities which can be used to hook any custom Java code to the process flows.

In this tutorial, you will learn how to use Java Method activity to call custom Java methods and how to convert Java Objects to XML in TIBCO BW designer.

How to Use Java Methods from a Jar File in TIBCO BW Process

Java code can be hooked and integrated into a TIBCO BW Process by multiple ways.

  1. You can use Java Code activity and write your custom Java Code directly in BW Process and use it.
  2. You can use Java Custom Function from a class and then use that custom Function same as any other XPath functino. I have created another video tutorial explaining how to use Java Custom Functions in TIBCO BW.
  3. You can import a Jar file in your TIBCO Project (in Alias Library) and then call methods provided by that jar file.

Below video tutorial on YouTube Channel of TutorialsPedia explains step by step how to use Java Method and how to convert Java Objects to XML using Java to XML Palette activity.

Feel free to comment in the comments section if you have any questions or need any further clarity on this topic.

Ajmal Abbasi

Ajmal Hussain Abbasi is Integration Consultant By Profession with 13+ years experience in Integration domain mainly with TIBCO products. He has extensive practical knowledge of TIBCO Business Works, TIBCO Cloud, TIBCO Flogo, TIBCO Mashery, TIBCO Spotfire, EMS and TIBCO ActiveSpaces. He has worked on a number of highly critical integration projects in various sectors by using his skills in TIBCO Flogo, TIBCO API Management (Mashery), TCI, Tibco Designer, TIBCO Business Studio, Adapters, TIBCO EMS, RV, Administrator, TIBCO BE, TIBCO ActiveSpaces etc. Ajmal Abbasi has experience with MuleSoft ESB as well. Ajmal Abbasi is also experienced in the area of API Management particularly with WSO2 API management platforms. Ajmal Abbasi is also experienced in developing solutions using Core Java and J2EE Technologies. You can contact Ajmal Abbasi for Consultancy, Technical Assistance and Technical Discussions.

More Posts - Website - Facebook - LinkedIn - YouTube

Leave a Reply

Your email address will not be published. Required fields are marked *