• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tomcat versions and book

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...
 
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
author
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
gayathri sridhar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
reply
    Bookmark Topic Watch Topic
  • New Topic