전체 글 338

[Spring guide] Caching Data with Spring

https://spring.io/guides/gs/caching/ Spring | Home Cloud Your code, any cloud—we’ve got you covered. Connect and scale your services, whatever your platform. spring.io 틀린 해석이 있다면 알려주세요 💐 github에 이미 소스가 아주 예쁘게 올라가 있어서 굳이 할 필요는 없지만 쭈욱 읽어보면서 핵심 기능들에 대한 코드를 정리해볼 생각이다 전체 파일 소스는 위의 출처 링크에서 깃허브로 들어가면 볼 수 있다 각 코드 부분에 대한 설명도 잘 적혀있어서 참고하기 좋았다 @SpringBootApplication is a convenience annotation that adds al..

Web/spring 2023.02.28

[Spring Boot IO] 1. Caching

https://docs.spring.io/spring-boot/docs/current/reference/html/io.html#io IO The Spring Framework provides support for transparently adding caching to an application. At its core, the abstraction applies caching to methods, thus reducing the number of executions based on the information available in the cache. The caching logic is docs.spring.io 틀린 내용이 있다면 알려주세요 🐈‍⬛ IO 설명부터 대부분의 application 은 어느..

Web/spring 2023.02.28

[Spring Framework integration] 6.Cache Abstraction (2)

https://docs.spring.io/spring-framework/docs/current/reference/html/integration.html#cache-jsr-107 Integration The Spring Framework provides abstractions for the asynchronous execution and scheduling of tasks with the TaskExecutor and TaskScheduler interfaces, respectively. Spring also features implementations of those interfaces that support thread pools or delega docs.spring.io 틀린 해석이 있다면 알려주세..

Web/spring 2023.02.28

[exception] 한눈에 보는 Exception Class

http://www.tcpschool.com/java/java_exception_class 코딩교육 티씨피스쿨 4차산업혁명, 코딩교육, 소프트웨어교육, 코딩기초, SW코딩, 기초코딩부터 자바 파이썬 등 tcpschool.com 1. RuntimeException 클래스 2. 그 외의 Exception 클래스의 자식 클래스 이 클래스에는 예외나 오류에 관한 다양한 정보를 확인할 수 있는 다음과 같은 메소드가 포함되어 있습니다. String getMessage() 해당 throwable 객체에 대한 자세한 내용을 문자열로 반환함. void printStackTrace() 해당 throwable 객체와 표준 오류 스트림(standard error stream)에서 해당 객체의 스택 트레이스(stack trac..

Web/tip 2023.02.27

[codereview]실무에 대한 팁

https://techblog.woowahan.com/2614/ 코드리뷰 적응기(feat. 파일럿 프로젝트) | 우아한형제들 기술블로그 {{item.name}} 안녕하세요. 결제정산개발팀의 권세희입니다. 저는 정산업무를 맡게 되었는데, 정산은 데이터 정합성과 트랜잭션, 도메인 주도 개발, Entity 간의 연관 관계, 대용량 데이터 처리가 핵 techblog.woowahan.com 포스팅을 보고 나도 이런 습관이 있나, 고쳐야할게 있나 생각하며 정리해보기로 했다 자세한 설명은 포스팅에 있고 나는 결론적으로 정리할 생각 Entity Lombok @Data 기능 쓰지 말 것, 무분별한 Setter X Naming LocalDateTime 타입일 경우 작명 시 SampleDateTime, LocalDate 타..

Web/tip 2023.02.27

[Spring Framework integration] 6.Cache Abstraction (1)

https://docs.spring.io/spring-framework/docs/current/reference/html/integration.html#cache Integration The Spring Framework provides abstractions for the asynchronous execution and scheduling of tasks with the TaskExecutor and TaskScheduler interfaces, respectively. Spring also features implementations of those interfaces that support thread pools or delega docs.spring.io 틀린 해석이 있다면 알려주세요 🧃 6. C..

Web/spring 2023.02.27

[Spring Reading Code] @PostMapping

@PostMapping 의 애노테이션이 어떻게 설정되어있는지 보고 싶어졌다 default 가 다 비워져있고, 아마 이 애노테이션을 쓰면 해당 값들에다가 기본 비운채로 챱챱챱 채워넣어서 post 프로세스가 진행되는 것 같다 @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) @Documented @RequestMapping(method = RequestMethod.POST) public @interface PostMapping { /** * Alias for {@link RequestMapping#name}. */ @AliasFor(annotation = RequestMapping.class) String name() default ""; /*..

Web/ReadingCode 2023.02.26
728x90