Spring-IoC Features
The Spring Framework comes in the form of ZIP file with the necessary jars, examples etc.
The Spring Framework comes in the form of ZIP file with the necessary jars, examples etc.
Spring-IoC Features

- Spring
Framework
The Spring Framework comes in the form of ZIP file with the necessary jars, examples etc. The Spring
framework can be downloaded from http://www.springframework.org. There will be two zip files
one with dependencies and other without. The spring framework with dependencies is larger and includes all
dependent libraries. Download Spring framework 1.2.9 without dependency and unzip on the hard disk as
spring1.2.9.
- Bean factories support two modes of
object
- Singleton: In this case, there?s one shared instance of
the object with a particular name, which will be retrieved on lookup. This is the default, and most often used, mode. It?s ideal for the stateless service objects.
- Prototype or
non-singleton:
In this case, each
retrieval will result in the creation of an independent object. For example, this could be used to allow each
caller to have its own distinct object reference.
For
more information
Spring- IoC Features new section at http://www.javajazzup.com/issue2/page22.shtml

Ads