MENU

Fun & Interesting

Interview QA | 40+ Spring & Spring Boot Annotations Everyone Should Know | JavaTechie

Java Techie 332,825 3 years ago
Video Not Working? Fix It Now

As known there are a number of Annotations provided by Java’s Spring, Spring Boot Framework, and it would be quite difficult to remember all. Hence I had explained all annotations and its usages in detailed . #javatechie #Spring. #SpringBoot. #Annotations Spring Boot Main annotations -------------------------------------------------- 1. @SpringBootApplication 2. @ComponentScan 3. @EanbleAutoConfiguration 4. @Configuration Stereotype annotation ---------------------------------------- 1. @Component 2. @Service 3. @RestController / @Controller 4. @Repository Spring Core related Annotations: ---------------------------------------------------- @Configuration @Bean @Autowired @Qualifier @Lazy @Value @PropertySource @ConfigurationProperties @Profile @Scope REST API related Annotations: ------------------------------------------------ @RestController @RequestMapping @GetMapping @PostMapping @PutMapping @DeleteMapping @RequestBody @PathVariable @RequestParam @ControllerAdvice & @ExceptionHandler Spring Data JPA related annotations: ------------------------------------------------------------ @Entity @Table @Column @Transactional Entity class relationships @OnetoOne @OnetoMany @ManytoOne @ManytoMany GitHub: https://github.com/Java-Techie-jt/annotations-cheatsheet Blogs: https://medium.com/@javatechie Facebook: https://www.facebook.com/groups/javatechie guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie Disclaimer/Policy: -------------------------------- Note : All uploaded content in this channel is mine and its not copied from any community , you are free to use source code from above mentioned GitHub account

Comment