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.
- You can use Java Code activity and write your custom Java Code directly in BW Process and use it.
- 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.
- 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.