Book Review - Java Servlet And JSP Cookbook by Bruce W. Perry
Book Review – Java Servlet & JSP Cookbook
Java Servlet & JSP Cookbook – Bruce W. Perry
1st edition, 2004, 723 pages, O’Reilly Publishers
Web developers who are looking for real-life examples of the use of servlets and JSP.
This is a companion-type book that goes beyond strictly reference material to the use of different servlet and JSP features, along with working examples of code to illustrate the concepts.
The book is divided multiple chapters that each cover a different technique or function:
I really like the O’Reilly Cookbook series. I read a lot as part of my ongoing study, and often it’s easy to understand conceptually what is going on. But making the jump to practical solutions can be difficult at times. The Cookbook series gets plenty of use on my bookshelf as I do my day to day coding. And when it comes to servlet and JSP coding as I continue to learn more about Websphere Application Server, this book will surely become dog-eared like the rest of them. Bruce Perry has done a great job.
As with most Cookbook titles, each chapter in the Servlet And JSP Cookbook is made up of a number of Problem/Solution/Discussion groupings. This format proposes a coding problem, states the solution to solve it, and then devotes the necessary space to discuss the solution both with text and code. By using this format, you can think through a working solution and determine how to apply that technique to your own problem. Perry covers a wide range of problems that will help both the beginner and the experienced coder. For beginners, the solutions for setting cookies with servlets and JSPs may be just what you need to get started. Experienced people will find the internationalization and JNDI/Enterprise JavaBeans solutions useful. I appreciate the fact that coders of all experience levels can get something out of this book.
The only caveat I have on this book is that it is very focused on the Tomcat and WebLogic web application servers. If that’s your platform of choice, you’re going to get everything this book has to offer. For me, I’m partial to the WebSphere platform. While I will benefit from a lot of this book, there are chapters that will have no appeal to me, such as using the Ant package. I will also need to pay attention to the coding examples to make sure that the techniques are coded correctly for my platform of choice. Even with that warning, I would still highly recommend this book to all coders working in this area.
This is definitely a title that will be useful to you as you learn more about servlet and JSP programming. It will give you the ideas you need to solve real business problems you’ll encounter as a developer.