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 handle a singleton service locator. when multiple threads
are trying to get the singleton object in same time

Answer Posted / sitaram

Singleton service means only one service provide at a
time.When multiple threads are trying to get the singleton
object in the same time.we can get an error. because only
one object provide in complete application.

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does sprintf return?

1114


Does treeset allow null in java?

1004


Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.

2050


What is difference between classpath and path variables in java?

1253


What are the pillars of java?

968


What are implicit objects in java?

1020


What is a buffer in java?

1065


What is the difference between menuitem and checkboxmenu item?

1378


What is the difference between stringbuffer and stringbuilder class?

1153


What are functions in java?

1002


How are destructors defined in java?

1086


Explain the difference between map and flatmap stream operation?

1305


Is arraylist ordered in java?

1163


Which collection is ordered in java?

1029


Can a class have more than one object?

1047