how to handle a singleton service locator. when multiple threads
are trying to get the singleton object in same time
Answer Posted / wikipedia
Detailed answer here:
http://en.wikipedia.org/wiki/Singleton_pattern
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Can we store variables in local blocks?
What is sorting algorithm in java?
When should you use arraylist and when should you use linkedlist?
How to sort list of list in java?
How do I compare two strings in word in java?
what state does a thread enter when it terminates its processing? : Java thread
What is the maximum size of hashmap in java?
How does hashset works in java?
What are variable arguments or varargs?
Why is a singleton bad?
What is a string token?
How the metacharacters are different from the ordinary characters?
Is an object null?
What is java util concurrentmodificationexception?
What is the purpose of the strictfp keyword?