File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes tomcat versions and book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat versions and book" Watch "tomcat versions and book" New topic

tomcat versions and book

gayathri sridhar

Joined: Sep 15, 2004
Posts: 13
Hi Budi,

As tomcat undergoes revision,
version 4.x 5.x and now 5.5, what part of the container gets rewritten /improved upon. Is 5.x a complete rewrite of 4.x?
Does the book cover 5.x as well?

Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
Your question had been answered in that thread in the past... I guess, you might have missed that thread, in which Alvin asked a lot of questions about the book...

Hope it helps...

Co-author of SCMAD Exam Guide, Author of JMADPlus
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Is 5.x a complete rewrite of 4.x?

My question :: No.

I think, Tomcat should be use CORE System in all/almost version.

Don't use rewrite , use Reuse is ok.

And you can see more detail at ::

Java Developer, Thailand
Budi Kurniawan

Joined: Sep 15, 2004
Posts: 12
The book covers Tomcat 4 and 5. 5 is not a complete rewrite of 4. The main difference is that tomcat 5 supports Servlet 2.4 and JSP 2.0, while 4 supports Servlet 2.3 and JSP 1.2.

Internally, the servlet container in 5 is more efficient. For example, in 4 each component that needs background processing has its own thread. In 5 one thread is shared by all the components.

Some background processing tasks include:
1. invalidating expired session objects.
2. reloading an application whose web.xml or one of its classes has changed.


This is one of the topics "How Tomcat Works" discusses in detail.

Author of <a href="" target="_blank" rel="nofollow">How Tomcat Works</a>
gayathri sridhar

Joined: Sep 15, 2004
Posts: 13
Originally posted by Ko Ko Naing:
Your question had been answered in the past...

thanks . It does answer a part of my question. But it seems to be more of a conversation between you and alvin. and yes and i was curious about the container module that normally gets rewritten.
I agree. Here's the link:
subject: tomcat versions and book
It's not a secret anymore!