[SpringBoot] Spring Boot 소개

2020. 5. 3. 22:00개발/Spring

🤔Spring Boot 란?

Spring Document

8. Introducing Spring Boot

Spring Boot makes it easy to create stand-alone, production-grade Spring-based Applications that you can run. We take an opinionated view of the Spring platform and third-party libraries, so that you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.

You can use Spring Boot to create Java applications that can be started by using java -jar or more traditional war deployments. We also provide a command line tool that runs “spring scripts”.

Our primary goals are:

  • Provide a radically faster and widely accessible getting-started experience for all Spring development.
  • Be opinionated out of the box but get out of the way quickly as requirements start to diverge from the defaults.
  • Provide a range of non-functional features that are common to large classes of projects (such as embedded servers, security, metrics, health checks, and externalized configuration).
  • Absolutely no code generation and no requirement for XML configuration.

Spring Boot를 Document에서 설명하고 있는 내용이다.

Spring Boot는 기본적으로 실행할때 Spring Boot 하나만을 가지고 실행할 수 있다. 라고 되어 있는데 Tomcat 같은 것들을 내장형 식으로 지원해 주기 때문에 이렇게 작성해 놓은 것 같다.

opinionated viewSpring Boot 가 가진 Convention을 이야기 하는 것이다. Spring Boot 가 가장 널리 쓰인다고 생각하는 설정을 기본적으로 제공한다. 사용자가 일일히 설정해주지 않아도 말이다. Platform 뿐만 아니라 Third-party App들도 지원해준다. 예를들면 톰켓이 있겠다.

목표 부분을 잠깐 해석하자면

목표

  • 모든 Spring을 개발할때 더 빠르고 더 폭 넓은 사용성을 제공해준다.
  • opinionated view를 제공해준다. 하지만 얼마든지 사용자가 손쉽게 Spring Boot가 제공해주었던 설정들을 바꿀 수 있다.
  • 대규모 프로젝트에 공통적되는 non-fuctional 한 특징들을 제공해준다. 예를 들면 내장 서버, security, 상태점검, 외부화 등이 있다.
  • 더이상 XML 설정을 사용하지 않는다.

😀🥕