spring-boot (spring-projects/spring-boot)

Searching Database…

What is this?Spring Boot is a Java framework that helps you create production-grade, Spring-powered applications and services with minimal configuration fuss.
Is this a framework I add to a Java project, or a separate app I run?It's a Java framework/library you add to your build via Maven or Gradle; your own code sits on top of it and compiles into a runnable standalone jar or a traditional WAR.
How do I add Spring Boot to a project?Follow the reference documentation's installation instructions, add the Spring Boot starter dependencies with Maven or Gradle, then run the app with 'java -jar' or deploy it as a WAR; a 'first application' tutorial walks you through it from scratch.
Does Spring Boot generate code or require XML configuration?No — it explicitly avoids code generation and doesn't require any XML configuration, relying instead on sensible opinionated defaults that you can override.
What does Spring Boot give me out of the box?It bundles common production-ready features like embedded servers, security, metrics, health checks, and externalized configuration so you don't have to wire them up yourself.
Can I run a Spring Boot app as a standalone jar?Yes, thanks to embedded server support you package your app and run it directly with 'java -jar yourapp.jar' without needing an external servlet container.
Is there a command-line tool for Spring Boot?Yes, Spring Boot ships with a CLI tool that can run Spring scripts directly.
Why would I use Spring Boot instead of plain Spring?It gives you a radically faster getting-started experience by being opinionated about defaults, while still letting you diverge from them as your requirements grow.
Size
222.1 MB
Stars
81.9K
Age
14y
Commits · 90 Days