Skip to main content Skip to complementary content

Creating a custom Bean Jar

Talend Studio allows you to create custom Bean Jars and set up custom Bean Jar dependencies on Routes and Routelets if you have installed the R2021-03 Studio monthly update or a later one provided by Talend.

The custom Bean Jar allows you to 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.

About this task

To create a custom Bean Jar:

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 your mouse pointer is moved 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.
    Now 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.
    If you have installed the R2021-03 Studio monthly update provided by Talend, you can bundle any existing global Bean in a custom Bean Jar by right-clicking the global Bean and selecting Assign Bean to... from the contextual menu.
    Information noteNote: A global Bean will become an inner Bean after it is assigned to a custom Bean Jar, and an inner Bean cannot be changed back to a global Bean.
    If you have installed the R2021-04 Studio monthly update or a later one provided by Talend, 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 will be 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 – let us know how we can improve!