Starting Tomcat, TomEE or OpenEJB is quite simple, basically a single script to run….but a script. Sometimes in production you can’t use bash or something else and these scripts can be broken in the shell you have access to.
Another point can be the normalisation in the enterprise of runners: all java apps should be runnable with java -jar app.jar.
Well globally sometimes you need a jar to run TomEE. If you read my previous posts you know there are few solutions but nothing very simple.
That’s why TomEE Maven Plugin now supports an exec goal.