This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Motivation and Reason for the Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Motivation and Reason for the "How Tomcat Works" book" Watch "Motivation and Reason for the "How Tomcat Works" book" New topic
Author

Motivation and Reason for the "How Tomcat Works" book

Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
Could you mention your motivation to write this book? What are the main factors that make you write this book?

One more question is that "Why did you choose to write about Tomcat? Why not about JBoss? Why not about other JSP and servlets containers?"

Thanks...


Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Budi Kurniawan
author
Greenhorn

Joined: Sep 15, 2004
Posts: 12
I've been designing and developing servlet/JSP applications for years now. And, naturally, if you like something, at one stage you will start asking questions about it. The questions that came to mind were:
1. What is it that prevents me from changing the value of a request parameter. I knew it was a Map, but how come I could only read it?
2. How does the servlet container know when to invalidate a session? There must be a background thread, but where?
3. How many instances does the container create for each servlet? What is the impact on performance?
4. How does the container parse the web.xml file?
5. How do the Manager and Admin application get access to Catalina so that they can start and stop, deploy and redeploy, an application?

Those sort of things.

So, I began to play with Tomcat code. It was an easy choice because it was popular and, more importantly, the source is available. The more I read it, the more I got interested. And, honestly, I learned a lot.

I decided to write How Tomcat Works to share what I have learned (the hard way) so that those who want to extend Tomcat (or even join the development team) do not have to go through what I did.


Author of <a href="http://www.amazon.com/exec/obidos/ASIN/097521280X/ref=jranch-20" target="_blank" rel="nofollow">How Tomcat Works</a>
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
Originally posted by Budi Kurniawan:
I decided to write How Tomcat Works to share what I have learned (the hard way) so that those who want to extend Tomcat (or even join the development team) do not have to go through what I did.


So your book is like your diary about your past experience on exploration of Tomcat, isn't it?

I do appreciate your great reply about the motivation to write the book.. Thanks...
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
thanks for advices and saving our 10 years learning curve
friso dejonge
Ranch Hand

Joined: Jul 11, 2002
Posts: 162
I've been designing and developing servlet/JSP applications for years now. And, naturally, if you like something, at one stage you will start asking questions about it. The questions that came to mind were:
1. What is it that prevents me from changing the value of a request parameter. I knew it was a Map, but how come I could only read it?
2. How does the servlet container know when to invalidate a session? There must be a background thread, but where?
3. How many instances does the container create for each servlet? What is the impact on performance?
4. How does the container parse the web.xml file?
5. How do the Manager and Admin application get access to Catalina so that they can start and stop, deploy and redeploy, an application?
Those sort of things.
So, I began to play with Tomcat code. It was an easy choice because it was popular and, more importantly, the source is available. The more I read it, the more I got interested. And, honestly, I learned a lot.
I decided to write How Tomcat Works to share what I have learned (the hard way) so that those who want to extend Tomcat (or even join the development team) do not have to go through what I did.


After reading the reply, the following comes to mind:
With all the experience, did you help writing with the latest release of tomcat ?


swimming certificate (A & B), shoelaces diploma, and some useless java ones.
Sandeep Jindal
Ranch Hand

Joined: Aug 25, 2003
Posts: 180

1. What is it that prevents me from changing the value of a request parameter. I knew it was a Map, but how come I could only read it?
2. How does the servlet container know when to invalidate a session? There must be a background thread, but where?
3. How many instances does the container create for each servlet? What is the impact on performance?
4. How does the container parse the web.xml file?
5. How do the Manager and Admin application get access to Catalina so that they can start and stop, deploy and redeploy, an application?



Hello,

From your answer one thing is very clear, that whenever these questions came into our mind, we wont write book but will read your book.

Regards


SCJP 5.0
http://sites.google.com/site/duddlutechnologies/home
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
Originally posted by friso dejonge:


After reading the reply, the following comes to mind:
With all the experience, did you help writing with the latest release of tomcat ?


ASAIK, Budi and Paul are not in the developement team of Tomcat...

You might wanna have a look at Who We Are list of Tomcat team...
 
Consider Paul's rocket mass heater.
 
subject: Motivation and Reason for the "How Tomcat Works" book
 
Similar Threads
Welcome Johanna Rothman!
code block linebreak
Joshua's motivation on the book
How did the SCMAD bring benfits to you?
Greetings!