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


Please Help Members By Posting Answers For Below Questions

What is the difference between stringbuffer and stringbuilder class?

829


What is get () in java?

800


What is difference between c++ and java ?

896


Is ruby built on java?

742


What is the final class?

770


What is an off by one error in java?

743


What are class types in java?

835


What does isempty () do in java?

831


What is a method header?

794


What are the topics in core java?

835


What is serialization in java?

822


How to sort array of 0 and 1 in java?

758


Explain restrictions for using anonymous inner classes?

868


Which is better arraylist or vector?

823


Can we have any code between try and finally blocks?

793