Quote

We are what we repeatedly do. Excellence, therefore,is not an act but a habit.

Aristotle

Wednesday, January 6, 2010

Instantiating Beans

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