Thanks a lot for the answer and you are right when you say springboot doesn't make microservices......anyway the idea is to convert a monolithic application composed by 7-8 executables (and a lot of shared libraries) in a system based on 7-8 services (each executable independent). So I thought the best way was to make for each executable (jar app) a standalone service called from a sort of MMI (orchestrator to use the microservice notation). Anyway in order to be able to start/stop the app I decided to wrap my original app in a springbootapp with web REST/API enabled (tomcat encapsulated). At this point it is clear I can call the old executable via web using the parameters needed for example the old:
java -jar target/foo.jar -i abc
Missing required option: o
usage: utility-name
-i,--input <arg> input file path
-o,--output <arg> output file
in the simple case and after defined the controller:
http://localhost/foo?input=aaa&output=bbb
But what to do when the number of app options is high? Is there another way to perform the migration?