How to perform Singleton of the java class object on multi
JVM?
Answer Posted / boka
How would you maintain the state of the object across the
JVM... if a singleton is being worked upon on multiple JVMs
and each one changes the state of Singleton how would this
be maintained. I dont think that Singleton across JVMs
makes any sense...
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is lazy initialization in java?
What is array class in java?
What is gc()?
Is array size fixed in java?
How many types of parsers are there?
When do we use synchronized methods in java?
How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
What is a double?
What is meant by object oriented programming – oop?
What is intern method in java?
What does a boolean method return?
What is wrapper class html?
What is string intern in java?
Does list allow duplicates in java?
How can we run a java program without making any object?