Spring Interview’s Question - Part 2

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024
  • 1. Get me some Details of Bean Life Cycle
    2. Difference between BeanFactory and ApplicationContext?
    3. Describe Bean Scopes that are Supported by Spring
    4. A Singleton Bean A and a Prototype Bean B, how do we inject A into B?
    5. A Singleton Bean A and a Prototype Bean B, how do we inject B into A?
    6. What’s Your understanding on @Autowired?
    7. How does Spring know which bean to inject?
    8. What’s the usage of @Qualifier?
    9. What is the usage of @SpringBootApplication?
    10. What is the Difference between @Component,@controller @Repository @Service annotations @Bean in Spring?
    11. Describe Spring MVC
    12. What is ViewResolver in Spring?
    13. Difference between @Controller and @RestController
    14. @RequestBody vs. @ResponseBody
    15. @PathVariable vs @RequestParam
    16. What are Different Kinds of Http methods?
    17. What is an Idempotency?
    18. Which HTTP words are considered Idempotent?
    19. Is REST Stateless?
    20. Describe the RESTful Principle
    21. How to validate the values of a request body?

Комментарии •