전체 글 338

[Spring Framework core] 1.10. Classpath Scanning and Managed Components (1)

https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#beans-classpath-scanning 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 틀린 해석이..

Web/spring 2023.03.10

[Spring Batch] 작업 수행 정보를 데이터 베이스에 저장

1. 의존성 추가 (H2 예제) org.springframework.boot spring-boot-starter-batch com.h2database h2 runtime 2. 작업 수행 정보를 저장할 테이블 생성 CREATE TABLE BATCH_JOB_INSTANCE ( JOB_INSTANCE_ID BIGINT NOT NULL PRIMARY KEY, VERSION BIGINT, JOB_NAME VARCHAR(100) NOT NULL, JOB_KEY VARCHAR(32) NOT NULL, constraint JOB_INST_UN unique(JOB_NAME, JOB_KEY) ); CREATE TABLE BATCH_JOB_EXECUTION ( JOB_EXECUTION_ID BIGINT NOT NULL PR..

Web/spring 2023.03.08

[Spring Framework core] 1.9. Annotation-based Container Configuration (1)

https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#beans-annotation-config 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 틀린 해석이 ..

Web/spring 2023.03.07
728x90