Should synchronization primitives be used on bean methods?
Answer / Vaishali Vashisth
Synchronization should be used judiciously on bean methods, as excessive synchronization can lead to performance bottlenecks and other issues. It's generally best to minimize the use of synchronization, focusing on making methods thread-safe through proper design and concurrent collection usage.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is it possible to stop the execution of a method before completion in a sessionbean?
What is serialization and de-serialization ?
What is the use of Class.forName
Difference between sleep and suspend?
Which containers use a border layout as their default layout?
What is an abstract method?
how to get value in combo for updation?
What are the call back methods in entity bean?
What is abstract schema?
Explain phantom read?
What is the return type of interrupt method?
What is a layout manager?