본문 바로가기

전체 글

(291)
[Spring framework Web MVC docs] 1.1.1.Context Hierarchy ~ 1.1.5. Processing https://docs.spring.io/spring-framework/docs/current/reference/html/web.html#mvc-servlet-context-hierarchy Web on Servlet Stack Spring Web MVC is the original web framework built on the Servlet API and has been included in the Spring Framework from the very beginning. The formal name, "Spring Web MVC," comes from the name of its source module (spring-webmvc), but it is more commonl docs.spring.i..
[Thymeleaf + Spring] 4.4 The Controller + checkbox https://www.thymeleaf.org/doc/tutorials/3.1/thymeleafspring.html#the-concept Tutorial: Thymeleaf + Spring Preface This tutorial explains how Thymeleaf can be integrated with the Spring Framework, especially (but not only) Spring MVC. Note that Thymeleaf has integrations for both versions 3.x and 4.x of the Spring Framework, provided by two separate libraries c www.thymeleaf.org 틀린 해석이 있다면 알려주세요 ..
[Spring framework Web MVC docs] 1.1.8. Exceptions 틀린 해석이 있다면 알려주세요 https://docs.spring.io/spring-framework/docs/current/reference/html/web.html#mvc-exceptionhandlers Web on Servlet Stack Spring Web MVC is the original web framework built on the Servlet API and has been included in the Spring Framework from the very beginning. The formal name, "Spring Web MVC," comes from the name of its source module (spring-webmvc), but it is more commonl docs..
[Hibernate validator] 5. Grouping constraints 틀린 해석이 있다면 알려주세요 https://docs.jboss.org/hibernate/validator/6.2/reference/en-US/html_single/#chapter-groups Hibernate Validator 6.2.5.Final - Jakarta Bean Validation Reference Implementation: Reference Guide Validating data is a common task that occurs throughout all application layers, from the presentation to the persistence layer. Often the same validation logic is implemented in each layer w..
[Spring framework Testing] 2. Unit Testing 틀린 해석이 있다면 알려주세요 https://docs.spring.io/spring-framework/docs/current/reference/html/testing.html#testing-introduction 주말이니까ㅎㅎㅎ 간단하게 스프링 테스트에 대한 공식 문서를 읽어보기로 했다. 스프링 공식문서에도 서술하고 있듯이 개발자에게 테스트는 굉장히 중요하고 스프링은 단위테스트를 위한 방법을 잘 설명해주고 있다 오늘은 Unit Test 를 맛보기로 살펴보는 걸로!! 2. Unit Testing Dependency injection DI 는 기존 EE 개발에서보다 컨테인에 대한 코드 종속성을 줄여야한다. 애플리케이션을 구성하는 POJO는 JUnit 또는 TestNG테스트가 가능해야하며 new 를 사용하거나..
[Spring framework Web MVC docs] 1.8. Error Responses 틀린 해석이 있다면 알려주세요 https://docs.spring.io/spring-framework/docs/current/reference/html/web.html#mvc-ann-rest-exceptions https://www.rfc-editor.org/rfc/rfc7807.html RFC 7807: Problem Details for HTTP APIs www.rfc-editor.org A common requirement for REST services is to include details in the body of error responses. The Spring Framework supports the "Problem Details for HTTP APIs" specification, RFC..
[Spring framework Core] 1.3. Bean Overview 틀린 해석이 있다면 알려주세요 1.3. Bean Overview Spring IoC Container 는 하나 이상의 빈을 관리한다. 이 빈은 컨테이너를 구성하는 구성 메타데이터 (XML 형식의 ) 으로 생성된다. 컨테이너 자체 내에서 이 BeanDefinition 객체로 표시된다 A package-qualified class name: typically, the actual implementation class of the bean being defined. Bean behavioral configuration elements, which state how the bean should behave in the container (scope, lifecycle callba..
[Spring framework Data Access] 1.1. Advantages of the Spring Framework’s Transaction Support Model 틀린 해석이 있다면 알려주세요 Transaction Transaction : 데이터베이스 상태를 변화시키기 위해 수행하는 작업 단위를 말한다 쉽게 말해 sql 문으로 db 에 액세스하여 데이터베이스를 변경하는 것이다. 트랜잭션의 특징은 atomicity 원자성 : 모두 반영 또는 아예 안반영 consistency 일관성 : 작업 처리 결과는 항상 일관성있어야함 Isolation 독립성 : 두개이상의 트랜잭션이 실행되더라도 각각의 트랜잭션으로만 유지되는 것이지 서로 섞일 수 없다 (트랜잭션A, B가 실행됐을때 A가 실행 중에 B의 결과를 확인할 수 없다) Durability 지속성 : 반영되어 성공됐을 경우, 이 결과는 영구적임 근데 이건 스프링이 다 관리해주겠다는 것임 스프링 프레임워크는 이런 트랜잭션 ..

728x90