Skip to main content Skip to complementary content

Creating a custom Bean Jar

Talend Studio lets you create custom Bean Jars and set up custom Bean Jar dependencies on Routes and Routelets.

The custom Bean Jar lets you bundle multiple Beans in a single archive. By setting up custom Bean Jar dependencies on Routes and Routelets, the code dependencies for Routes and Routelets become more explicit and this can help reduce dependency conflicts.

Procedure

  1. In the Repository tree view, right-click Code > Custom Bean Jars and select Create Bean Jar from the contextual menu.

    The New Bean Jar dialog box is displayed.

  2. Fill in the generic properties such as Name, Purpose (optional), and Description (optional).
    The information you fill in the Description field will appear as a tooltip when hover over the custom routine jar in the Repository tree view.
  3. Click Finish to save the new custom Bean Jar.
    The newly added custom Bean Jar is displayed under the Custom Bean Jars node.

What to do next

You can create inner Beans and bundle them in the new custom Bean Jar by right-clicking it and selecting Create Bean from the contextual menu. For more information, see Creating a Bean.
You can bundle any existing global Bean into a custom Bean Jar by right-clicking the global Bean and selecting Copy Bean to... from the contextual menu.
Information noteNote: A global Bean is kept as a global one after being copied into a custom Bean Jar.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!