Whiteship
  • Home
  • 인프런 강의
  • Java
  • Spring
  • JPA
  • SDE Tips
Subscribe

스프링 스케줄링

A collection of 1 post
스프링 3.0

[스프링 3.0] 애노테이션 기반 스케줄링

참조: http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/ch25s05.html 웹 애플리케이션을 띄울 때 구글 토크 봇을 로그인 시켜두려고 스케줄링을 이용하려 했습니다. 찾아보니까 애노테이션 기반으로 설정할 수 있는 기능이 추가됐더군요. } 이렇게 task:annotation-driven 엘리먼트를 XML에 추가해주면 빈에 설정되어 있는 @Schedule과 @Async 애노테이션을 활성화 시켜줍니다. @Schedule 애노테이션은
Sep 28, 2009 — 2 min read
Whiteship © 2022
Powered by Ghost