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

Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?

903


What is stringjoiner ?

906


Explain about instanceof operator in java?

991


What is a substitution variable?

971


Can a static method be final?

1004


What are selection structures?

933


What is the difference between hashmap and hashtable in java?

1043


How many bits is a string in java?

960


What is main string [] args?

940


What are the steps involved to create a bean?

1093


What are java packages? What's the significance of packages?

1217


What is difference between array and arraylist in java?

930


What is the intersection and union methods?

978


How do you remove duplicates from an array in java?

902


Difference between java and javascript

1030