Ok, I was just trying to see if you can control something with a basic sketch, to confirm it was working and wired, then add the ethernet control to the system.
I don't have the ethernet shield to play with, so I won't be of much help. Googling around, there appears to be a significant rewrite to the ethernet library, from the .002x to the 1.0.x versions, so it may be that code in the book, is worked with the pre 1.0 release of the IDE.
That being said, I did a search online, for some example code that was written post 1.0 and found the following examples.
http://bildr.org/2011/06/arduino-ethernet-pin-control//
and
http://startingelectronics.com/tutor...r-LED-control/
both look to be good examples of what you are trying to accomplish.