Macromedia colfusion mx 7 Manual

Descargar
Página de 170
82
Chapter 5:  Deploying ColdFusion Applications
Deployment considerations
Once the archive file is created, you deploy using standard ColdFusion MX J2EE configuration 
deployment techniques. For more information, see “Installing an EAR file or WAR files” in 
Chapter 4, “Installing the J2EE Configuration” of Installing and Using ColdFusion MX.
Post-deployment considerations
Depending on your application, the resources that it uses, and the environment in which it is 
deployed, you may need to perform post-deployment configuration, as follows:
Mappings
  The ColdFusion mappings in the archived application refer to directories on the 
original computer. If those directories do not exist on the deployment computer, modify the 
ColdFusion mappings using the ColdFusion MX Administrator or the Administrator API.
Verity
  You must ensure that the Verity server settings on the original computer are appropriate 
for the deployment computer. If not, you must modify the Verity server settings using the 
ColdFusion MX Administrator or the Administrator API.
Serial number
  J2EE deployment is a ColdFusion MX Enterprise feature. To upgrade to the 
Enterprise Edition, enter a serial number using the ColdFusion MX Administrator or the 
Administrator API.
For more information on the Administrator API, see 
Using the cfcompile utility
You can use the 
cfcompile
 utility for the following purposes:
  Precompile your application’s CFM pages into Java class files. 
At runtime, ColdFusion MX does not have to compile CFM pages.
  Create CFM pages as Java bytecode. You can deploy these CFM pages 
instead of CFML source code.
The 
cfcompile
 utility is located in the cf_root/bin (server configuration) or 
cf_webapp_root/WEB-INF/cfusion/bin (multiserver and J2EE configuration) directory.
Precompiling ColdFusion pages
You can use the 
cfcompile
 utility to precompile ColdFusion pages (CFM, CFC, and CFR files). 
This can enhance initial page loading time at runtime.
Use the following command to compile ColdFusion pages into Java classes:
cfcompile webroot [directory-to-compile]