전체 글 (291) 썸네일형 리스트형 [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 틀린 해석이 있다면 알려주세.. [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.. [codereview]실무에 대한 팁 https://techblog.woowahan.com/2614/ 코드리뷰 적응기(feat. 파일럿 프로젝트) | 우아한형제들 기술블로그 {{item.name}} 안녕하세요. 결제정산개발팀의 권세희입니다. 저는 정산업무를 맡게 되었는데, 정산은 데이터 정합성과 트랜잭션, 도메인 주도 개발, Entity 간의 연관 관계, 대용량 데이터 처리가 핵 techblog.woowahan.com 포스팅을 보고 나도 이런 습관이 있나, 고쳐야할게 있나 생각하며 정리해보기로 했다 자세한 설명은 포스팅에 있고 나는 결론적으로 정리할 생각 Entity Lombok @Data 기능 쓰지 말 것, 무분별한 Setter X Naming LocalDateTime 타입일 경우 작명 시 SampleDateTime, LocalDate 타.. [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.. [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 ""; /*.. [Spring REST] Setting up Your Tests https://docs.spring.io/spring-restdocs/docs/current/reference/htmlsingle/#getting-started-documentation-snippets-setup Spring REST Docs Document RESTful services by combining hand-written documentation with auto-generated snippets produced with Spring MVC Test or WebTestClient. docs.spring.io 틀린 해석이 있다면 알려주세요 감사합니다 😌 Setting up Your JUnit 5 Tests @ExtendWith(RestDocumentationExtension.class) pub.. [pattern] 내가 보려고 쓰는 예제 1. singleton public class SampleSingleton { private static SampleSingleton INSTANCE; private SampleSingleton() { } public static synchronized SampleSingleton getInstance() { if(INSTANCE == null) INSTANCE = new SampleSingleton(); return INSTANCE; } } 특징 private 으로 만듦 .getInstance() 를 만들어 한 번만 호출될때 오브젝트 생성, static 필드에 저장 또는 초기값으로 미리 인스턴스 생성하여 static 필드에 저장해둠 .getInstance() 로만 접근해서 가져감 stateless 해야.. [Spring data] JPA repositories - Projection https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#projections Spring Data JPA - Reference Documentation Example 119. Using @Transactional at query methods @Transactional(readOnly = true) interface UserRepository extends JpaRepository { List findByLastname(String lastname); @Modifying @Transactional @Query("delete from User u where u.active = false") void del docs.spring.io 잘못된 .. 이전 1 ··· 24 25 26 27 28 29 30 ··· 37 다음