User Guide
C HAPTER 18
Chapter 18 Building Custom CFAPI Tags
For some applications, building executables to run with ColdFusion is the best
solution. Perhaps the application requirements go beyond what is currently feasible
in CFML. Or perhaps application performance can be improved for certain types of
processing.
To meet these types of requirements, you can use the ColdFusion Extension
Application Programming Interface (CFXAPI) to access ColdFusion functions.
While this chapter documents custom tag development using Microsoft Visual C++,
or Java it is currently also possible to develop them in Inprise’s Delphi.
Contents
• What Are CFX Tags?........................................................................................ 276
• Before You Begin Developing CFX Tags in C++............................................ 276
• Using the Tag Wizard to create CFXs in C++ ................................................ 277
• Compiling C++ CFXs...................................................................................... 277
• Debugging C++ CFXs ..................................................................................... 277
• Before You Begin Developing CFX Tags in Java ........................................... 278
• Writing a Java CFX.......................................................................................... 279
• ZipBrowser Example ...................................................................................... 284
• Approaches to Debugging Java CFXs............................................................ 286
• Java Customization and Configuration........................................................ 289
• Implementing C++ CFX Tags......................................................................... 289
• Implementing Java CFX Tags......................................................................... 289
• Registering CFXs............................................................................................. 289
• C++ CFX Reference......................................................................................... 293
• Java CFX Reference......................................................................................... 311