@SpringBootApplication 스프링 부트 애플리케이션을 시작할 때 사용 @SpringBootApplication public class MyApplication { public static void main(String[] args) { SpringApplication.run(MyApplication.class, args); } } @RestController RESTful 웹 서비스에서 JSON 또는 XML 형식의 응답을 반환 @Controller와 @ResponseBody 어노테이션의 조합으로 구성 @RestController public class MyRestController { @GetMapping("/hello") public String hello() { return "Hello..