In Spring, what is the process of supplying an external dependency to an object called?
- Bean Inversion
- Bean Registration
- Dependency Injection
- Dependency Wiring
The process of supplying an external dependency to an object in Spring is called "Dependency Injection." It involves injecting or providing the required dependencies to an object rather than having the object create them itself, promoting loose coupling and easier testing.
Loading...
Related Quiz
- In Spring Cloud, the _____ is used for defining service instance metadata and implementing custom service instance selection policies.
- Which of the following annotations enables Auto Configuration in a Spring Boot application?
- In Spring Boot's reactive programming model, how can you efficiently handle streaming of large result sets from a database?
- What are the considerations and best practices for using @Primary in projects with multiple beans and dependencies?
- In a scenario where there are multiple beans of the same type, how can one specify which bean should be Autowired?