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
How to find the largest value from the given array.
What do you mean by order of precedence and associativity?
Explain abstract class in java?
What is void data type?
when to use ArrayList and when to use HashMap in webApplication.
What is a ternary operator in java? What is an interface?
List types of storage classes in java?
What is the set interface in java programming?
What is the purpose of garbage collection in java? When is it used?
Is a class subclass of itself?
Difference between class#getinstance() and new operator ?
Can constructor return value?
how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread
What is exception handling in java?
Is singleton class immutable?