Spring File System




We can say a Spring Framework creates an object for us.
Here in the diagram given above, we create a Java class having setter methods or constructor.
By using both the techniques, we can create a class.
After that, with the help of SpringBean.xml, we inject the class and assign the values to the object (we can say that we write a class in the format of tag, like class name, object name, variable name and values for the variables).
After creating web.xml, we develop one main class inside which we use spring container (ApplicationContext and BeanFactory) that reads the SpringBean.xml and creates an object for us.