Java Spring Framework Question:

What are Inner Beans?

Tweet Share WhatsApp

Answer:

When wiring beans, if a bean element is embedded to a property tag directly, then that bean is said to the Inner Bean. The drawback of this bean is that it cannot be reused anywhere else.

Download Spring Framework PDF Read All 43 Spring Framework Questions
Previous QuestionNext Question
What are the important beans lifecycle methods?What are the different types of bean injections?