I am needing to get a book on Servlet programming. I am considering either Marty Hall's "Core Servlets and Java Server Pages" or "Java Servlet Programming" published by O'Reilly. Does anyone have any strong opinions about either? Which is the best for a beginning Java Programer. I realize that Marty Hall's book is a bit outdated and has been supplimented by "More Servlets and Java Server Pages" but where I work is only up to installing Java 1.2 and it will be a long time before they install anything newer. Thanks for your help, Paul LaBrier
"Core Servlets and Java Server Pages" by triangle choke :53 round 1. Seriously, "Core Servlets and Java Server Pages" has been a bible for me at work, best money i have spent on a book. The http echoserver included is golden! The tools and knowledge in that book will let you write very advanced servlets.
You can't go wrong by owning both. They both have lot's of examples, especially Core Servlets. Jason Hunter's book, has more detailed explanations on what's happening and why. Bottom line...they are both good books.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Another spin on this... I think Hall's first book is out of date now it works on Servlet 2.2 and JSP 1.1 specs plus it uses the old Java Web Server. I think you can get this book free on his site free on pdf: http://pdf.coreservlets.com/ . I would advise his new version: More Servlets and JavaServer Pages as things have moved on since his first book (though it was good at the time)
- Jim Petersen <br />SCJP2<br />SCWCD<p>- but then again, I could be wrong...
Jim is right on the money. Get the PDF for the old one, maybe get the 'More..' book. You can download code for both from the website as well. My personal favorite book is Special Edition Using Java Server pages and Servlets by Mark Wutka. It does a good job of covering both, and doesn't treat them as separate things that should never mix like a few other books I've seen. Everything else I find online. I'm not terribly worried about being 100% up-to-date on API specs since the core stuff remains the same and I can learn the new stuff online, even though I probably won't be using any of it for another 4-6 months.
CJP (Certifiable Java Programmer), AMSE (Anti-Microsoft Software Engineer)
Author of Posts in the Saloon
I attended a training course using Hall's book. It is definitely best for beginners. Hunter's book is good for more advanced. When I had problems running the codes, I emailed both authors, and they are very responsive and helpful (do your homework first).