Bookmark Topic Watch Topic
  • New Topic

Apahe Tomcat communication

 
ashishk kumar
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I have a doubt....
We all know -
Apache is a webserver and Tomcat is a container.

So how does Apache talk to Tomcat?

I have been checking the specifications on apache jakarta website but could not find the answer.

Please reply,
Thanks in advance,
Ashish
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64200
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Tomcat is also a web server in addition to a servlet container. No Apache is required unless you need some of the features that Apache provides that Tomcat does not.
 
ashishk kumar
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Yes Bear you are right and I agree with you fully.
But using Apache/Tomcat together is supposedly more reliable and considered a good J2EE practice.
Actually I was asked this question at an interview and I did not know the answer.

Can you please throw some light on this issue ?

Thanks,
Ashsih
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64200
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Originally posted by ashishk kumar:
But using Apache/Tomcat together is supposedly more reliable and considered a good J2EE practice. ... Can you please throw some light on this issue ?

This has not been true for quite some time.

With regards to the question: there is a connector that can be configured to allow Apache to hand off active requests to Tomcat. It's a pain in the patootie to set up and maintain.

And since there is no longer a reason to front Tomcat with Apache unless you have to, few people bother. I don't.
 
ashishk kumar
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Thanks Bear, that should suffice the argument.
Cheers,
Ashish
 
I agree. Here's the link: http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic