What are the ways by which configuration metadata can be provided to the spring container?
Answer / Sumit Sharma
Configuration metadata can be provided to the Spring container using XML files (applicationContext.xml), Java-based annotations (@Component, @Service, @Repository, etc.), and Java configuration classes that extend the AbstractApplicationContext or Configuration classes.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is pojo class in spring?
What is the bean life cycle in spring bean factory container?
Why do we go for spring?
What is the scope of spring?
How to use tomcat jndi datasource in a spring web application?
What is a transactional process?
What is spring batch example?
What problem does dependency injection solve?
What are the types of dependency injection supported by spring?
Explain the use of @controller and @requestmapping annotations in spring mvc.
Is dependency injection necessary?
Describe spring dao support?