MACROMEDIA COLDFUSION 5 - INSTALING AND CONFIGURING SERVER Instrukcja Użytkownika Strona 82

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 170
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 81
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 Administrator API” on page 39.
Using the cfcompile utility
You can use the cfcompile utility for the following purposes:
Precompiling ColdFusion pages Precompile your applications CFM pages into Java class files.
At runtime, ColdFusion MX does not have to compile CFM pages.
Sourceless distribution 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]
Przeglądanie stron 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 169 170

Komentarze do niniejszej Instrukcji

Brak uwag