dev@glassfish.java.net

Re: JSP seems to be compiled externally. Why?

From: Cheng Fang <Cheng.Fang_at_Sun.COM>
Date: Thu, 23 Mar 2006 14:20:45 -0500 (EST)

I remember there is memory leak in javac. This problem also existed for
rmic. Not sure if we still fork a process for rmic/ejbc.

-- Cheng

On Thu, 23 Mar 2006, Kohsuke Kawaguchi wrote:

>
> I was deploying a new appliation to Glassfish this morning with Dinesh,
> and we noticed that it seems to be compiling JSPs by launching an
> external javac (more over, it seems to be doing so for each tag file.)
>
> This made it unbearably slow to see the web pages. Why is it doing so?
> Can't we just load javac in the AppServer JVM?
>
> --
> Kohsuke Kawaguchi
> Sun Microsystems kohsuke.kawaguchi_at_sun.com
>