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

Explain the difference between object state and behavior?

582


Why do threads block on i/o?

698


What is the difference between system.out ,system.err and system.in?

606


How are commas used in the intialization and iteration parts of a for statement?

593


Is there a guarantee of uniqueness for entity beans?

577






What is scalable, portability in the view of J2EE?

1883


How to implement RMI in Java?

2412


Explain what is synchronization?

587


Can I have an action without a form?

611


the same information whether it will connect to the database or it will be used previous information?

581


Why use a datasource when you can directly specify a connection details? (in a J2EE application)

3472


Are there books about seam?

644


What is the difference between long.class and long.type?

578


What is prototype?

619


what are memory considerations of jsp compares to other web components?

6026