beanfactory has many executions in spring but one


BeanFactory has many executions in Spring. But one of the most useful one is org.springframework.beans.factory.xml.XmlBeanFactory, which loads its beans based on the definitions having in an XML file. To create an XmlBeanFactory, pass a java.io.InputStream to the constructor. The InputStream will give the XML to the factory. For example, the following code snippet uses a java.io.FileInputStream to give a bean definition XML file to XmlBeanFactory.

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: beanfactory has many executions in spring but one
Reference No:- TGS0416342

Expected delivery within 24 Hours