What is the primary purpose of the ApplicationContext in Spring Framework?
Which of the following is NOT a valid Spring Bean scope in Spring Framework 2024?
In Spring Framework, what does the @Autowired annotation do when autowiring candidates are ambiguous?
What is the difference between @Bean and @Component annotations in Spring?
Consider a scenario where a Spring application needs to initialize a database connection pool at startup. Which method should be used?
Advertisement
What is the role of Spring's PropertyPlaceholderConfigurer in application configuration?
In Spring Framework, which interface represents a factory pattern implementation for creating objects?
What happens when @Lazy annotation is applied to a singleton bean in Spring?
Which annotation is used to provide external configuration properties to Spring beans in the 2024 Spring Boot version?
What is the primary difference between BeanFactory and ApplicationContext in Spring?
In a complex Spring application, when would you prefer to use ObjectFactory<T> over direct bean injection?
What is the significance of the @Qualifier annotation when used alongside @Autowired in Spring?
Consider a Spring application where you need different bean implementations based on the deployment environment. Which approach is most suitable?
What does the @Scope annotation with value 'prototype' mean in Spring Framework?
In Spring Framework 6.0, what is the role of the @EnableAutoConfiguration annotation in Spring Boot?
What is the purpose of using @Bean method parameters in Spring @Configuration classes?
Which of the following best describes the purpose of Spring's Stereotype annotations (@Service, @Repository)?
In a multi-threaded Spring application with singleton beans, what thread-safety consideration must be kept in mind?