> ...aka "Will the Real PoolTcpConnector.java please stand up?"
> 
> I've been reading through the Connector code in 3.3 (to try to understand the Java 
>side of the various protocols and to maybe contribute some work there).  However, to 
>my great confusion, there seem to be two parallel versions of the various classes.  
>For example, there is:
> 
> org.apache.tomcat.service.PoolTcpConnector

Sorry about that. 

The org.apache.tomcat.service is the original code, that is part of
tomcat3.2, tested, etc.

org.apache.tomcat.modules.server is a refactoring, using more hooks in the
interceptors and with an attempt to separate the protocol itself from the 
tomcat "glue" ( i.e. make Http, Ajp12, Ajp13 more "independent" and
reusable, with the interceptors as glue that uses a particular protocol ).

We can certainly remove the old code, I think the new code works fine
enough ( as with all refactorings, it's almost the same code, just a
different packaging ) - and in case something gets wrong we can find the
old code in the Attic.

Since you are reviewing the code, I certainly hope to hear back sugestions
and maybe get some help to improve the code :-) A documentation of Ajp13,
and a proposal for authentication and extensible callbacks would also be
great :-)
( the original author of Ajp13 did a great job, but he is very busy and
there are many improvements that can be made )

> Can anyone enlighten me?  And can the unused files be removed from cvs?

org.apache.tomcat.modules. is used for the new code that will end up in
3.3. 

The old files will be removed from cvs ( soon )

Costin

Reply via email to