Question about the connection between Apache and Tomcat with JK

2004-09-23 Thread Kan Deng
Hi, there, Apache is a C application while Tomcat is in pure Java. Would you please complain the mechanism for the communication between these two? Especially, does it use shared memory or a temporary file or sockets? In details, 1. It is feasible and straightforward to implement if using a

Re: Question about the connection between Apache and Tomcat with JK

2004-09-23 Thread Mladen Turk
Kan Deng wrote: Hi, there, Apache is a C application while Tomcat is in pure Java. Would you please complain the mechanism for the communication between these two? Especially, does it use shared memory or a temporary file or sockets? It uses sockets and AJP13 protocol for communication. Would

Re: Question about the connection between Apache and Tomcat with JK

2004-09-23 Thread Kan Deng
MT, Many thanks for the prompt reply. I read into the document, however, didn't find the answer to my question as following, 3. If using sockets, jdk 1.4 has only socket for TCP and UDP. But when the apache and tomcat are deployed in the same machine, isn't it an overhead to go down to the lower

Re: Question about the connection between Apache and Tomcat with JK

2004-09-23 Thread Mladen Turk
Kan Deng wrote: MT, Many thanks for the prompt reply. I read into the document, however, didn't find the answer to my question as following, 3. If using sockets, jdk 1.4 has only socket for TCP and UDP. But when the apache and tomcat are deployed in the same machine, isn't it an overhead to go