spring

· spring
Docker 설치 1. 도커 설치 전 패키지 업데이트sudo apt-get update  2. 도커 설치를 위한 패키지 설치sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common  3. 도커의 공식 GPG키 추가curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -  4. 도커의 공식 apt 저장소 추가sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"  5..
· spring
소프트웨어 아키텍처의 종류로 MSA 프로젝트를 구현하려고 한다.MSA로 구현하려면 바로 구현하기보다 우선 모놀리식 아키텍처로 구현 하고 넘어가는 것이 좋다.그럼 왜 바로 구현하면 안될까 ?  모놀리식 아키텍처와 MSA 아키텍처모놀리식 아키텍처는 비교적 간단하고 배포가 용이하다. 개인 프로젝트나 팀프로젝트를 시작하면서 설계할 때 대용량 트래픽이나 사용자를 고려하고 구현하지만 처음 구현을 시작할 때 부터 MSA로 구현하게 된다면 시간 비용이 많이 들게 된다.     사진과 같이 모놀리식은 서비스가 모두 같은 데이터 베이스와 연결되어 있어 결합성이 높다. 관리가 간편하기에 처음 프로젝트를 시작할 땐 모놀리식으로 구현한 후 기본적인 서비스가 완성되면 MSA로 나누게 된다. 이 때, 바로 MSA로 넘어가게 되면 ..
· spring
김영한 [스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술]   1. 정적 컨텐츠: 어떠한 동작 없이 보여준다.  정적 컨텐츠 입니다.      2. MVC와 템플릿 엔진: Model / View / Controller @Controllerpublic class HelloController { @GetMapping("hello-mvc") public String helloMvc(@RequestParam("name") String name, Model model) { model.addAttribute("name", name); return "hello-template"; }}Controller @RequestParam : HT..
alreadycow
'spring' 카테고리의 글 목록