Home Freemagazine Issue2 Spring-IoC Features



Spring-IoC Features
Posted on: April 3, 2006 at 12:00 AM
The Spring Framework comes in the form of ZIP file with the necessary jars, examples etc.

Spring-IoC Features

        

  1. 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.
              
  2. 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


         

Related Tags for Spring-IoC Features:


More Tutorials from this section

Ask Questions?    Discuss: Spring-IoC Features  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.