What is factory method in spring?
Answer / Archana Verma
Factory Method in Spring is a design pattern where an interface declares a method that returns an object, but it's the subclasses that decide which class to instantiate. In Spring, BeanFactory provides a FactoryBean interface for implementing factory methods.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of @service in spring?
Describe aop.
What is @qualifier annotation in spring?
Which dependency injection is used for a mandatory dependency?
What classes are used to control the database connection?
Is spring mvc a design pattern?
What are the different types of injection in spring?
What is java spring boot used for? : Spring Boot
What is spring and hibernate?
What is @transactional in jpa?
What do you mean by spring java based configuration?
What is root context in spring?