Java Servlet and JSP Cookbook presents real-world problems, and provides concise, practical solutions to each. Finding even one tested code `recipe` that solves a gnarly problem in this comprehensive collection of solutions and best practices will save hours of frustration--easily justifying the cost of this invaluable book.
But `Java Servlet and JSP Cookbook` is more than just a wealth of cut-and-paste code. It also offers clear explanations of how and why the code works, warns of potential pitfalls, and directs you to sources of additional information, so you can learn to adapt the problem-solving techniques to similar situations.
These recipes include vital topics like the use of Ant to setup a build environment, extensive coverage of the WAR file format and web.xml deployment descriptor, file-uploading, error-handling, cookies, logging, dealing with non-HTML content, multimedia, request filtering, web services, I18N, web services, and a host of other topics that frustrate even the most seasoned developers.
For Java web developers of all levels who are eager to put into practice the theory presented in other API-focused books, the solutions presented in this practical book will prove invaluable over and over again. This is painless way for less experienced developers who prefer to learn by doing to expand their skills and productivity, while accomplishing practical solutions to the pressing problems they face every day. More experienced developers can use these recipes to solve time-consuming problems quickly, freeing up their time for the more creative aspects of their work.
Joke of a Book
As some other reviewer pointed out (read his reveiw for details), the examples are based on Oreilly's Library, the realy nitty-gritty stuff is completely skipped. I think author is cuckoo, to beleive he expects most of his readers to pay for this joke of a book. I paid four dollars and fifty cents for it (second hand) ,,,, about right price.
A Good Reference Book
A good book. Not for someone looking for a `tutorial` or `introduction` on the subjects covered. However, a good reference book to find examples of specific programming problems for someone who already has a good understanding of servlets and JSP. Covers a good number of different aspects of servlet/JSP programming. I also found it a good book to convey some general knowledge in areas like using attributes, DB access, etc. I enjoyed selectively reading different chapters.
You want to write Servlets & JSP's - Buy This!
I'm not a big reviewer. I find writing a challenge, even if it's a positive experience, as it is now. I started learning Java a few months ago and bought a number of books on the topics I needed to really create a java website.
I stumbled on this book as one of the ten or so I purchased.
I haven't touched the other's since. This book has it all, written so clearly that you know the author is very familiar with her subject and understands it thouroughly. It was written in 2003 and discusses Tomcat server as release 4.0 but that does not matter one bit. I was truly able to use this book to put together a website. Servlet, jsp, even java script is covered. I found many questions I had assembled reading the other books being answered in this one.
Murach's books should be proud of this and I notice that they don't publish a 100 books on a subject; just have a few. I'll bet they're just as good.
Precisely the book I've been dreaming of,,.
This book is exactly what it claims to be: a general reference to hundreds of `everyday` situations Java Web developers face. Just as any cookbook, it doesn't go into the `deepest` details about every little thing, and it does give examples of ways to not reinvent the wheel. Some reviewers see this as worthy of only 1 star,,. This is only a 1 star book for readers who like to reinvent the wheel and waste time on unnecessary details,,. if you're like me and have deadlines to meet, you'll find what you need here quickly and efficiently.
Hampered by use of custom libraries
Being an O'Reilly fan it is hard for me to find fault with their no-nonsense approach to technical books, but there is one MAJOR issue I have with this book.
As a developer for a major corporation I cannot use custom libraries for my work, especially when the license (http://www.servlets.com/cos/license.html) does not allow for commercial use. Where it would be helpful to see details on creating say, a multipart request class, Bruce Perry instead uses the com.oreilly.servlet.MultipartRequest class to hide much of the functionality (this is just one example).
This makes little or no sense. Developers in the real world need real examples. Hiding the implementation of such under the non-commercial license pretty much ruins much of the potential application of an otherwise well written book. If you buy this book realise that only some of it will actually be useful in the real world.