Home Freemagazine Issue2 Spring-IoC Features

Related Tutorials


 
 

Share on Google+Share on Google+

Spring-IoC Features

Advertisement
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


         

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: April 3, 2006

Related Tutorials

Discuss: Spring-IoC Features  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com