You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Alexander Lazic <al...@none.at> on 2004/08/01 11:14:34 UTC

Re: Mod_ajp initial

Hi,

On Mon 26.07.2004 12:01, Henri Gomez wrote:
>
>Since we plan to developp an AJP library, it will ease the task for
>ajp_proxy and we could validate many points like this and have a
>release rate independant from the HTTPD 2.0/2.1 rr.

Well does you plan to bind this library to apr?
I ask because i want to use tomcat without apache-httpd-webserver and
therefore it would be nice if the lib don't depend on to many or to
great libs.

I plan to use this webserver:

http://www.fefe.de/gatling/
http://cthulhu.fnord.at/

al ;-)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Mod_ajp initial

Posted by Alexander Lazic <al...@none.at>.
Hi,

On Son 01.08.2004 11:46, Mladen Turk wrote:
>
>You can take a look at current development at j-t-c/ajp and http_wrap
>that mimics the libhttpd functionality and enables console apps to
>behave like a http server.

Thanx i will look there ;-)

>This is the fundamental difference from JK/JK2 where we had our own web
>server abstraction layer and API. Ajp will use only the Apache2 API and
>nothing more.

Thanx for your explanation ;-)

I think it *ajp* would not be backported to apache 1.3.

>Writing apache2 wrapper shouldn't be such a big deal, cause in any web
>server you have headers, output and input stream, etc...

I will study the http_wrap-Code ;-)

al ,-)

PS: whith j-t-c you mean Jakarte-Tomcat-Connector, right?

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


RE: Mod_ajp initial

Posted by Mladen Turk <mt...@apache.org>.
 

Alexander Lazic wrote:
> >
> >Since we plan to developp an AJP library, it will ease the task for 
> >ajp_proxy and we could validate many points like this and have a 
> >release rate independant from the HTTPD 2.0/2.1 rr.
> 
> Well does you plan to bind this library to apr?

Yes, but also to the libhttpd.

> I ask because i want to use tomcat without 
> apache-httpd-webserver and therefore it would be nice if the 
> lib don't depend on to many or to great libs.
>

You can take a look at current development at j-t-c/ajp and http_wrap that
mimics the libhttpd functionality and enables console apps to behave like a
http server.

> I plan to use this webserver:
> 
> http://www.fefe.de/gatling/
> http://cthulhu.fnord.at/
>

You will have to write your own implementation of the ap_xxx functions
(httpd_wrap).
Since almost all web servers tend to behave similar, using HTTP protocol you
will need to find a way to rewrite the apache API on top of your web server
API.
Exactly the same will be done if we eventually decide to make a IIS or any
other server support. We will expect that IIS behaves like Apache2 does, not
modifying libajp but rather writing httpd_iis_wrap.

This is the fundamental difference from JK/JK2 where we had our own web
server abstraction layer and API. Ajp will use only the Apache2 API and
nothing more.
Writing apache2 wrapper shouldn't be such a big deal, cause in any web
server you have headers, output and input stream, etc...


MT.