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...
In questa pagina del sito puoi guardare il video online Call a Java method from a JAR file in DataWeave della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Dejim Juang 22 giugno 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 3,798 volte e gli è piaciuto 38 spettatori. Buona visione!