Questionsforum
What are the bean loading types in spring ?

What are the bean loading types in spring ?



On 2014-06-18 23:02:02.0
hablu


Basically there are two types of bean loading in Spring

  1. Aggressive Loading ( Eager Loading)
  2. Lazy Loading

To know more about these two follow this link :-

Bean Loading in Spring



On 2014-06-19 00:13:51.0
sushant

@sushant i went to the post. Can you give us a scenario where using lazy loading will improves my performance ? How it can help in the performance enhancement ?



On 2014-06-19 06:31:08.0
hablu

I don't know much practical about Lay loading means creating the instance when ever is required. So instead of creating the bean instance at the container start-up is may result on degrading the performance as because you may use some of the bean instance very later in your web application.

If any of the members know any real time arisen related to the performance enhancement due to the Lazy-Loading can post their views.

@hablu If you know something then post here.



On 2014-06-19 09:11:55.0
sushant

copyright@questionsforum.net