@GetMapping : 메서드 레벨, GET 요청을 처리할 수 있다.@Controller : @GetMapping, @PostMapping, @PutMapping, @DeleteMapping 등을 사용할 수 있다.@ResponseBody : 메서드의 반환값을 응답 본문으로 사용@RestController : @Controller + @ResponseBody@Component : 스프링 IoC 컨테이너에 등록, new 로 생성할 필요가 없어진다.@Controller : 이것도 컴포넌트의 일종이다.@Service : @Component 과 동일@Repository : @Component 과 동일@Bean : 메서드 레벨, 스프링 IoC 컨테이너에 등록, new 로 생성할 필요가 없어진다.메서드로 빈을 등록..