How many ways can you make beans in spring?
Answer / Sukhwinder Singh
There are multiple ways to create beans in Spring Framework, including: 1) Declaring beans in XML configuration files, 2) Annotating classes with @Component, @Service, @Repository, or @Controller, and 3) Using Java-based Configuration.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are object/relational mapping integration module?
What is true about beanpostprocessor?
What is a beanfactorypostprocessor and what is it used for?
What is servlet in spring?
What is the use of @transactional annotation in spring?
What is dataaccessexception?
What is the application context in spring?
What is spring dto?
In how many ways can dependency injection be done?
What are the different modes of autowiring?
What are the layers in spring framework?
Why is dao used? : Spring Boot