Amazon.co.uk Review
Java Server and Servlets is necessarily a complex book as it has to deal with clients, servers, Servlets, back-end applications, a variety of APIs and Servlet API revisions. The authors start with a fast overview of HTTP, discuss sockets and threads and then implement a simple HTTP server. By chapter three you're using the Javax.servlet and javax.servlet.http classes to build a simple Hello World Servlet.
A reasonable familiarity with Java is a prerequisite to using this book. Though the discussion and examples are lucid, frequent references to the underlying Java architectures and their consequences to the design process make it hard to be sure the grasp you think you have will survive the next gotcha. For example, Servlets have a context. However, the spec says you can't get a Servlet from its context (Servlets can't access other Servlets). This, though, is necessary for the jo! Servlet engine to function. The resulting hoop-jumping makes interesting reading.
Servlets generally call on other applications. Three functional Servlets are demonstrated for database access via JDBC, e-mail services and a guest book. SMI and persistence are covered in depth. In the book's second section, the authors create an impressive general solution based on the Web-App Framework, which-- like the rest of the code--is freely downloadable. In the final section the authors use the Web-App framework to create an online store, a store browser and a chat app. Overall, Java Server and Servlets is not an easy book, but it is useful and authoritative and one all serious Java programmers should read. --Steve Patient
Product Description
Java Server and Servlets is an indispensable resource for developers and Java programmers who are responsible for constructing Web-based server-side applications for small to medium-sized companies. It introduces all the relevant technologies and explains how to use them, and then goes on to describe the design principles behind building your own Web server and how to build your own applications. The authors have created their SMI (Servlet Method Invocation), an extension based on the servlet API, and provide their own software, the servlet engine Jo!. In addition to providing an illustrated example of how to build a web server, the book also covers a framework, WebApp, for the developer who, having understood the principles laid out, can use it as a basis for creating and developing better applications.
See all Product Description