Instruct: Classify Amazon reviews into positive or negative sentiment
Query: writing is good but examples are poor

The writing is pretty good. Reading this book, a Java programmer can understand the Java Beans concepts. But the examples are extremely sloppy: full of errors, some don't compile, some exhibit incompetent Java threads programming concepts.Corrected examples should be put on the Web site. This is the only O'Reilly book I've read that wasn't very good.