Spring Boot (Java Web Framework)
Spring is a Java application framework and Spring Boot is from the same ecosystem, but is focused on web applications.
Getting Started
Initializer
A good place to start a Spring project is the Spring Initializer. There you'll be able through a web app to select the dependencies you want to use and provide basic configurations. Then it will give you a zip archive to download with the project structure and initial boilerplate code.
In it you can change:
- Project type:
- Maven
- Gradle (Kotlin)
- Gradle (Groovy)
- Language:
- Java
- Kotlin
- Groovy
- Spring Boot version
- Project Metadata
- Group
- Artifact (name)
- Project name
- Description
- Package name
- Packaging
- Jar
- War
- Java version
- Extra dependencies
Create Spring Boot Container
Explanation of Spring Application Containerization
It's possible to containerize a Spring application. Here we'll show you how, among other platforms, to do it with Docker.
Command Line to Create Container
docker run -it --rm -p 8080:8080 --name javamaven maven:3.6.3-openjdk-11 bash