|
8 of 8 people found the following review helpful:
5.0 out of 5 stars
Create a Object Oriented Bot Package Step by Step, April 25, 2004
By A Customer
I use this book as a supplement to a class that I teach, as it gives the students the necessary stills to programmatically spider, and generally access, information on the Net.As some of the other reviewers point out, this book does center around the creation of a "bot package". However, I see this as one of the book's greatest strengths. The author explains step by step how to take basic concepts, continually build upon them, progressing onward to more complex spiders and bots. Specifically: 1. Create an advanced HTTP object that overcomes many of the shortcomings of the one which is built into Java. (namely cookie support, referrer support, HTTP authentication, and more) 2. Add forms/page processing on top of the HTTP object. You are shown step by step how to process the data you collect from step 1. 3. Create a bot that wields the page/form processing created in step 2. 4. Create a spider, that, using steps 1-3, can access pages across an entire site. 5. Expand the spider to support thread pooling and a JDBC database. Rather than providing a bunch of disjoint code samples, like many books do. The author guides you step by step through the above path, revealing the techniques at every step. For the reader who does not care about the intricate nature of bot programming, sadly, some of my students. You can skip to the API documentation and get right onto creating your own bots. You can also download updated versions of the "bot package" from the author's site. I actually did this before buying the book. The downsides to the book are the example programs use of GUI's. I would rather every example had been straight console, the GUI only gets in the way, for a book targeting bot programming. Also the author very annoyingly putting an underscore in front of every class-instance variable, which gives some of the code something of a C++ look I suppose. If you are already programming bots and spiders of your own, I don't think you will get much more from this book than you are likely already doing. But for someone who wants to get started in this exciting area, there is nothing else like it, and I highly recommend it.
|