aspose file tools*
The moose likes Tomcat and the fly likes How effective are the Apache native libraries? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How effective are the Apache native libraries?" Watch "How effective are the Apache native libraries?" New topic
Author

How effective are the Apache native libraries?

David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

I have included the native libraries on my local machine because Tomcat kept asking for them, but I'm assuming the only reason is performance, so what sort of boost would we expect?
Jeff Genender
author
Greenhorn

Joined: Sep 06, 2007
Posts: 14
Tomcat only asks for them if you specifically set the APR connector in your server.xml file, otherwise it will use the pure Java BIO connector if the native libs do not exist.

Using the native libs essentially turns Tomcat into an A[ache Httpd server (quite literally) by leveraging the same code that an Apache Httpd server uses. You should se tremendous performance gains using this connector.
 
wood burning stoves
 
subject: How effective are the Apache native libraries?