This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I have an object that is shared by several threads and is an observer. This object has the following methods:
Considering several threads share this object to invoke the execute() method and that the update() method is receiving thousands of notifications from the observable, do I need to synchronize the code inside mehotd update, like this: