As described here:
https://github.com/indrabasak/spring-shell-example
most of spring shell projects are launched by this way:
mvn clean install
then
java -jar target/[generated_jar]jar
Now, every time a user need to use the console generated by the spring shell project he needs to run the jar and load the entire application.
With Tomcat, is it possible to start the application only once and expose it, by a command line for example, for anyone who want to access to the shell terminal?