Spring & Spring Boot Annotations Series - #6 - @Controller, @Service and @Repository Annotations

preview_player
Показать описание
Hi, welcome to Spring & Spring Boot Annotations Series. In this video, we will learn how to use @Bean annotation to create Spring Bean definitions using Java-based configuration.

These Stereotype Annotations such as @Controller, @Service & @Repository are used to create Spring beans automatically in the application context (Spring IoC container).

- @Service annotation is used to create Spring beans at the Service layer
- @Repository is used to create Spring beans for the repositories at the DAO layer
- @Controller is used to create Spring beans at the controller layer

#spring #springboot #annotations
Рекомендации по теме
Комментарии
Автор

Thanks a lot please Try to add one more videos on annotations based and if possible add some JPA based annotations as well in this series.
Thanks ❤️

Vithal_Nivargi