Adding custom classes to the SOA Suite server
This recipe explains how to add custom classes to the Oracle SOA Suite server. Similar to adding the third-party libraries, the Oracle SOA Suite server provides a convenient placeholder for classes.
How to do it…
We will add classes that take care of loan calculation in this recipe. The same recipe can also be used for the addition of other Java class files:
If the server is running, we repeat the step for stopping the Oracle SOA Suite server from the Adding third-party libraries to the SOA Suite server recipe.
After the server has stopped, copy the class structure (in our case,
LoanInfo.class
andLoanCalc.class
) to the extension folder.Note
The extension folder for the Oracle SOA Suite is located at the following location:
%SOA_Home%\soa\modules\oracle.soa.ext_11.1.1\classes
The following screenshot shows the tree structure of the
extension
directory after copying the class files:Finally, to start the Oracle SOA Suite, repeat the corresponding command...