Integrating .Net into Talend Studio: Introduction - 7.3

DotNET

Version
7.3
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Data Governance > Third-party systems > DotNET components
Data Quality and Preparation > Third-party systems > DotNET components
Design and Development > Third-party systems > DotNET components
Last publication date
2024-02-21

This article describes the way to integrate .Net into Talend Studio, for example, invoking dll methods in a Talend Studio Job.

For more technologies supported by Talend, see Talend components.

Based on the runtime dlls (such as janet-win64.dll), Talend Studio provides the capability of integrating .NET and Java, through which you can access C++ libraries and invoke their methods easily in Java. Normally, for a Talend Studio user, this can be implemented in two ways: utilizing the components in the DotNET family (that is, tDotNetInstantiate and tDotNetRow) in Talend Studio and custom code. This article discusses the first method.

In a Talend Studio Job, the tDotNetInstantiate component can be used as a start component in a flow or an independent subJob. It loads a system assembly or a custom dll by creating a .NET object. The object can then be used by the subsequent tDotNetRow components for invoking the methods. You need also to specify the class and set parameters of the constructor for a tDotNetInstantiate component.

The tDotNetRow component references a .NET object created by a tDotNetInstantiate component. It can be used mid-flow, start the flow, or end the flow. You need to specify the method to be invoked and set the parameters for the method. This component also passes the output of the method to a specified column defined in the schema. So, you need to add columns in the schema of the component and specify the column which the output values are passed to.

Note: For information about configuring the tDotNetInstantiate and tDotNetRow components, see Talend Components Reference Guide.

This article shows the way to invoke dll methods in a Talend Studio Job, which uses the two DotNet family components.