Skip to content

redhat-developer-demos/java-container

Repository files navigation

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

  1. Open a command prompt and navigate to the root directory of this application.

  2. Type this command to build and execute the application:

     mvn clean compile spring-boot:run
    
  3. The application will be running at the following URL: http://localhost:8080/api/hello

  4. You can trigger the allocation of 80% of JVM memory accessing http://localhost:8080/api/memory

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published