Solved

loading spring beans in order

Posted on 2011-09-14
2
525 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
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
haveThree challenge 22 100
zeroMAx challenge 20 76
allStar challenge 1 41
Non-recursive backtracking, using a stack 1 48
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 …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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.

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now