Spring/Spring.io (7) 썸네일형 리스트형 Guide - JPA로 데이터 접근하기 https://spring.io/guides/gs/accessing-data-jpa Getting Started | Accessing Data with JPAYou can run the application from the command line with Gradle or Maven. You can also build a single executable JAR file that contains all the necessary dependencies, classes, and resources and run that. Building an executable jar makes it easy to ship, verspring.io 이 가이드는 스프링 데이터 JPA를 사용하여 관계형 데이터베이스에 데이터를 저장.. Guide - 폼 입력 검증 https://spring.io/guides/gs/validating-form-input Getting Started | Validating Form InputThe application involves validating a user’s name and age, so you first need to create a class that backs the form used to create a person. The following listing (from src/main/java/com/example/validatingforminput/PersonForm.java) shows how to do so: pacspring.io 목표 표준 검증 애너테이션을 활용한 입력값 검증 응답 : 오류 메세지 표시(사용자.. Guide - 폼 제출 처리 https://spring.io/guides/gs/handling-form-submission Getting Started | Handling Form SubmissionAlthough you can package this service as a traditional WAR file for deployment to an external application server, the simpler approach is to create a standalone application. You package everything in a single, executable JAR file, driven by a good old Javaspring.io 목표URL로 접근할 수 있는 웹 폼 구축 및 결과 페이지 반환요청 .. Guide - Spring MVC를 사용하여 웹 콘텐츠 제공하기 https://spring.io/guides/gs/serving-web-content Getting Started | Serving Web Content with Spring MVCStatic resources, including HTML and JavaScript and CSS, can be served from your Spring Boot application by dropping them into the right place in the source code. By default, Spring Boot serves static content from resources in the classpath at /static (orspring.io 목표URL 요청 시 HTML을 포함한 웹 페이지가 반환 요.. Guide - RESTful 웹 서비스 소비 https://spring.io/guides/gs/consuming-rest Getting Started | Consuming a RESTful Web ServiceYou can run the application from the command line with Gradle or Maven. You can also build a single executable JAR file that contains all the necessary dependencies, classes, and resources and run that. Building an executable jar makes it easy to ship, verspring.io 목표 브라우저 또는 curl을 활용한 URL 요청이 아닌 RestTemp.. Guide - RESTful 웹 서비스 구축 https://spring.io/guides/gs/rest-service Getting Started | Building a RESTful Web ServiceIn Spring’s approach to building RESTful web services, HTTP requests are handled by a controller. These components are identified by the @RestController annotation, and the GreetingController shown in the following listing (from src/main/java/com/examplespring.io 목표HTTP GET 요청을 수락하는 서비스요청 URL : http://localh.. Guide - 스프링 부트를 이용한 애플리케이션 빌드 https://spring.io/guides/gs/spring-boot Spring Boot 기능클래스패스에 따라 필요한 설정을 자동으로 구성 코드 생성, 수정 없이 애플리케이션 실행 시점에 동적으로 빈과 설정을 연결Spring MVC가 클래스 패스에 있으면 필요한 빈들을 자동으로 추가하고 서블릿 컨테이너가 필요하므로 자동으로 Tomcat을 서버로 사용Jetty가 클래스 패스에 있으면 자동으로 Tomcat 대신에 Jetty를 서버로 사용인프라 설정에 대한 부담 감소개발자가 직접 정의한 빈 우선 프로젝트 초기화 https://start.spring.io 접속빌드 도구, 언어, 스프링 부트 버전 선택Dependecies 추가Generate 클릭 후 zip 파일 다운로드- 설정 예시 컨트롤러 생성 // sr.. 이전 1 다음