redhat-developer-demos / Java Container
Licence: apache-2.0
Stars: ✭ 64
Programming Languages
java
68154 projects - #9 most used programming language
java-container
Demo project for Java Applications running inside containers - Using Spring Boot
This application was used for the following blog post: https://developers.redhat.com/blog/2017/03/14/java-inside-docker/
Build and Deploy java-container locally
-
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
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].