전체 글
-
스프링 부트 1.5 릴리즈 노트ReleaseNotes 2017. 7. 21. 14:06
스프링 부트 1.5 릴리즈 노트원문: https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-1.5-Release-Notes스프링 부트 1.4에서 업그레이드된 것스프링부트 1.4이후 디프리케이트된것들스프링부트 1.4에서 디프리케이트된 클래스, 메소드 그리고 프로퍼티들이 이번 릴리즈에서 제거되었다. 업그레이드전 디프리케이트된 메소드를 호출하는지 확인하자. 특히 HornetQ와 벨로시티 Velocity서포트가 삭제되었다. 이름이 바뀐 스타터들스프링부트 1.4에서 이름이 바뀐 다음의 스타터들이 이번에 삭제되었다. 만일 "해결할수 없는 의존성 Unresolved dependency" 에러가 뜬다면 사용중인 스타터 이름이 올바른지 확인해보자:spring-..
-
스프링 부트 1.4 릴리즈 노트ReleaseNotes 2016. 8. 6. 04:34
스프링 부트 1.4 릴리즈 노트 - 2017년 1월 19일원문: https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-1.4-Release-Notes스프링부트 1.3이후 업그레이드된 것스프링 부트 1.3에서 더이상 지원하지않는 것 Deprecations from Spring Boot 1.3스프링 부트 1.3에서 디프리케이트된 클래스, 메소드, 프로퍼티들은 이번 릴리즈에서 제거되었다.업그레이드에 앞서 디프리케이트된 메소드를 호출하는지 먼저 확인해야한다.Log4j 1 지원은 Apache EOL announcement 의거하여 제거되었다.재명명된 스타터들 Renamed starters다음의 스타터들의 이름이 변경되었다.기존의 이름은 스프링 부터 2...
-
스프링 비동기와 자바8의 CompletableFuture기타 2016. 4. 24. 03:01
스프링 비동기와 자바8의 CompletableFuture Spring Async and Java’s 8 CompletableFuture[원문: https://www.javacodegeeks.com/2016/04/spring-async-javas-8-completablefuture.html] 아래는 '비동기' 유저찾기 메소드의 예제의 구현이다. (전체 소스는 여기)1@Async2public Future findUser(String user) throws InterruptedException {3 System.out.println("Looking up " + user);4 User results = restTemplate.getForObject("https://api.github.com/users/" + u..
-
스프링에서 @Async로 비동기처리하기기타 2016. 4. 1. 05:49
스프링에서 @Async로 비동기처리하기 @Async in Spring[원문: http://www.baeldung.com/spring-async] 1. 개요 Overview이 글에서 스프링의 비동기 실행 지원asynchronous execution support과 @Async annotation에 대해 살펴볼 것이다. 간단히 설명하면, @Async 어노테이션을 빈bean에 넣으면 별도의 쓰레드에서 실행되는 것이다. 이를테면 호출자는 호출된 메소드가 완료될 때까지 기다릴 필요가 없다. 2. Async 기능 켜기 Enable Async Support자바 설정Java configuration으로 비동기 처리enabling asynchronous processing를 쓰려면 간단히 설정 클래스에 @EnableAs..
-
스프링부트와 OAuth2 - (4/4)Tutorials 2016. 3. 19. 01:01
스프링 부트와 OAuth2Spring Boot And OAuth2 (원문소스: https://spring.io/guides/tutorials/spring-boot-oauth2/) 목 차1-1) 페이스북으로 싱글사이온하기 Single Sign On With Facebook2-1) 기본 페이지 추가하기 Add a Welcome Page2-2) 로그아웃 버튼 추가하기 Add a Logout Button3-1) OAuth2 클라이언트 수동설정하기 Manual Configuration with OAuth2 Client3-2) Gibhub으로 로그인하기 Login with Github4-1) Authorization 서버 돌리기 Hosting an Authorization Server4-2) 비인증 사용자를 위한 ..
-
스프링부트와 OAuth2 - (3/4)Tutorials 2016. 3. 19. 00:58
스프링 부트와 OAuth2Spring Boot And OAuth2 (원문소스: https://spring.io/guides/tutorials/spring-boot-oauth2/) 목 차1-1) 페이스북으로 싱글사이온하기 Single Sign On With Facebook2-1) 기본 페이지 추가하기 Add a Welcome Page2-2) 로그아웃 버튼 추가하기 Add a Logout Button3-1) OAuth2 클라이언트 수동설정하기 Manual Configuration with OAuth2 Client3-2) Gibhub으로 로그인하기 Login with Github4-1) Authorization 서버 돌리기 Hosting an Authorization Server4-2) 비인증 사용자를 위한 ..
-
스프링부트와 OAuth2 - (2/4)Tutorials 2016. 3. 19. 00:56
스프링 부트와 OAuth2Spring Boot And OAuth2 (원문소스: https://spring.io/guides/tutorials/spring-boot-oauth2/) 목 차1-1) 페이스북으로 싱글사이온하기 Single Sign On With Facebook2-1) 기본 페이지 추가하기 Add a Welcome Page2-2) 로그아웃 버튼 추가하기 Add a Logout Button3-1) OAuth2 클라이언트 수동설정하기 Manual Configuration with OAuth2 Client3-2) Gibhub으로 로그인하기 Login with Github4-1) Authorization 서버 돌리기 Hosting an Authorization Server4-2) 비인증 사용자를 위한 ..
-
스프링부트와 OAuth2 - (1/4)Tutorials 2016. 3. 19. 00:52
스프링 부트와 OAuth2Spring Boot And OAuth2 (원문소스: https://spring.io/guides/tutorials/spring-boot-oauth2/) 목 차1-1) 페이스북으로 싱글사이온하기 Single Sign On With Facebook2-1) 기본 페이지 추가하기 Add a Welcome Page2-2) 로그아웃 버튼 추가하기 Add a Logout Button3-1) OAuth2 클라이언트 수동설정하기 Manual Configuration with OAuth2 Client3-2) Gibhub으로 로그인하기 Login with Github4-1) Authorization 서버 돌리기 Hosting an Authorization Server4-2) 비인증 사용자를 위한 ..