Developing Jobs with Subjob vs Joblet

One Star

Developing Jobs with Subjob vs Joblet

In designing jobs in Talend, what is the difference between using a subjob vs a joblet? One benefit I see in joblets is that you don't have to specify the "type" of input/output (Excel vs. file delimited vs. XML). Are there any other key differences?
One Star

Re: Developing Jobs with Subjob vs Joblet

Hi,
Joblets are used for repeatable pieces of code/processing that are called within individual mappings.

Subjobs are used to encompass processing/flows that involve multiple mappings. So there is difference.
HTH

Re: Developing Jobs with Subjob vs Joblet

the word 'subjob' is normally used to denote a set of nested components (indicated by the blue box)-- a joblet can be a part of a subjob, an external job called by a tRunJob is not. I am assuming that you mean the difference between a joblet and an external job called with tRunJob.

The major difference is in how the code is generated. as a rule of thumb, you can think of executing a joblet as adding the components directly in the job father- while a job called by a tRunJob is executed by calling an external jar.