after I wrote a blog post about running Camunda in Quarkus in Febuary, I was asked on Twitter if I thought that Camunda could run on GraalVM Native Image. First I tried to dodge the Question on to Bernd Rücker, but he was not sure about it, either. This prompted me to try and make this work over the weekend. Quick summary: It didn’t. I published a summary of the process here: Running Camunda on GraalVM Native Image - Tim Zöller
I don’t think this is impossible, but the two main points I was not able to solve were Camundas usage of OSGI and Scala. I don’t have any experience in these topics and I don’t intend to learn them, maybe somebody here is more experienced with them and can give some pointers in the right direction? Are you interested in making this work, would you benefit from it?
Personally, I don’t think that running Camunda on Native Image is worth it. The big benefits of native image are fast startup time and a small memory footprint, but the main share of a process applications startup time is the initialization of the Process Engine itself. Also, natively compiled Java Application can’t make use of Javas JIT optimizations, so I would prefer my process applications on the JVM, still. What do you think?