My Two Cents

  • Home

Spring DI

Spring

Overview of @Component, @Controller, @Repository, @Service

Overview In this post, we will go through @Component, @Controller, @Repository, @Service annotations in Spring Framework. Stereotype Annotations Spring scans and registers Beans in the ApplicationContext. We can use @Component, @Controller, @Repository, @Service depending on the use case. Let’s see them in detail @Component @Component is the most generic stereotype for Read more…

By Ashish, 2 years2 years ago
Subscribe
Loading
Categories
Apache Tomcat (1) BDD (1) Collections (3) Git (2) JAVA (43) Javascript (1) JAX-RS (1) jQuery (1) JSON (2) MAVEN (2) Nginx (1) Spring (9) SSL Certification (1)
Recent Posts
  • Karate in Action – Rest API testing
  • Overview of @Component, @Controller, @Repository, @Service
  • Server Side Pagination using jQuery Datatable
  • Spring Retry in Action
  • RestTemplate in Spring

  • Home