From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22474 invoked by alias); 1 Oct 2002 21:54:51 -0000 Mailing-List: contact rhug-rhats-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rhug-rhats-owner@sources.redhat.com Received: (qmail 22467 invoked from network); 1 Oct 2002 21:54:51 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 1 Oct 2002 21:54:51 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g91La5i05476 for ; Tue, 1 Oct 2002 17:36:05 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g91Lsnl02441; Tue, 1 Oct 2002 17:54:49 -0400 Received: from [192.168.64.10] (vpn50-58.rdu.redhat.com [172.16.50.58]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g91Lslw04281; Tue, 1 Oct 2002 14:54:47 -0700 Subject: Re: rhug servlet in linux native compile From: Anthony Green To: Christophe Roux Cc: rhug-rhats@sources.redhat.com In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 01 Oct 2002 14:54:00 -0000 Message-Id: <1033509291.1668.11.camel@dhcppc2> Mime-Version: 1.0 X-SW-Source: 2002-10/txt/msg00002.txt.bz2 On Sat, 2002-09-28 at 11:36, Christophe Roux wrote: > I found that the byte code for my servlet is slower than with jdk. > So I ask, is it possible to use a natively linux compiled servlet instead of > byte code with tomcat-rhug? Yes. Just compile your servlet .class files into .so files. For instance, HelloWorldExample.class.. $ gcj -shared -o HelloWorldExample.so HelloWorldExample.class Just leave that in your WEB-INF/classes dir and tomcat should pick it up (remove the .class file just to be sure!). Let us know how it works... AG