I want to control database connections in my program and want that only one thread should be able to make database connection at a time. Define how can I implement this logic?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Java Related AllOther Interview Questions

i have make jar file but when i click in this file then arr swhow "no faund main class" plese help me in this problem becose i want to make a jar file as a dxdcutable file

1 Answers  


What do I need to install netbeans?

0 Answers  


Which is the Best institute to do academic Project in Java? Need information about institutes at Ameerpet, Hyderabad.

8 Answers  


Expain ur organisation process( V-model)?.

1 Answers   Cap Gemini,


Explain the common use of ejb?

0 Answers  






Is it better to learn java or python?

0 Answers  


can a program use more than one command-line argument?

0 Answers  


How do I run a java program from the command line?

0 Answers  


How do I run a java project?

0 Answers  


What are jpa annotations?

0 Answers  


Topic- looping,function overloading,nesting ,polymorphism. Aim - to write a function with a name buzz-buds,that will check whether the given numbers are buddies or not on the basis of no. of parameters passed during function calling.

0 Answers  


What is a static method?

0 Answers  


Categories