CHAPTER 12
Building Custom CFXAPI Tags
Sometimes, the best approach to application development is to develop elements of your
application by building executables to run with ColdFusion. Perhaps the application
requirements go beyond what is currently feasible in CFML. Perhaps you can improve application
performance for certain types of processing. Or, you have existing code that already solves an
application problem and you want to incorporate it into your ColdFusion application.
To meet these types of requirements, you can use the ColdFusion Extension Application
Programming Interface (CFX API) to develop custom ColdFusion tags. This chapter documents
custom tag development using Java or C++.
Contents
What are CFX tags? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
Writing a Java CFX tag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
ZipBrowser example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
Developing CFX tags in C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
251
Need help?
Do you have a question about the COLDFUSION MX 61-DEVELOPING COLDFUSION MX and is the answer not in the manual?
Questions and answers