Demo project for Java Applications running inside containers - Using Spring Boot
-
Open a command prompt and navigate to the root directory of this application.
-
Type this command to build and execute the application:
mvn clean compile spring-boot:run
-
The application will be running at the following URL: http://localhost:8080/api/hello
-
You can trigger the allocation of 80% of JVM memory accessing http://localhost:8080/api/memory