Can I use the Apache Web Server with the Sun J2EE Reference Implementation?

Sebastian Kim

The answer to your question is yes and no: Under the Jakarta project of Apache, the product Tomcat, which extends the Apache Web Server, allows you to run your basic servlets, JSPs and the like.

However, if you want to utilize J2EE's EJB functionality, you need to use an EJB container, which neither Apache nor Apache+Tomcat is (or rather has). If you're going down the open source road and sticking to Apache, the appropriate solution is JBoss (jboss.org). If you're open at this point, but want to stay away from BEA Weblogic or IBM Websphere, try Enhydra (enhydra.com) by Lutris.

A list of free EJB Containers is listed here.