Spring Boot

스프링부트 백그라운드(설치) 1

pjh8838 2024. 6. 1. 19:20

스프링부트는 3 버전까지 나왔지만 지금은 2 버전 사용

-> 3버전은 jdk 17부터 사용가능

jdk 의존성을 따르기 때문에 버전확인 필수

 

스프링 프레임워크와 스프링부트는 환경이 다르지만 문법은 같음

스프링 프레임워크는 중요 사이트만 정리

 

https://spring.io/

 

SNAPSHOT은 개발 중 인 상태라서 쓰면 안됌

 

RELEASE는 배포까지 완료된 거라 이거쓰면 된다 Reference Doc은 메뉴얼(안에 core 확인 중요). Api Doc은 자주 보면서 공부해야된다

 

 

https://docs.spring.io/spring-framework/docs/5.2.25.RELEASE/javadoc-api/

 

Spring Framework 5.2.25.RELEASE API

 

docs.spring.io

 

https://docs.spring.io/spring-framework/docs/5.2.25.RELEASE/spring-framework-reference/core.html#spring-core

 

Core Technologies

In the preceding scenario, using @Autowired works well and provides the desired modularity, but determining exactly where the autowired bean definitions are declared is still somewhat ambiguous. For example, as a developer looking at ServiceConfig, how do

docs.spring.io

** 스프링 프레임워크 핵심개념 사이트 ( Reference Doc 안에 Core) **

수업에서 프레임워크는 안배우지만 중요한 사이트들임

 

########################################################################

이제 스프링부트

 

3버전은 jdk 17부터 나는 2버전 사용 https://spring.io/projects/spring-boot#learn

 

 

내가 사용하는 2.7.18 버전의 Reference Doc,  Api Doc 다 중요하지만 

기본 문법이 스프링 프레임워크랑 같아서 

https://docs.spring.io/spring-framework/docs/5.2.25.RELEASE/spring-framework-reference/core.html#spring-core 

 

Core Technologies

In the preceding scenario, using @Autowired works well and provides the desired modularity, but determining exactly where the autowired bean definitions are declared is still somewhat ambiguous. For example, as a developer looking at ServiceConfig, how do

docs.spring.io

여기서 문법 공부 하면 된다.

 

 

스프링부트는 자체 개발툴 사용

https://spring.io/tools

 

Spring | Tools

 

spring.io

 

sts4버전은 부트만 개발할 수 있음

프레임워크는 3버전에서 사용

 


설치

 

jar 파일 받고 더블클릭하면 파일 생김

 

workspace 만들고 exe 실행

 

UTF-8로 변경
UTF-8로 변경
사용하는 jdk 버전으로 바꾸기

 

 

 

 

sts4는 Strater Project만 있어서 프레임워크는 사용 안된다

 

728x90