my dog learned polymorphism*
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
Author

tomcat versions and book

gayathri sridhar
Greenhorn

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?

thanks,
gayathri
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
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
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 :: http://cvs.apache.org/viewcvs.cgi/#dirlist


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Budi Kurniawan
author
Greenhorn

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.

etc...

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


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

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: http://aspose.com/file-tools
 
subject: tomcat versions and book