ATPCO Interview Question: Spring - When you use Singlet... | Glassdoor

Interview Question

Java Lech Lead Position Interview Dulles, VA

Spring - When you use Singleton instance in Spring, you

  will get only once instance. If I want to get multiple instances which is required for my application, how do you override or overcome the situation
Answer

Interview Answer

1 Answer

1

Define it as Spring bean with prototype scope

Anonymous on Sep 26, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.