The Vertx launcher is one of the two way to start an application
It is a launcher class that wraps the management of a vertx instance and the deployment of a main verticle.
It can be used:
This class is used as the main class and wrapped by:
For instance to run a verticle in IDEA, you would configure this run.
docs/apidocs/io/vertx/core/Launcher.html can be seen as a standard version of a main class
You may extends the launcher to execute code at some lifecycle endpoints (before/after creating a vertx, before/after verticle deployment)
java -jar my-verticle-fat.jar start --vertx-id=my-app-name
where:
java -jar my-verticle-fat.jar stop my-app-name
java -jar my-verticle-fat.jar list