When you will synchronize your code?

Answer Posted / devarathnam c,kotagudibanda(po

Hi... If your code requires "Thread-safty" ,and to avoiding
deadlocks,when u want maintain dataintegrity.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens when a thread cannot acquire a lock on an object?

535


What is a modular application?

587


Can you control when passivation occurs?

595


How to deploy Jar, War files in J2EE?

2169


What are the steps to write p-to-p model application?

1955






If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

565


What is a policy?

1766


Can I use javascript to submit a form?

610


Explain the difference between object state and behavior?

563


What is metaspace?

543


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

581


Difference between DurableSubscription and non- DurableSubscription?

1712


What is mdb and what is the special feature of that?

560


what are the activation groupworks?

1673


What is the difference between the session.update() method and the session.lock() method?

554