spring study 12

[Spring Framework core] 3. Validation, Data Binding, and Type Conversion (3)

3.4. Spring Type Conversion 더보기 https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#core-convert core.convert 패키지에서 일반적인 유형 변환 시스템을 제공한다. 시스템은 유형 변환 로직을 구현하기 위한 SPI와 런타임에 유형 변환을 수행하기 위한 API를 정의한다. Spring 컨테이너 내에서 이 시스템을 구현의 대안으로 사용하여 PropertyEditor외부화된 빈 속성 값 문자열을 필수 속성 유형으로 변환할 수 있다. 유형 변환이 필요한 애플리케이션의 모든 위치에서 공용 API를 사용할 수 있다. 3.4.1. Converter SPI SPI = Service Provid..

[Spring Framework core] 3. Validation, Data Binding, and Type Conversion (2)

3.3. Bean Manipulation and the BeanWrapper ~3.3.2. Built-in PropertyEditor Implementations 더보기 https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#beans-beans 3.3. Bean Manipulation and the BeanWrapper org.springframework.beans 패키지는 JavaBeans 표준을 준수한다. JavaBean은 인수가 없는 기본 생성자를 가진 클래스이며 예를 들어 bingoMadness라는 속성이 setBingoMadness(..) setter 메서드와 getBingoMadness() getter 메서드..

[Spring framework Core] 5. Aspect Oriented Programming with Spring (1)

https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#aop Core Technologies In the preceding scenario, using @Autowired works well and provides the desired modularity, but determining exactly where the autowired bean definitions are declared is still somewhat ambiguous. For example, as a developer looking at ServiceConfig, how do docs.spring.io 틀린 해석이나 내용이 있다면 알려주세요, 감사합니..

Web/spring 2023.02.16

[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 를 사용하거나..

Web/spring 2023.02.04

[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..

Web/spring 2023.02.04

[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..

Web/spring 2023.02.03

[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 지속성 : 반영되어 성공됐을 경우, 이 결과는 영구적임 근데 이건 스프링이 다 관리해주겠다는 것임 스프링 프레임워크는 이런 트랜잭션 ..

Web/spring 2023.02.03

[Spring framework Web MVC docs] 1.3.5 DataBinder ~ 1.3.6 Exception

공부할때마다 느끼지만..... 영어를.....잘했다면.... 번역기 안돌리고... 이게 맞게 해석한건가... 걱정하면서...공부를...안할텐데.......... ......또르르...... 아무튼... 오늘 목표는 1.3.7 까지 틀린 해석이 있다면 알려주세요 1.3.5 DataBinder @Controller or @ControllerAdvice 는 WebDataBinder 의 인스턴스를 초기화하는 @InitBinder 를 사용할 수 있다. Bind request parameters (that is, form or query data) to a model object. Convert String-based request values (such as request parameters, path varia..

Web/spring 2023.02.02
728x90