From katkere@praja.com Tue Oct 24 01:51:36 2000
Return-Path:
Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm
Delivered-To: mailing list tomcat-dev@jakarta.apache.org
Received: (qmail 65514 invoked from network); 24 Oct 2000 01:51:36 -0000
Received: from unknown (HELO pst.praja.com) (64.240.239.20)
by locus.apache.org with SMTP; 24 Oct 2000 01:51:36 -0000
Received: by PST with Internet Mail Service (5.5.2650.21)
id <41D2K1DK>; Mon, 23 Oct 2000 18:40:56 -0700
Message-ID: <0941E0D29BB1D21184F300105A9CB785C9EC2F@PST>
From: Arun Katkere
To: tomcat-dev@jakarta.apache.org
Subject: "Modern" compilation
Date: Mon, 23 Oct 2000 18:40:21 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
charset="iso-8859-1"
X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N
While trying to figure out why exactly is Jasper page loading dog slow
(initial compilation is very slow, most time spent in Zip file read, and
page load is slow because of secure session id initialization), I noticed
that Tomcat still uses "classic" javac (sun.tools.javac.Main) instead of
"modern" javac (com.sun.tools.javac.Main) even in JDK 1.3 context.
Is there plans to support this compiler (which is much faster)? Does anyone
have a patch/plugin we can use?
While trying to write a compiler plugin myself, I realized there is no way
to force the modern compiler to write to my stream instead of
System.out/err. Perhaps this is the reason why modern compiler is not
supported??
Also, use of any compiler plugin other than the standard SunJavaCompiler is
next to impossible since the JSP engine does not read web.xml in
$TOMCAT_HOME/conf. So, we are left with two unfriendly choices. Patch tomcat
code or insert Tomcat specific code into each web.xml. Is there plans to
move JSP compiler plugin specification to server.xml?
Great software, but it is not easy to convince that to folks used to near
instantaneous page compilation/load times of JServ/GNUJSP/jikes combo that
Tomcat is the greatest thing out there when they sit waiting for 30-45
seconds waiting for page to compile (or even just load!!). We are not
talking about bottlenecks in outside code. It is the same with Tomcat sample
JSPs.
-arun