본문 바로가기
728x90
반응형

IT/Spring Boot60

properties 파일을 장비별로 분리하는 법 장비별로....예를 들면, 개발/운영 ..... 분리해서 properties 를 관리하는 법.. 아래글 2개 모두 참조해보자. https://royleej9.tistory.com/entry/Spring-properties-%EC%84%A4%EC%A0%95-%EB%B6%84%EB%A6%AC [Spring] properties 설정 분리(1) properties 분리 아래 3가지 방법을 혼합해서 사용 가능하지만 1번과 같은 스프링에서 기본적으로 읽는 순서에 따라 속성이 무시될수 있다. war/jar 파일에 포함하지 않고 경로 지정해서 읽기 설정 파 royleej9.tistory.com https://m.blog.naver.com/cutesboy3/220776824202 스프링 환경별 배포 설정 분리방법(pr.. 2023. 1. 26.
ApplicationContextAware 인터페이스 https://emflant.tistory.com/132 ApplicationContextAware 인터페이스 사용법 스프링 프레임워크를 사용해서 개발하다가 빈(Bean)들의 ID값(String)을 가지고 ApplicationContext 객체로 부터 동적으로 객체를 얻고 싶었다. 하지만 ApplicationContext 객체를 어디서 얻어야 할지 고민이 emflant.tistory.com 2022. 12. 20.
ApplicationContext란? BeanFactory와의 차이점.Lazy-loading.. 아래 글 읽어보자. https://pamyferret.tistory.com/24 ApplicationContext란?(BeanFactory와의 차이점) 스터디에서 작게 프로젝트를 생성해서 코딩을 하다보니 ApplicationContext라는 객체를 사용해서 해당 Interface Ben Type에 해당하는 모든 객체들을 아래와 같이 가져오게 되었다. private final ApplicationConte pamyferret.tistory.com 2022. 12. 20.
RestTemplate (Server To Server 간 통신) 한번 읽어봐야겠다. https://ugo04.tistory.com/93 Spring-boot 공부 8 - RestTemplate(Server to Server 간의 통신) Server to Server 간의 통신 백엔드 서버가 클라이언트로서 다른 서버에게 요청을 할때 RestTemplate를 사용한다. spring3.0 부터 지원되었고 , 스프링에서 제공하는 http 통신에 유용하게 쓸 수 있는 템플릿 ugo04.tistory.com 2022. 12. 15.
728x90
반응형