Tech-Notes

  1. What is the difference between @Controller and @RestController.
  2. What are the 5 exception may occur in Spring?
  3. Is it required to write @Repository annotation in spring data jpa.
  4. Why we write @NoRepositoryBean Over JPARepository. if we dont want to initialize the interface
  5. Tell about spring bean lifecycle hooks.
  6. What are the two types of IOC container.
  7. What is @Component vs @Service vs @Repository
  8. What is the version of spring we used