본문 바로가기

Server Setting10

Spring Boot(Kotlin) — ep.11 Structuring JPA in a Spring Boot Multi-Module Architecture In this article, we will organize how JPA should be placed within a Spring Boot multi-module projectand summarize the key concepts you need to understand during the initial setup.Since the goal of this series is to build a “basic server setup template,”we will NOT dive deeply into JPA itself or include domain code inside the shared template project. Instead, we will explain why JPA is widely use.. 2025. 11. 27.
Spring Boot(Kotlin) 기본 셋팅 — 11편. 멀티모듈 + JPA 기본 구조 정리 이번 글에서는 Spring Boot 멀티 모듈 프로젝트에서 JPA를 어떤 구조로 배치해야 하는지와초기 셋팅에서 알아두면 좋은 핵심 개념을 정리합니다.특히 본 시리즈는 “기본 서버 셋팅 템플릿”을 만드는 목적이므로,JPA 자체를 깊게 파고들거나 공유하는 프로젝트 파일에 도메인 코드 작성은 다루지 않습니다. 대신, 왜 JPA가 실무에서 널리 사용되는지, 멀티 모듈 환경에서 Entity / Repository / Service / Controller가 어떻게 배치되는지,그리고 초기 셋팅에서 필요한 최소한의 구조만 깔끔하게 소개합니다. 📚 Spring Boot(Kotlin) 기본 셋팅 — 전체 시리즈왜 멀티 모듈 구조인가? (아키텍처 철학 & 전체 설계 편)API Response 포맷 설계글로벌 예외 처리(G.. 2025. 11. 27.
Spring Boot(Kotlin) — ep.9 Logging & MDC(traceId) Setup Guide This post explains how to systematically configure Logging in a Spring Boot multi-module project,and how to apply request-level tracing using MDC (Mapped Diagnostic Context).In real-world environments, it is extremely important to quickly identify “which request caused an error.”By automatically including values like traceId, eventId, clientIp, userId in every log entry, log analysis becomes dra.. 2025. 11. 27.
Spring Boot(Kotlin) — 9편. Logging + MDC(traceId) 설정 이번 글은 Spring Boot 멀티 모듈 기반 프로젝트에서 로깅(Logging)을 체계적으로 구성하고,MDC(Mapped Diagnostic Context)를 활용해 요청 단위 추적(traceId)을 적용하는 방법을 정리한 글입니다.실무 환경에서는 "어떤 요청에서 어떤 오류가 발생했는지"를 빠르게 확인하는 것이 매우 중요한데,이를 위해 traceId, eventId, clientIp, userId 등을 로그에 자동으로 포함시키면 분석이 매우 쉬워집니다. 📚Spring Boot(Kotlin) 기본 셋팅 — 전체 시리즈왜 멀티 모듈 구조인가? (아키텍처 철학 & 전체 설계 편)API Response 포맷 설계글로벌 예외 처리(GlobalExceptionHandler)Swagger(OpenAPI) 설정Se.. 2025. 11. 27.
Spring Boot(Kotlin) — ep.8 Validation Configuration This post explains how to configure Validation in a Spring Boot multi-module backend project.Validation is applied from the moment you start creating DTOs, and automatically checks the data sent by the client before the controller method is executed.Since the actual project does not yet include Validation logic, this article covers the full context of why it is needed → which module should conta.. 2025. 11. 27.
Spring Boot(Kotlin) — 8편. 멀티 모듈 환경에서 Spring Validation을 어떻게 적용할 것인가 이 글은 Spring Boot 멀티 모듈 기반 서버 개발 시, Validation 설정을 어떻게 구성해야 하는지 정리하는 글입니다.Validation은 DTO를 만들기 시작할 때부터 사용되는 기능이며, 클라이언트가 보낸 요청 데이터를 컨트롤러 진입 전 단계에서 자동으로 검증해줍니다.아직 실제 프로젝트에는 Validation이 적용되지 않았기 때문에, 이 글에서는 왜 필요한지 → 어떤 모듈에 둬야 하는지 → 필요한 의존성 → 간단한 예시 구현까지 전체 맥락을 정리합니다. 📌 Spring Boot(Kotlin) 기본 셋팅 — 전체 시리즈왜 멀티 모듈 구조인가? (아키텍처 철학 & 전체 설계 편)API Response 포맷 설계글로벌 예외 처리(GlobalExceptionHandler)Swagger(Open.. 2025. 11. 27.