@Controller - Spring Annotation

Опубликовано: 18 Июнь 2026
на канале: Campus Learn
306
11

#shorts

@Controller is a specialization of the @Component class, which allows us to auto-detect implementation classes through classpath scanning.

typically @Controller is used in combination with a @RequestMapping annotation for request-handling methods.

#java #spring #javatutorial #javatutorialforbeginners #springboot #springboottutorial #interview #interviewtips #interviewquestions #systemdesign #lowleveldesign #restfulapi