210705

정혜린·2021년 7월 5일
0

풀스텍 국비교육

목록 보기
68/84

210705

spring01_test.di02 / 03 / 04 / 05 / spring02 /

Spring DI(Dependency Injection)

  • 객체간의 의존관계를 스프링이 설정 (setter메소드 / 생성자)

https://projectlombok.org/download 에서 파일 다운 - 다운로드 경로에서 cmd창 열기 - java -jar lombok.jar 치면 Installer 뜸 - Specify location 버튼 - STS.exe있는 경로에 설치(C:\sts\spring-tool-suite-3.9.17.RELEASE-e4.20.0-win32-x86_64\sts-bundle\sts-3.9.17.RELEASE) - Install

configure - convert to maven project - finish (pom.xml 생성됨)

https://mvnrepository.com/ - lombok / spring jdbc / dbcp / oracle(Ojdbc8) /

스프링에서 jdbc를 사용할 때는 JdbcTemplate객체를 이용한다.

0개의 댓글

Powered by GraphCDN, the GraphQL CDN