Ryan de Laplante wrote:
> I used to use JBoss AS and was able to use a JRE to run JBoss. JBoss
> provided the implementation of Java EE features.
>
> Why does Glassfish require a JDK?
One of the reasons is so that the JSP compiler in GlassFish can turn JSP
pages
into servlet class files using "javac".
However, you can configure the JSP compiler in GlassFish to use the JDT
compiler
from Eclipse instead, see
http://blogs.sun.com/jluehe/entry/how_to_enable_eclipse_s
Also, when running against Java 6, the JSP compiler in GlassFish compiles
JSP pages in memory, using JSR 199 based APIs, in which case "javac" is
not needed.
Jan