Getting Started With Corba; Calling Corba Objects; Declaring Structures And Sequences - MACROMEDIA COLDFUSION 5-DEVELOPING Develop Manual

Table of Contents

Advertisement

376

Getting Started with CORBA

The ColdFusion
Interface (DII). As with COM, the object's type information has to be available to
ColdFusion. This requirement implies that an IIOP-compliant Interface Repository
(IR) should be running on the network, and that the object's Interface Definition
Language (IDL) specification must be registered in the IR.
ColdFusion 5 loads ORB runtime libraries dynamically using a connector.
Macromedia provides connectors for some of the popular ORBs. Each of these
connectors requires the ORB runtime libraries provided by the vendor. You must
license the libraries from the appropriate vendor before deploying them. You
manage the connectors on the CORBA Connectors page of the ColdFusion
Administrator Server tab. Using this page, you can add a connector and specify the
location of the ORB library. For more information, see Installing and Configuring
ColdFusion Server.

Calling CORBA Objects

In the
objects:
For the complete

Declaring structures and sequences

After you create the object, you can invoke attributes and operations on the object
using the syntax outlined in the previous sections. ColdFusion also supports the use
of complex types such as structures and sequences. For structures, use ColdFusion
structures; for sequences, use ColdFusion arrays.
cfobject
tag, you must specify the following attributes when calling CORBA
cfobject
Set the
attribute to
type
The
attribute shows how the object reference is obtained. Set
context
for a file containing the object's unique Interoperable Object Reference or to
IOR
.
NameService
If you set the
context
containing the stringified version of the IOR. ColdFusion must be able to read
this IOR file at all times, so make it local to the server or on the network in an
accessible location.
If you set the
context
a period-delimited name, such as MyCompany.Department.Dev. Currently,
ColdFusion can only resolve objects registered in a CORBA 3.0-compliant
naming service. Make sure that the naming service (NS) is brought-up with a
default naming context. The server implementing the object should bind to the
default context, and register the appropriate name. ColdFusion also binds to the
default context to resolve the name.
Set the
attribute to the name that your application uses to call the object's
name
operations and attributes.
cfobject
Chapter 20 Using cfobject to Invoke Component Objects
tag supports CORBA through the Dynamic Invocation
. If no
is specified, COM is assumed.
CORBA
type
attribute to
, set the
IOR
attribute to
NameService
syntax, see the CFML Reference.
attribute to the file
class
, the
attribute must include
class
to
context

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 5-DEVELOPING and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion 5

Table of Contents