Differences Between the ColdFusion MX Server and ColdFusion MX for J2EE Application Servers
Differences in the Getting Started book
This section provides an overview of the differences between using Getting Started Building ColdFusion MX Applications for ColdFusion MX for J2EE Application Servers and for ColdFusion MX Server.
Using the Getting Started book (all platforms)
The following table describes changes to Getting Started Building ColdFusion MX Applications that apply to ColdFusion MX for J2EE Application Servers:
Section
Change
Lesson 6 Exercise: Insert trip data using SQL INSERT and cfquery
In step 2 of this exercise, the code listed in the table for Windows users is missing a right parenthesis ) after 'Form.departureDate#' and before the closing </cfquery> tag. You must include the missing parenthesis in your code to complete this exercise successfully. Note: In this exercise, you can either type the code that is listed in the table or copy it from a text file. The code in the text file is correct.
Lesson 6 Exercise: linking the Add and Edit buttons
In step 3 of this exercise, an extraneous </cfif> tag appears at the end of the code listed in this step. You must remove this extraneous </cfif> tag from your code to complete this exercise successfully.
Using the Getting Started book (Windows)
The following table describes the changes to Getting Started Building ColdFusion MX Applications that apply for ColdFusion MX for J2EE Application Servers in Windows:
Section
Change
Accessing the tutorial files
In ColdFusion MX for J2EE Application Servers, the URL to access the tutorial and the file location of the tutorial database file are as follows:
tutorial http://computer_name:webserver_port/context_root/ cfdocs/getting_started/my_app/. For example (with IBM HTTP Server): http://localhost:9080/ColdfusionMX/cfdocs/getting_started/ my_app/
databasecf_root\cfdocs\getting_started\db\CompassTravel.mbd For example: C:\WebSphere\AppServer\installedApps\cfusion.ear\ cfusion.war\cfdocs\getting_started\db\CompassTravel.mbd.
tutorial http://computer_name:webserver_port/context_root/ cfdocs/getting-started/my_app For example: http://localhost:80/ColdfusionMX/cfdocs/ getting-started/my_app
databasecf_root\cfdocs\getting_started\db\CompassTravel.mdb For example: C:\iPlanet\Servers\docs\cfmx\cfdocs\ getting_started\db\CompassTravel.mdb.
tutorial http://computer_name:webserver_port/context_root/ cfdocs/getting_started/my_app For example: http://localhost:80/cfusion/cfdocs/getting_started/ my_app/
databasecf_root\cfdocs\getting_started\my_app For example: C:\JRun4\servers\freds_computer\cfusion\cfdocs\ getting_started\my_app.
Lesson 4 Exercise: use FileExists function to verify the existence of photo file name
Step 2b in this exercise lists the following tag: <cfset PhotoLocation "C:\cfusionmx\wwwroot\CFDOCS\getting_started\Photos\"> For ColdFusion MX for IBM WebSphere Application Server, use the following path: <cfset PhotoLocation "C:\WebSphere\AppServer\installedApps\cfusion.ear\cfusion.war\ cfdocs\getting_started\Photos\"> For ColdFusion MX for Sun ONE, use the following path: <cfset PhotoLocation "C:\iPlanet\Servers\docs\cfmx\cfdocs\getting_started\Photos\"> For ColdFusion MX for JRun, use the following path: <cfset PhotoLocation "C:\JRun4\servers\default\cfusion\cfdocs\getting_started\Photos\">