Call a Java method from a JAR file in DataWeave

Published: 22 June 2020
on channel: Dejim Juang
3,798
38

Do you have Java code that you want to reuse in your Mule project? Is it in a *.jar file? This video will show you how to call a Java method from a *.jar file directly from DataWeave. I'll walk you through the process of adding the *.jar file to your local Maven repo, adding it to your project, and how to reference the Java method inside your DataWeave script.

Reuse is a major tenant of MuleSoft and the Anypoint Platform. If your developers have existing code, they can re-use that in their Mule projects. Either in Java, Python, Ruby, or Javascript.

Setup Steps
http://dejim.com/call-a-java-method-f...

Example Project
https://github.com/djuang1/use-jar-in...


On this page of the site you can watch the video online Call a Java method from a JAR file in DataWeave with a duration of hours minute second in good quality, which was uploaded by the user Dejim Juang 22 June 2020, share the link with friends and acquaintances, this video has already been watched 3,798 times on youtube and it was liked by 38 viewers. Enjoy your viewing!