Four Stars

Import my own Java project to TOS and add new Job to this Project?

Hi Master,
i have some question :
1. Is it possible to import my own Java project (created with eclipse) to Talend and then create new Job to my Java project?
2. if yes, how could i call my new job from my Java project?
3. Is there any tutorial about using java perspective in Talend?
Thank you and best regards,
2 REPLIES
Five Stars

Re: Import my own Java project to TOS and add new Job to this Project?

Hi,
As far as I know, you cannot do that.  The source code in Talend is stored as xml and not java code and with this in mind, the tool is
not structured to handle the importing of an Eclipse based project.
Keep in mind that Talend is a code generator and not an ide like Eclipse, Netbeans, etc. and because of this you do not import native
java code and maintain that code.  The java perspective is for our benefit when needing to dig into the details when testing/debugging
the code and the code you see there cannot be maintained.
To help you better understand this, go to your Talend workspace and navigate to a folder named 'process'.  In this folder, you will see
the Talend projects you have developed.  Drill down into one of the project's folder and you will see that each job has three xml files
devoted to it (item, properties, and screenshot).

Hope the above explanation helps.

TG
 
Seventeen Stars

Re: Import my own Java project to TOS and add new Job to this Project?

The typical way to cooperate is build a Talend job and export it as maven artefact. This maven artefact can be used in your Java project.