ColdFusion MX 7 supports third-party Object Request Brokers (ORBs) through its integration with Borland Visibroker. However, you must acquire the Common Object Request Broker Architecture (CORBA) software separately from Borland.
This section describes the following topics:
You must have all of the following components installed on your computer before you can make CORBA invocations from ColdFusion MX 7:
For more information, see the Borland Visibroker documentation.
-Xbootclasspath/a:"C:/Inprise/vbroker/lib/vbjorb.jar"
, to the JVM Args text box.You only need the JAR file on the computer that is running ColdFusion MX 7; you do not need the full Visibroker installation.
The following is an example of a correctly configured connector:
Field | Value |
---|---|
ORB Name |
visibroker |
ORB Class Name |
coldfusion.runtime.corba.VisibrokerConnector |
Classpath |
(none) |
ORB Property File |
C:\CFusionMX7\lib\vbjorb.properties |
The ORB Property File points to a Java properties file that contains the correct ORB settings for Visibroker.
The contents of the vbjorb.properties file look like the following:
org.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB org.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORB SVCnameroot=namingrootThe CORBA Connectors page appears.
This sets the new connector to be the default.
osagentNote: If you must connect to an osagent in another subnetwork, include the following lines in the vbjorb.properties file:
vbroker.agent.addr=<IP address of machine running OSAGENT> vbroker.agent.port=<port>
irep
command, as in the following example: irep myir MyIDLFile.idl
nameserv namingrootNote: The name of the Naming Service (namingroot in the previous example) must match the value for SVCnameroot in the vbjorb.properties file.
For more information, see the Borland Visibroker documentation.
For more information, see Managing ColdFusion MX 7.
You can now make CORBA invocations from ColdFusion MX 7. For more information about integrating CORBA objects into ColdFusion MX 7, see ColdFusion MX Developer's Guide.