aspose file tools*
The moose likes Other Application Frameworks and the fly likes Loading the Bean in two different ways Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Loading the Bean in two different ways " Watch "Loading the Bean in two different ways " New topic
Author

Loading the Bean in two different ways

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234








Hi , upto my knowledge in spring i found two different ways for loading the Beans .

Please tell me what is the difference between these two ways of loading .the Beans


Save India From Corruption - Anna Hazare.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Check the Spring Reference. (3.1. Introduction and "BeanFactory or ApplicationContext?" note).


[My Blog]
All roads lead to JavaRanch
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thanks Christophe ,

I have gone through Documents . It states that

"The ApplicationContext adds more enterprise-centric functionality to it compared to BeanFactory"
and One of them is Lazy Loading

Please tell me





Please tell me at what time these two cofigured beans are loaded actually when i use the above code .
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi Christophe , Please tell me when actually when the lazy lazy-init bean and normal bean are loaded .
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

If anybody knows this . Please answer .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Loading the Bean in two different ways