Getting Started With Corba; Creating And Using Corba Objects; Creating Corba Objects - MACROMEDIA COLDFUSION MX 61-DEVELOPING COLDFUSION MX Develop Manual

Developing coldfusion mx applications
Table of Contents

Advertisement

Getting started with CORBA

The ColdFusion
Dynamic Invocation Interface (DII). As with COM, the object's type information must be
available to ColdFusion. Therefore, an IIOP-compliant Interface Repository (IR) must be
running on the network, and the object's Interface Definition Language (IDL) specification must
be registered in the IR. If your application uses a naming service to get references to CORBA
objects, a naming service must also be running on the network.
ColdFusion loads ORB runtime libraries at startup using a connector, which does not tie
ColdFusion customers to a specific ORB vendor. ColdFusion currently includes connectors for
the Borland Visibroker 4.5 ORB. The source necessary to write connectors for other ORBs is
available under NDA to select third-party candidates and ORB vendors
You must take several steps to configure and enable CORBA access in ColdFusion. For detailed
instructions, see Installing and Using ColdFusion MX.
Note: When you enable CORBA access in ColdFusion, one step requires you to start the Interface
Repository using an IDL file. This file must contain the IDL for all the CORBA objects that you invoke
in ColdFusion applications on the server.

Creating and using CORBA objects

The following sections describe how to create, or instantiate, a CORBA object and how to use it
in your ColdFusion application.

Creating CORBA objects

The
tag and
cfobject
the CORBA object on the remote server. You use this stub object to invoke the remote object.
The following table describes the attributes you use in the
object:
Attribute
Description
type
Must be CORBA
context
Specifies the CORBA binding method, that is, how the object is obtained, as follows:
class
Specifies the information required for the binding method to access the object.
If you set the
pathname of a file containing the string version of the IOR. ColdFusion must be able
to read this IOR file at all times, so make it local to the server or put it on the network
in an accessible location.
If you set the context attribute to
delimited by forward slashes (/), such as MyCompany/Department/Dev. You can
use period-delimited "kind" identifiers as part of the class attribute; for example,
Macromedia.current/Eng.current/CF"
tag and
cfobject
CreateObject
functions create in ColdFusion a stub, or proxy object, for
CreateObject
.
COM is the default.
Uses a file containing the object's unique Interoperable Object Reference.
IOR
Uses a naming service.
NameService
attribute to
context
function support CORBA through the
tag to create a CORBA
cfobject
, The
attribute must be to the full
IOR
class
, The
NameService
class

Creating and using CORBA objects

attribute must be a name
777

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents