In the bean definition we define creating one or more objects. The container looks in to the bean definition and creates the object according to the configuration that is specified in the bean definition. The object that has to be instantiated is specified in the ‘class’ attribute of the
element.
<bean id=”myname” class=”example.ExampleBean/>
No comments:
Post a Comment