How to perform Singleton of the java class object on multi
JVM?
Answer Posted / balu
Its possible to write a singleton class by
storing/serializing the singleton object into a flatfile
and use it across all the JVM's. By which it ensures that
only one instance is crested and used across multiple JVM's.
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
Can you explain the final method modifier?
How do I get a substring?
Are registers volatile?
What classes of exceptions may be thrown by a throw statement?
Does java support Operator Overloading?
How can we run a java program without making any object?
Explain different types of thread priorities ?
How can an object be unreferenced?
How do you create a bulleted list?
How can u increase the heap size in the memory?
What is the difference between preemptive scheduling and time slicing?
What is the use of optional ?
what do you mean by java annotations?
What are the different types of java?
What do you mean Abstraction in java?