Java servlets are the killer app for server-side programming. They represent the first cross-platform solution for server-side development that delivers the performance developers require -- and they've been incorporated into nearly every leading Web server platform. Inside Servlets, Second Edition teaches developers all they need to build robust, powerful servlets with Sun's new Servlets 2.2 API. It combines detailed, real-world projects, a comprehensive API reference, and extensive new coverage of crucial topics ranging from security to database integration. The book starts with a brief, crystal-clear introduction to servlet technology and architecture -- and then dives into the sophisticated techniques Java developers need to make the most of their servlets. Dustin Callaway provides a complete development framework for building Internet applications, as well as three start-to-finish sample servlets. He also offers outstanding, code-rich explanations of key techniques such as state/session management, cookies, thread-safe servlets, JDBC database access, cross-request communications, request forwarding, and partitioning. This Second Edition adds extensive coverage of deployment, servlet security and authentication, internationalization, JavaServer Pages, and more.
"synopsis" may belong to another edition of this title.
Future generations will likely rank the Internet alongside the printing press, the airplane, and the personal computer as one of the most revolutionary technologies in history. After seemingly lying dormant for more than two decades, the Internet has emerged from obscurity to capture the interest and imagination of people around the world. One of the primary factors driving this phenomenon is the astounding popularity of the World Wide Web. Globally accessible via the Internet, the Web has forever changed the way information is published and distributed. The first goal of this book is to familiarize you with the underlying technologies that drive the Internet and the World Wide Web.
The Java programming language is another emerging technology whose potential is just beginning to be recognized. Due to its platform-independent nature, standard network interfaces, and many other advantages, Java is the ideal language for Internet programming. Although initially popularized by applets capable of running on any client, the true power of Java is being realized on the server. Among other things, server-side Java allows developers to build dynamic Web sites using a powerful, object-oriented language that is completely portable across virtually all operating systems and hardware. By writing programs for the Java platform, you are in essence developing applications for all existing platforms--from mobile phones to mainframes and everything in between. This kind of portability and cross-platform functionality isunprecedented.
The Internet relies on open standards to ensure that all clients have equal access to the vast amount of information it provides. Similarly, standards are essential to the advancement of the Java platform. Sun Microsystems, Inc., in cooperation with many industry partners and other interested parties, has created a standard for developing server-side Java programs that extend andenhance the functionality of the server. Known as the Java Servlet API, this standard ensures that all servlets will run properly on all platforms for which a Java virtual machine is available.
By conforming to the Servlet API specification, you can guarantee that all of your server-side programs will run on any platform that fully supports Java. After presenting Web development fundamentals, the second and primary goal of this book is to provide an in-depth understanding of Java servlets and the Servlet API through discussion and example.What's New in This Edition
This edition of Inside Servlets both revises and expands upon the first edition. Primarily, the bulk of the revisions update the text and source code to conform to version 2.2 of the Java Servlet Specification. In addition to conforming to the new specification, the breadth and depth of the book has been greatly expanded. The second edition of Inside Servlets provides comprehensive coverage of several new topics, including security, JavaServer Pages, packaging and deployment, and servlet troubleshooting. The chapter on database access has also been greatly expanded. Finally, this edition includes improved sample servlets, an updated quick reference section, and a complete review of version 2.3 of the Java Servlet Specification.Intended Audience
In general, this book was written for anyone interested in using server-side Java to build dynamic, data-driven Web sites or other networked applications. To this end, Inside Servlets: Server-Side Programming for the Java(TM) Platform, Second Edition, presents an in-depth review of the Servlet API as well as advanced programming concepts essential for successful servlet development. These concepts include writing thread-safe servlets, session management, database access, and security.
More specifically, the book is intended for programmers and consultants who desire to learn Web development fundamentals in addition to server-side Java programming. Much of this audience likely consists of current client/server programmers. After all, in an increasingly Internet-centric world, many client/server programs are being redeveloped as Web applications. This decisionis often driven by the fact that Web applications offer significant distribution and maintenance advantages over traditional client/server systems.
Because Java servlets may represent your first foray into Web development, the first part of the book is dedicated to teaching the basics of the Internet and the World Wide Web. Although basic Web concepts are presented, the Java programming language is not taught. This book assumes a basic knowledge of object-oriented programming and the Java language. If you are not familiar with Java, I recommend reading the Java primer in Java in a Nutshell by David Flanagan. This primer is especially well suited to C programmers. Another personal favorite for learning about Java is Thinking in Java by Bruce Eckel. If you do not already know Java, you may want to have one of these books available as a reference while reading this book. 0201709066P04272001From the Back Cover:
Java™ servlet technology, an integral part of the Java 2 Enterprise Edition (J2EE) platform, has become the de facto standard for creating dynamic, data-driven Web applications. By conforming to the Java™ Servlet API, developers can guarantee that their server-side programs will run on any J2EE-compliant platform that fully supports Java.
Written for the thousands of Web programmers, designers, and consultants who want to expand their repertoire of development tools or enhance their servlet programming skills, Inside Servlets, Second Edition , provides exactly the information needed. It offers important background information on Web technologies, an inside look at Java servlet technology, a hands-on servlet tutorial, and a guide to advanced servlet programming for creating sophisticated, high-performance Web sites.
This second edition has been thoroughly updated to incorporate versions 2.2 and 2.3 of the Java Servlet Specification. In addition, the book has been expanded to provide in-depth coverage of such vital topics as security, JavaServer Pages™, packaging and deployment, advanced database access techniques, and servlet troubleshooting.
Within this book you will find an introduction to Web technologies that explains such fundamentals as TCP/IP, firewalls, proxy servers, sockets, MIME, and HTTP. A servlet tutorial offers information on basic servlet structure, demonstrates how to write and run your first servlet, and previews the Servlet API. Inside Servlets then moves on to advanced servlet concepts and techniques. Lastly, a complete reference to the Servlet API is provided.
Specific topics featured include:
In addition, Inside Servlets, Second Edition , contains an entire section devoted to real-world examples of servlets in action, with detailed explanations and complete source code.
The web site accompanying this book contains the source code and compiled class files for all sample code; JRun 3.0 from Allaire; SevletExec 3.0 from New Atlanta Communications; Resin 1.2 from Caucho Technology; Apache Tomcat 3.1 and 3.2; MySQL database and JDBC(TM) driver; JBuilder 4 Foundation Edition from Borland; and many other valuable servlet development tools.
"About this title" may belong to another edition of this title.
Book Description Addison-Wesley Professional, 2001. Book Condition: New. Brand New, Unread Copy in Perfect Condition. A+ Customer Service! Summary: Foreword. Preface. Introduction. I. INTRODUCTION TO WEB DEVELOPMENT. Internet Basics 3. Networks. Protocols. TCP/IP. Brief History of the Internet. Internet Addresses. Ports. Socket. Name Resolution. Firewalls. Protocol Tunneling. Proxy Servers. Internet Standards. Summary. 2. Web Basics. Brief History of the Web. URLs. Web Browsers. Web Servers. Common Gateway Interface. Summary. 3. Beyond Web Basics. HTTP. MIME. HTML Forms. Summary. II. INTRODUCTION TO SERVLETS. 4. Why Servlets? What Is a Servlet? Where Do Servlets Fit In? What Can Servlets Do? Why Are Servlets Better Than CGI? NSAPI/ISAPI. Summary. 5. Servlet Basics. Basic Servlet Structure. Servlet Lifecycle. Servlet Reloading. Dissecting Two Sample Servlets. Summary. 6. Servlet API Basics. HttpServlet. Class. GenericServlet. Class. ServletRequest Interface. HttpServletRequest Interface. ServletResponse Interface. HttpServletResponse Interface. Summary. 7. Writing Your First Servlet. Servlet Requirements. Main Page. View Bulletins. Post Bulletin Page. Save Bulletin Page. Complete Bulletin Board Servlet. Summary 193 8 Running Servlets. Apache Tomcat. Jrun. ServletExec. Resin. Summary. 9. Debugging Servlets. AHEADS = Servlet Debugging Process. Jbuilder. Forte for Java. VisualCafe. Summary. 10. Beyond Servlet API Basics. ServletInputStream Class.ServletOutputStream Class. ServletConfig Interface. ServletContext Interface. ServletException Class. UnavailableException Class. Summary. III. ADVANCED SERVLET CONCEPTS. 11. Writing Thread-Safe Servlets. What Is Thread Safety? Synchronization. Service, doGet, and doPost Local Variables. SingleThreadModel Interface. Background Threads. Summary. 12. HTTP Redirects. What Is an HTTP Redirect? HTTP Header Syntax for a Redirect. Sending a Redirect from a Servlet. Load-Balancing Servlet Using HTTP Redirects. Summary. 13. Cookies. What Is a Cookie? HTTP Header Syntax for a Cookie. Setting Cookies with the Servlet API. Summary. @CHAPTER 14. State and Session Management. What Is a Stateless Protocol? What Is a Session? State and Session Management Defined. State and Session Management Methods. Session Management with the Servlet API. Session Listeners and Events. Summary. 15. Request Forwarding, Server-Side Includes, Servlet Chaining. Using the RequestDispatcher Object. Server-Side Includes. Servlet Chaining. Summary. 16. Database Access with JDBC. JDBC Architecture. Accessing a Database. Basics. Advanced Database Concepts. Database Connection Pooling. Introduction to the MySQL Database. Summary. 17. Security. Basic Authentication. Form-Based Authentication. Digest Authentication. Secure Sockets Layer. Summary. 18. JavaServer. Introduction to JSP. Scope Rules. Implicit Objects. Directives. Scripting Elements. Comments. Actions. CCustom Tag Libraries. Using JSP and Servlets Together. Summary. 19. Packaging and Deployment. @AHEADS Building a Web Application Archive. Deploying on Apache Tomcat. Deploying on Jrun. Deploying on ServletExec. Summary. 20. Servlet Troubleshooting. Protocol Explorer Utility. Diagnostics Servlet. Summary. IV. SAMPLE SERVLETS. 21. Form Mailer Servlet. 22. File Upload Servlet. 23. Servlet Template Framework. Building a Web Application. Inside the Template Server. Guest Book Sample Application. V. SERVLET API QUICK REFERENCE. 24. Javax.Servlet Package. Interface RequestDispatcher. Interface Servlet. I. Bookseller Inventory # ABE_book_new_0201709066
Book Description Addison-Wesley Professional, 2001. Paperback. Book Condition: New. book. Bookseller Inventory # 0201709066
Book Description Prentice Hall. Book Condition: New. Brand New. Bookseller Inventory # 0201709066
Book Description Addison-Wesley Professional, 2001. Paperback. Book Condition: New. 2. Bookseller Inventory # DADAX0201709066
Book Description Addison-Wesley Professional, 2001. Book Condition: New. Brand new! Please provide a physical shipping address. Bookseller Inventory # 9780201709063
Book Description Book Condition: Brand New. Book Condition: Brand New. Bookseller Inventory # 97802017090631.0
Book Description Addison-Wesley Professional, 2001. Paperback. Book Condition: New. Bookseller Inventory # P110201709066
Book Description Addison-Wesley, 2001. Paperback. Book Condition: Brand New. 2nd paperback/cd-rom edition. 881 pages. 9.00x7.25x1.75 inches. In Stock. Bookseller Inventory # 0201709066
Book Description Longman Group. Book Condition: New. pp. 912. Bookseller Inventory # 7575638