Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 48340 invoked by uid 500); 11 Sep 2001 10:15:44 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 48238 invoked from network); 11 Sep 2001 10:15:42 -0000 Message-ID: <00bb01c13aaa$fdf09ba0$0a14a8c0@reflexe.fr> From: "chris brown" To: References: <01af01c13aa6$159a4b20$c08201d5@oemcomputer> Subject: Re: why tomcat Date: Tue, 11 Sep 2001 12:17:41 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > Just been reading your postings. Am I right in saying that Tomcat does not > support EJBs? What about tomcat 4? Tomcat isn't an "EJB container", but it can be an EJB client. You can't "host" EJBs within Tomcat them, but if you have an EJB container somewhere else on your network, you can access these EJBs from Java code in Tomcat in the same way as you would from any other client application. Why would you do this? Well, if you buy an expensive EJB host such, you may prefer to use it simply for its advanced J2EE capabilities, and delegate all web-serving and presentation issues (formatting info using JSP or serlvets for example) to another machine, running Tomcat. It's one way to do load-balancing. Consider using Sun's Reference Implementation of Java Enterprise Edition ; Tomcat is the in-built webserver and servlet/JSP engine, and can access EJBs -- these EJBs are hosted by a different component of Sun's Reference Edition. -Chris