Backend/Spring Boot & JPA

    [Spring Boot] WebSocket(+STOMP) 서버 전역 예외 처리

    📕 목차1. Introduction2. Error Status Spec3. Interceptor Exception Handler4. Business Exception Handler (Controller)1. Introduction 📌 작성 계기 [Spring Boot] WebSocket + RabbitMQ를 활용하여 채팅 시스템 구축하기 (with. STOMP)🫠 포스팅 길이가 길어지면 임시 저장 데이터가 자꾸 날아가버려서, 점진적으로 내용 추가 중입니다.수정 일자내용`24.09.15• System Design• Message pub/sub• Proxy Server Routing`24.09.19• Authenticate (작성jaeseo0519.tistory.com아직도 열심히 보완하면서 작성 중인..

    [Spring Boot] WebSocket + RabbitMQ를 활용하여 채팅 시스템 구축하기 (with. STOMP)

    🫠 포스팅 길이가 길어지면 임시 저장 데이터가 자꾸 날아가버려서, 점진적으로 내용 추가 중입니다.수정 일자내용`24.09.15• System Design• Message pub/sub• Proxy Server Routing`24.09.19• Authenticate (작성중)• Authorize (작성중)• 디자인 패턴을 적용한 ChannelInterceptor 리팩토링    GitHub - psychology50/websocket-mini: 🗨️ Web Socket + RabbitMQ를 활용한 미니 채팅 프로그램🗨️ Web Socket + RabbitMQ를 활용한 미니 채팅 프로그램. Contribute to psychology50/websocket-mini development by creatin..

    [Spring Boot] Swagger의 운영 코드 침투를 막아라 (feat. Springdoc)

    📕 목차1. Intoduction2. Interface 분리하기3. 공통 예외 응답4. Custom Error Code Parser  1. Introduction 📌 개요같은 백엔드 개발자끼리는 인터페이스 설명을 위해 Java Docs같은 언어에서 제공하는 주석을 사용한다.하지만 클라이언트 측 개발자에게 명세를 표현하기 위해선, 별도의 API 명세서가 필요한데 가장 많이 사용하는 것이 Swagger.(본문하고는 관련 없지만 Swagger를 API 문서화 도구라고 설명하는 글들이 많던데, 문서화는 Swagger의 여러 기능 중 하나일 뿐이다.) Spring Boot에서 API 문서를 제공하고자 할 땐 Springdoc이 대표적인 라이브러리다.적용 방법은 여기서 설명하지 않는다.springdoc 의존성을..

    [Spring Boot] Batch 성능 개선기 (+`24.07.25 추가 개선 및 테스트)

    📕 목차1. Introduction2. Reader3. Page offset4. Writer5. Improved Performance6. Additional Improvement1. Introduction 📌 Goal [Spring Boot] 정기 푸시 알림(Push Notification) 전송 배치(Batch) 프로세스💡 문제가 되는 부분이 많고, Batch에 대해 미숙한 이해를 기반으로 작성한 글이므로 참고로만 읽어주세요.📕 목차1. Introduction2. Domain3. Infra4. Batch5. Discussion Topics1. Introduction 📌 Usecase사용자는jaeseo0519.tistory.com이전에 Spring Boot Batch 애플리케이션을 빠르게 공부해..