Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to perform Singleton of the java class object on multi
JVM?

Answers were Sorted based on User's Feedback



How to perform Singleton of the java class object on multi JVM?..

Answer / 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

How to perform Singleton of the java class object on multi JVM?..

Answer / 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

More Core Java Interview Questions

What is the biggest integer?

0 Answers  


How can we create an immutable class in java?

0 Answers  


Is minecraft java edition free?

0 Answers  


Why java is call by value?

0 Answers  


What is the difference between getCodeBase and getDocumentBase methods?

1 Answers   CS Business Services,


what is predefined function in java?

0 Answers  


Difference between arraylist and vector.

0 Answers  


What is the importance of hashcode() and equals() methods?

0 Answers  


Can we call a non-static method from inside a static method?

0 Answers  


What is a map? What are the implementations of map?

0 Answers  


Explain the difference between throw and throws in java?

0 Answers  


How do you pass by reference?

0 Answers  


Categories