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...
Sur cette page du site, vous pouvez voir la vidéo en ligne Call a Java method from a JAR file in DataWeave durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Dejim Juang 22 juin 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3,798 fois et il a aimé 38 téléspectateurs. Bon visionnage!