In one of my previous posts I described Java Component and entry point resolvers as a way to invoke Java Code in Mule 3.x. In this article I will focus on completely new approach in Mule 4. Mule presents brand new Java Module capable of creating new instances, invoking methods on those instances and invoking static methods. Although you can invoke Java using DataWeave 2.0 and Groovy scripting you are losing additional metadata (DataSense). So lets walk through some sample application.
What is the most important thing that a mule developer needs? I think that well configured IDE is the answer. While you can have an appropriate set of skills, without a good toolkit you wouldn’t be as efficient as you could. Therefore in this article I explain how I configure my development environment. I hope that you would enjoy it :).