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
-
In the Repository tree view, right-click
and select Create Bean
Jar from the contextual menu.
The New Bean Jar dialog box is displayed.
-
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.
-
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.
Note: 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.
Note: A global Bean will be kept as a global one after being copied into a
custom Bean Jar.