* rhug servlet in linux native compile
@ 2002-09-28 11:32 Christophe Roux
2002-10-01 14:54 ` Anthony Green
0 siblings, 1 reply; 2+ messages in thread
From: Christophe Roux @ 2002-09-28 11:32 UTC (permalink / raw)
To: rhug-rhats
I am developing a communication software with gcj and rhug (tomcat).
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?
I think gcj allows to have compiled code. Is it compatible with tomcat-rhug ?
If so, what is the step to do so?
Thanks
Christophe Roux
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: rhug servlet in linux native compile
2002-09-28 11:32 rhug servlet in linux native compile Christophe Roux
@ 2002-10-01 14:54 ` Anthony Green
0 siblings, 0 replies; 2+ messages in thread
From: Anthony Green @ 2002-10-01 14:54 UTC (permalink / raw)
To: Christophe Roux; +Cc: rhug-rhats
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-01 21:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-28 11:32 rhug servlet in linux native compile Christophe Roux
2002-10-01 14:54 ` Anthony Green
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).