This is the mail archive of the rhug-rhats@sources.redhat.com mailing list for the RHUG project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rhug servlet in linux native compile


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]