User Guide

Table Of Contents
945
CHAPTER 38
Integrating COM and CORBA Objects in
CFML Applications
This chapter describes how to use the cfobject tag to invoke COM (Component Object Model)
or DCOM (Distributed Component Object Model) and CORBA (Common Object Request
Broker) objects.
Contents
About COM and CORBA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 945
Creating and using objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 947
Getting started with COM and DCOM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 948
Creating and using COM objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 951
Getting started with CORBA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 961
Creating and using CORBA objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 961
CORBA example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 969
About COM and CORBA
This section provides some basic information on COM and CORBA objects supported in
Macromedia ColdFusion MX and provides resources for further inquiry.
About objects
COM and CORBA are two of the object technologies supported by ColdFusion MX. Other
object technologies include Java and ColdFusion components. For more information on
ColdFusion components see Chapter 10, “Building and Using ColdFusion Components,” on
page 201.
An object is a self-contained module of data and its associated processing. An object is a building
block that you can put together with other objects and integrate into ColdFusion code to create
an application.
An object is represented by a handle, or name. Objects have properties that represent information.
Objects also provide methods for manipulating the object and getting data from it. The exact
terms and rules for using objects vary with the object technology.