As a starting point, use TIBCO Business Studio projects and a simple POJO supplied with this project.
The POJOTutorialInput archive contains:
A simple POJO that will perform an address lookup based on postal code (com.example.addresslookup.pojo2).
The POJO has a dependency on an external library already deployed in the BPM node (log4j) and another that is included in the archive provided, and which you will import (com.example.addresslookup.lib).
A BPM project with a business process that will invoke the POJO to find the full address of a TIBCO office from its postal code (AddressLookupInput).
A BPM project with an Organization Model that defines a Group used by the Process (UC2OrgModel).
Procedure
From TIBCO Business Studio, start Studio for Designers.
Note: Following this tutorial will be simpler and clearer if you close any other projects that you may have open in your TIBCO Business Studio workspace, using the
Project > Close Project menu option.
To import the projects into your workspace, find the
POJOTutorialInput.zip file in the location where you installed TIBCO Business Studio (for example,
<STUDIO_HOME>\studio\3.n\samples).
In TIBCO Business Studio, choose
File
> Import. The
Import wizard is displayed.
On the
Select page, expand
General, select
Existing Studio Projects into Workspace and click
Next. The
Import Projects page is displayed.
Click
Select archive file, and click on the
Browse button.
Browse to the archive zip file and click
Open. The projects are displayed in the
Import wizard.
Click
Finish. The contents of the
POJOTutorialInput archive are installed in your workspace. It contains the following: