IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Advanced development topics > Adding Java to the application

Use a Java project with a module

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.

Here are some instructions for Java development in a Java project:


Procedure

  1. Create a Java project. You can create a Java project from the Business Integration view.

    1. Click File > New > Project.

    2. In the New Projects list, select Java > Java project.
    3. Name the project and complete the selections in the wizard.
  2. Develop your Java code in that Java project.

  3. 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.

Adding Java to the application


Related concepts:
Business integration projects
Business services: Top-down development


Related tasks:
Organizing projects using integration solutions