This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
There are zillions of places that you can get source code. When you download the SDK you get the source in a file called src.zip. For applets try javaboutique.com. For J2EE Sun provides the PetStore application source. The Jakarta project is all open source. SourceForge is all open source. etc
"JavaRanch, where the deer and the Certified play" - David O'Meara