If you need to develop Java™ code that will be used in a business
integration module or mediation module, you should create a Java project
for the code and add a dependency on the Java project from the module that will be
using the Java code.
About this task
Here are some instructions for Java development in a Java project:
Procedure
- Create a Java project. You can create
a Java project
from the Business Integration view.
- Click .
- In the New Projects list, select .
- Name the project and complete the selections in the wizard.
- Develop your Java code in that Java project.
- Add a dependency from a module, mediation module, or library to
this Java project.
To do that in the dependency editor, open the module, mediation module, or
library that will use the Java code. Add the Java project
as a dependent. To always deploy the Java project with the module or library
that you have selected, make sure that the Deploy with Library or Deploy
with Module check box is selected. The dependency editor will
add the Java project to the module's class path. By default,
the dependent Java class is deployed with the module and, in the case
of a library, the dependent Java project is deployed when the library
is deployed with a module. You can choose not to deploy the dependent Java project
with the module or library.