Skip to main content Skip to complementary content

Migrating Routes from JavaBean to XML

Java classes and Jars support are deprecated in Talend Data Mapper. If you have existing routes based on the JavaBean Representation, you need to migrate those to the XML Representation.

Current Java Support

The current support for Java is based on Xstream. For more information, refer to http://x-stream.github.io/.

On Input, the caller passes a JavaBean in a JavaObjectSource. The TDM Reader internally collects the JavaBean using XStream and generates SAX Events to be processed by the map's xQuery.

On Output, the TDM Java Writer also uses XStream and drops the SAX Events received from the map in a JavaBean placed in a JavaObjectResult.

Information noteNote: You can only use the current Java support in a Route, since tHMap does not support JavaObjectSource or JavaObjectResult.

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!