web 의존성 추가하면 tomcat, mvc도 자동으로 추가된다. => localhost:8080 사용할 때 웹페이지 띄울 수 있도록 해준다

 

스프링 부트 라이브러리

1. spring-boot-starter-web

spring-boot-starter-tomcat: 톰캣 (웹서버)

spring-webmvc: 스프링 웹 MVC

spring-boot-starter-thymeleaf: 타임리프 템플릿 엔진(View)

2. spring-boot-starter-data-jpa

spring-boot-starter-aop

spring-boot-starter-jdbc HikariCP 커넥션 풀 (부트 2.0 기본)

hibernate + JPA: 하이버네이트 + JPA

spring-data-jpa: 스프링 데이터 JPA

3. spring-boot-starter(공통): 스프링 부트 + 스프링 코어 + 로깅

spring-boot spring-core

spring-boot-starter-logging : logback, slf4j

 

테스트 라이브러리

1.spring-boot-starter-test

junit: 테스트 프레임워크

mockito: 목 라이브러리

assertj: 테스트 코드를 좀 더 편하게 작성하게 도와주는 라이브러리

spring-test: 스프링 통합 테스트 지원

 

핵심 라이브러리

스프링 MVC

스프링 ORM

JPA, 하이버네이트

스프링 데이터 JPA

 

기타 라이브러리

H2 데이터베이스 클라이언트 => 다운 받는 H2 데이터베이스 버전이랑 접근하는 클라이언트 버전이랑 안맞으면 충돌 일어날 수 있으니 버전 맞춰줘야함

커넥션 풀: 부트 기본은 HikariCP

WEB(thymeleaf)

로깅 SLF4J & LogBack

테스트

+ Recent posts