quote:
Originally posted by:
Ian Skinner
Yes ColdFusion 5 and earlier where written in C and thus do
not use a
JVM at all and ColdFusion 6 and latter are written Java and
always use a
JVM. But that JVM can be subsumed inside of the ColdFusion
application
and thus only available for use by ColdFusion or it can be
installed
independently of ColdFusion and is thus available for use by
other
Java|JSP applications.
In other words the question is are you using either the
Standard or
Enterprise ColdFusion in Stand-Alone mode which embed the JVM
into the
ColdFusion installation. Or are you using Enterprise in
Multi-Home or
J2EE which install the JVM independently of ColdFusion and
can be used
by other applications.
CF, whether installed in Server configuration or Multiserver
configuration, uses a JVM included with CF. In either of these
configurations, JRun is also used as the J2EE application server
that the CF web app is deployed on. The only difference between
these 2 is this:
* In Server configuration, CF is installed with a
stripped-down JRun designed to run nothing but the CF web app. You
can't deploy other J2EE web apps, nor do you have access to the
full JRun install. In this configuration, the JVM used to run the
stripped-down JRun (and thus the CF web app) is installed at
{CF_Install_Root}/runtime/jre.
* In Multiserver configuration, JRun is installed, then CF
is deployed as a web app on the full JRun install. You can deploy
other J2EE web apps on this JRun install as well as change/access
whatever you'd like within JRun. The JVM included with the full
JRun install and used to run it, and thus the CF web app, is
installed at {JRun_Install_Root}/jre
CF, installed using J2EE configuration, is nothing more than
a web app (.war) that needs to be deployed on your
already-installed J2EE server.
The wording you use makes me think you confuse JVM with J2EE
app server. Especially this sentence:
"But that JVM can be subsumed inside of the ColdFusion
application
and thus only available for use by ColdFusion or it can be
installed
independently of ColdFusion and is thus available for use by
other
Java|JSP applications."
Replacing JVM with J2EE app server makes that sentence more
accurate.
The J2EE configuration doesn't install a JVM at all. It
simply packages up a .war/.ear file for you to deploy on your own
J2EE app server.