how to handle a singleton service locator. when multiple threads
are trying to get the singleton object in same time
Answer Posted / sitaram
Singleton service means only one service provide at a
time.When multiple threads are trying to get the singleton
object in the same time.we can get an error. because only
one object provide in complete application.
| Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
What does sprintf return?
Does treeset allow null in java?
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.
What is difference between classpath and path variables in java?
What are the pillars of java?
What are implicit objects in java?
What is a buffer in java?
What is the difference between menuitem and checkboxmenu item?
What is the difference between stringbuffer and stringbuilder class?
What are functions in java?
How are destructors defined in java?
Explain the difference between map and flatmap stream operation?
Is arraylist ordered in java?
Which collection is ordered in java?
Can a class have more than one object?