Executing an Arbitrary Main Class from a Spring Boot JAR

From NovaOrdis Knowledge Base
Revision as of 18:20, 20 December 2018 by Ovidiu (talk | contribs) (Created page with "=Internal= * Spring Boot =Overview= A Spring Boot JAR comes with all an application needs to function, and the application can be started as simply...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

A Spring Boot JAR comes with all an application needs to function, and the application can be started as simply as:

java -jar my-app.jar

This works because there is a well defined entry point that bootstraps the Spring Boot runtime. The application bytecode is maintained under a BOOT-INF directory inside the JAR. However, this interferes with ...