Solved

loading spring beans in order

Posted on 2011-09-14
2
535 Views
Last Modified: 2013-11-11
hi guys

One of the interview question was
I have 3 beans in my spring config file
<bean id ="bean2" ..>
<bean id ="bean1" ..>
<bean id ="bean3" ..>


How will i load the beans in this order
bean1 loads first
Then bean2  loads
Then bean3 loads

Any idea how i can do that?

thx.
0
Comment
Question by:royjayd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 300 total points
ID: 36541232
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 36572753
you can do load file or other using lazy loading......

but that will give problem some times...
0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question