[Ann] How Tomcat Works book -- at 45% discount for direct purchase from publisher
How Tomcat Works: A Guide to Developing Your Own Java Servlet Container by Budi Kurniawan and Paul Deck Published by BrainySoftware.com (www.brainysoftware.com) 464 pages, April 2004 ISBN: 0-9752128-0-X US$49.99/A$109.99/C$77.99 How Tomcat Works is the only book that explains the internal workings of Tomcat, the open source project used by millions of Java developers. Unlike other Tomcat titles, it is unique because it does not simply covers the configuration or servlet development with Tomcat. Rather, this book is meant for advanced readers interested in writing their own Tomcat modules or in understanding more beyond servlet/JSP programming. The authors of this book have cracked open Tomcat 4 and 5 and revealed the internal workings of each component. Upon understanding the contents of this book, you will be able to develop your own Tomcat components or extend the existing ones. In particular, this book explains: . How to develop Java web servers . Whether or not more Tomcat creates more than one instance for each servlet . How Tomcat runs a servlet that implements the SingleThreadModel interface . Why you cannot change the value of request parameters. . The two main modules of a servlet container: connector and container . How to build your own connector or extend the existing ones . The four types of containers: engine, host, context, wrapper . How Tomcat manages sessions and how to extend the session manager in a distributed environment. . The class loader and how to create custom loaders . How Tomcat implements security and basic/form-based/digest authentication . How realms and login configuration work. . How Tomcat processes the configuration file (server.xml) and converts the XML elements to Java objects using Digester . Tomcat's shutdown hook . JMX, Apache's Commons Modeler, and Tomcat JMX manageable resources --- Budi Kurniawan is the author of Java for the Web with Servlets, JSP, and EJB (NewRiders, 2002), a servlet/JSP book that stayed as the No.1 best-selling servlet/JSP book at amazon.com for 18 months. Budi is an IT consultant specializing in Internet and object-oriented programming. In addition to a number of computer books, he has published about 100 articles for more than 10 publications--including prestigious Java magazines, such as java.net, JavaPro, JavaWorld, and www.onjava.com. Budi is the author of the popular Brainysoftware.com File Upload Bean, which is licensed and purchased by many major corporations worldwide. Paul Deck is an IT architect with more than 15 years of experience. He has been involved in various projects in the United States, Canada, China, and Australia. Besides travelling, his interests include networking, Internet programming, design patterns, and user interface design. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: About Book How Tomcat Works
Thanks, budi ---Original Message--- From: Shapira, Yoav [EMAIL PROTECTED] Subject: RE: About Book How Tomcat Works Sent: 12 Jan 2004 13:56:52 Howdy, FYI, the site works fine for me. Good luck with the book, I hope it sells well ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Chris Wahl [mailto:[EMAIL PROTECTED] Sent: Saturday, January 10, 2004 2:15 PM To: Tomcat Developers List Subject: About Book How Tomcat Works I found the following message in tomcat mail-archive , but we can't access the book's link for several months, anyone one know what happened to the great book? or are there any article or book similar to this one, I need some material to help me to start reading Tomcat's code. Any infomation is highly appreciated. TIA As you know , here is the book's link. www.brainysoftware.com -mail begin Remy Maucherat Tomcat Developers List [EMAIL PROTECTED] Wed Jun 11 12:52:00 2003 budi wrote: Dear Tomcat Developers, I've been using Tomcat for years. It interested me so much that last year I spent three months reading the source code. I learned a lot, not only about how the servlet container works but also how to design Java applications in general. I particularly liked the idea of valves and pipelines, as well as the hierarchical containers. Knowing how Tomcat works enables one to write better servlets too, IMO. I decided to share what I have learned in a book titled How Tomcat Works. Sounds great :) I'll obviously add a link to your book on the resources page, and I'll look at it when I have some time. Remy -mail end This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---Original Message---
Re: About Book How Tomcat Works
Hi Chris, I happen to be in this mailing list too:) I'm still writing, having completed 15 chapters of a total of 18. The book will go to the printer early Feb 2004. If interested, you can pre-order this book now to enjoy a 45% discount. That's right. I'm self-publishing this book. Cheers, budi ps: pls try the link again. I've been disappointed with my service provider too. :( ---Original Message--- From: Chris Wahl [EMAIL PROTECTED] Subject: About Book How Tomcat Works Sent: 10 Jan 2004 19:15:11 I found the following message in tomcat mail-archive , but we can't access the book's link for several months, anyone one know what happened to the great book? or are there any article or book similar to this one, I need some material to help me to start reading Tomcat's code. Any infomation is highly appreciated. TIA As you know , here is the book's link. www.brainysoftware.com -mail begin Remy Maucherat Tomcat Developers List [EMAIL PROTECTED] Wed Jun 11 12:52:00 2003 budi wrote: Dear Tomcat Developers, I've been using Tomcat for years. It interested me so much that last year I spent three months reading the source code. I learned a lot, not only about how the servlet container works but also how to design Java applications in general. I particularly liked the idea of valves and pipelines, as well as the hierarchical containers. Knowing how Tomcat works enables one to write better servlets too, IMO. I decided to share what I have learned in a book titled How Tomcat Works. Sounds great :) I'll obviously add a link to your book on the resources page, and I'll look at it when I have some time. Remy -mail end ---Original Message---
Re: class diagram
You can download sample chapters of How Tomcat Works book from my website: www.brainysoftware.com cheers, budi ---Original Message--- From: Subject: class diagram Sent: 03 Jul 2003 05:23:44 I was asking abt UML class diagram, not API's. Could u please tell me where can i get it. - Kaushik http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/index.html Hi All, From where can I get complete class diagrams of Tomcat ? Thanks, Kaushik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---Original Message---
Re: tomcat design doc
Have a look at my How Tomcat Works :), downloadable from www.brainysoftware.com. Rgds, budi ---Original Message--- From: Nishant Kumar Subject: tomcat design doc Sent: 19 Jun 2003 10:18:37 hi, is there any design doc for tomcat and jtc. even one or two pages in text will do. i just wanted to have a feel of the system. i have gone through the source didn't have the confidence to tweak it for my custom needs. and can somebody also tell me what part of the code is not necessary if i decide not to support http1.0. thanks, nishant - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---Original Message---
[book] How Tomcat Works
Dear Tomcat Developers, I've been using Tomcat for years. It interested me so much that last year I spent three months reading the source code. I learned a lot, not only about how the servlet container works but also how to design Java applications in general. I particularly liked the idea of valves and pipelines, as well as the hierarchical containers. Knowing how Tomcat works enables one to write better servlets too, IMO. I decided to share what I have learned in a book titled How Tomcat Works. This is supposed to be a tutorial, teaching the reader how the servlet container works and how to build it. It is a big system and at first I had problems explaining it, considering some readers might not have a clue as to how Tomcat ticks. Finally, I decided to build simple implementations of some interfaces and explain the simplified components. In fact, I started by explaining how the java.net.Socket class works in a simple Web server (Chapter 1), followed by a simple servlet container that can't do anything other than run a basic servlet (Chapter 2). Each chapter comes with an application and each chapter's application is built upon the previous chapter's application. From Chapter 1, the application evolves into the full-fledged Catalina 4.1.12. This book will be around 500 pages thick and has 18 chapters. Having said that, I realize I'm no expert. I wish I knew how Tomcat works better. The reason for writing to this mailing list is to ask for favor from you all, the very people who really understand how Tomcat works. I hope you could take some time to read the chapters that I made available for download from my web site www.brainysoftware.com. I'm sure with your feedback and comments this book will be much better than the current form, and in the end could benefit Tomcat users and anyone who has interest in Tomcat. Millions of thanks, Budi Kurniawan
Re: Security threat with enabling invoker servlet in 4.1.12
Thanks Martin, budi On Mon, 4 Nov 2002, Martin Algesten wrote: The invoker servlet allows for anyone to call your servlets using their class names. This is not a problem as long as you are happy with that. In my case I have some internal servlets (used as a poor substitute for RMI) where I map the servlets to be under /internal/some.servlet and then protect /internal/* in my Apache web server in front of Tomcat. I don't use the invoker servlet since I want to declare exactly how my servlets are to be accessed. Martin Budi Kurniawan wrote: Hi, I've browsed the user list for this question but could not find the answer. Apologies if this is not the right question for this list. The release note in 4.1.12 says that the invoker servlet is turned off in the default web.xml for security reasons. However, in the examples app's web.xml the invoker is on. My questions are: 1. What security threat is that? 2. If it is not safe to turn it on in the default web.xml, is it safe to do so in the app web.xml? thx, budi -- To unsubscribe, e-mail: mailto:tomcat-dev-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-dev-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-dev-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org
Security threat with enabling invoker servlet in 4.1.12
Hi, I've browsed the user list for this question but could not find the answer. Apologies if this is not the right question for this list. The release note in 4.1.12 says that the invoker servlet is turned off in the default web.xml for security reasons. However, in the examples app's web.xml the invoker is on. My questions are: 1. What security threat is that? 2. If it is not safe to turn it on in the default web.xml, is it safe to do so in the app web.xml? thx, budi -- To unsubscribe, e-mail: mailto:tomcat-dev-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-dev-help;jakarta.apache.org
UML Class Diagram
Hi, I was wondering if I can get the Catalina class diagram to help me understand how it works, or if it is available online. Thanks, budi -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]