What is a bean definition made up of?



What is a bean definition made up of?..

Answer / Abhinay Shekhar

A Spring Bean Definition consists of an ID or name for the bean, its class or factory method to create the bean instance, the scope of the bean (singleton, prototype, etc.), and any required properties with their values.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

Does spring boot require tomcat? : Spring Boot

1 Answers  


Is lazy loading enabled by default?

1 Answers  


What is the default scope of spring component?

1 Answers  


What are some of the important features and advantages of spring framework?

1 Answers  


Why spring is so popular?

1 Answers  


What are the major features in different versions of spring framework?

1 Answers  


Explain inversion of control and dependency injection through a simple example.

1 Answers  


What are the ways to access hibernate using spring?

1 Answers  


What is the difference between yml and yaml?

1 Answers  


What does inject it mean?

1 Answers  


What are three types of annotations?

1 Answers  


How to handle exceptions in spring mvc framework?

2 Answers  


Categories