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?

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


Please Help Members By Posting Answers For Below Questions

How does multithreading take place on a computer with a single cpu?

1008


What are basic data types?

1102


Program to Find the second largest element in an array.

1192


Are arrays dynamic in java?

1037


What is the method in java?

1106


What is the difference between compare and compareto in java?

1032


What is a jit compiler?

1136


What is stack explain?

1006


How to reverse string in java?

1209


How many times finalize method will be invoked? Who invokes finalize() method in java?

1020


Why are arrays useful in java?

1033


How do you make an arraylist empty in java?

932


What is the significance of listiterator?

1101


What are different data types?

1026


What is data string?

976