Using Java inside a Business Works 6.1 Process

One of the several changes we are facing in this new version of the TIBCO BusinessWorks software is the way we handling the Java Code we have to add inside our BusinessWorks processes.

In the previous versions we have to deal with the plain Java editor that the TIBCO Designer provide to us, but now, in the new facy version we have all the capabilities of the Eclipse IDE working for us. 

The main problem is how to configure a new TIBCO BW Application to allow to store the Java source files and there are two ways to do this:

The first one is doing it in the project creation process, the moment you specify the name of the process you have a checkbox that you can specify to enable the “Java configuration” as you can see here:

JavaConf1

The moment you check this checkbox and finish the creation process you will have a new BusinessWorks process but we have a few new folders you may recognize if you have a Java background:

JavaConf2

You will see a “src” folder when you can store your Java source files, a “lib” folder when you can add your JAR files that you need inside your project, and some Java configuration files like the build.properties.

Now, you can add a new Java activity inside your process and refer to an existent class inside your BusinessWorks project, as you can see here:

Java3

The last thing is reconfigure an exisitng BusinessWorks project to allow the Java source code files, and to do that you have to select the project and using the context menu and select the option: Convert to Java project.

Java4

You can download a Java Invoke project sample from here: Download!

Advertisements

One thought on “Using Java inside a Business Works 6.1 Process

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s