Well on what you want to wait that decides what need to be synchronized. Well if you are waiting on an object for something, so someone should notify on that object only. Also objects are not waiting,its the threads that are waiting.
[ SCJP 6.0 - 90% ] , JSP, Servlets and Learning EJB.
Try out the programs using a TextEditor. Textpad - Java 6 api