2017년 4월 20일 목요일

Spring Boot Batch

소스:

https://github.com/julyinsung/springboot/tree/master/spring-batch-sample

환경:

batch, h2, gradle

개요:

spring.io(https://spring.io/guides/gs/batch-processing/)에서 제공하는 예제를 이용하여 테스트. 

그밖에.. 

다른게 있다면 DB는 h2(http://www.h2database.com/html/main.html)로 변경

h2는 웹브라우저로 확인이 가능하므로 편의성때문에 변경해 봄.
그냥 웹브라우저로 확인은 불가하고 패키지 설치후 가능

build.gradle에 h2추가
dependencies {
 compile('org.springframework.boot:spring-boot-starter-batch')
 runtime('com.h2database:h2')
 testCompile('org.springframework.boot:spring-boot-starter-test')
}







댓글 없음:

댓글 쓰기