Java does not compile on the fly; the javac compiler compiles source to VM bytecode
Java Server Pages compile on the fly
:p
edit: JSPs are compiled to Java servlets, which are then compiled to .class bytecode files; which are then available forever, or until the JSP code is changed; in which case the .class is re-generated - it`s more efficient than using ASP!
edit 2: and in fact you can specify that JSPs are compiled as a web application server starts up, so there`s no on-the-fly compilation at all
( ,
Fri 4 Feb 2005, 10:06,
archived)
:p
edit: JSPs are compiled to Java servlets, which are then compiled to .class bytecode files; which are then available forever, or until the JSP code is changed; in which case the .class is re-generated - it`s more efficient than using ASP!
edit 2: and in fact you can specify that JSPs are compiled as a web application server starts up, so there`s no on-the-fly compilation at all