의존성 ( pom.xml 설정된 dependency )
·
Framework/SPRING BOOT
Spring Framework 필요한 의존성은 개별적으로 추가했음 Spring Boot 필요한 의존성을 묶어서 하나의 dependency로 제공 ( xxx-starter 개념 ) org.springframework.boot spring-boot-starter org.springframework.boot spring-boot-starter-test test
배포 방법
·
Framework/SPRING BOOT
Spring Framework 비웹 어플리케이션 개발 ( main 포함 ) : jar 형식으로 배포함. 웹 어플리케이션 개발 : war 형식으로 배포함. Spring Boot 비웹 어플리케이션 개발 ( main 포함 ) : jar 형식으로 배포함. 웹 어플리케이션 개발 : jar 및 war 형식으로 배포함.
boot 프로젝트 생성
·
Framework/SPRING BOOT
웹 사이트 이용 http://start.spring.io 정보 지정하고 GENERATE 버튼 선택하면 demo.zip 다운로드 됨 workspace에 복사하고 압축 해제 Import - Maven - Existing Maven Projects 생성된 모습 STS에서 로컬 이용 Spring Starter Project 생성된 모습
환경설정
·
Framework/SPRING BOOT
JDK 1.8 설치 http://java.oracle.com STS 3.9.14 설치 https://github.com/spring-projects/toolsuite-distribution/wiki/Spring-Tool-Suite-3 Spring Tool Suite 3 the distribution build for the Spring Tool Suite and the Groovy/Grails Tool Suite - spring-attic/toolsuite-distribution github.com download 받아서 c:\springboot_study 디렉토리에 저장하고 압축 푼다. STS.exe 파일 실행 후 workspace 설정 한다. 인코딩 (UTF-8) 및 글꼴 변경 해준다. SpringB..
<mvc:view-controller>
·
Framework/SPRING FRAMEWORK
다른 처리없이 화면만(view) 보여주는 경우 ⇒ servlet-context.xml에서 로 처리할 수 있다.
xoo | 수진
xoo의 성장기록