What is difference between bean and pojo?



What is difference between bean and pojo?..

Answer / Rajiv Ranjan

Bean is a Java class that follows certain conventions to be used by container-managed frameworks like Spring. POJO, on the other hand, stands for Plain Old Java Object and refers to any regular Java class with no special characteristics or dependencies on external libraries.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What is autowire by name?

1 Answers  


What is java spring boot used for? : Spring Boot

1 Answers  


Explain xml schema-based aspect implementation ?

1 Answers  


What is the use of @required annotation?

1 Answers  


Which is the default scope of bean in spring? In addition, are they synchronized?

1 Answers  


What is difference between spring framework and spring boot? : Spring Boot

1 Answers  


How is spring different from spring boot? : Spring Boot

1 Answers  


What is the default bean scope within spring?

1 Answers  


What does a framework means?

1 Answers  


What are the different types of bean injections?

1 Answers  


What is difference between java singleton and spring singleton?

1 Answers  


Why is spring used?

1 Answers  


Categories