E-Commerce Application

Supplement to Reality ColdFusion: J2EE Integration

Copyright 2002 Peachpit Press.  All rights reserved.


-------------------------------------------------------
Installation Instructions
-------------------------------------------------------
1. Extract this zip file to your ColdFusion MX root directory (default Windows: c:/CfusionMX)

2. Make sure that the /shippingCalc/, /wwwroot/ecomm/, /wwwroot/WEB-INF/class/cfj2ee folders appear in the {cfmx_root} directory.

3. In the CF Administrator, add a datasource called "mnutdb" mapped to the {cfmx_root}\wwwroot\ecomm\mnutdb.mdb database.

4. In the web.xml file in the /wwwroot/WEB-INF/ directory, this line needs to be added (more information in the e-commerce section of the book):
    
    <listener>
        <listener-class>cfj2ee.ecommerce.session.ECommSessionListener</listener-class>
    </listener>

5. Deploy your EJB - all of the relevant files and source code are in the /shippingCalc directory. For more information, refer to your J2EE server and the e-commerce section of this book.

6. Turn on CFJ2EE variables in the administrator tool (Memory Variables | Use J2EE Session Variables). 

7. Go to http://localhost:8500/ecomm/Store.cfm (if standalone, or the replace localhost:8500 with your ColdFusion server address) to test the application.