Integrating Com And Corba Objects In Cfml Applications - Adobe COLDFUSION 9 Manual

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Using Web Elements and External Objects
4
Repeat steps 2 and 3 to select multiple groups of classes and set their passing methods.
Click OK.
5
Determining and changing the .NET version
If you get errors when using a .NET object in your application, you could have version issues. For example, many
Microsoft system classes were added in .NET Version 2.0, including System.IO.DriveInfo and
System.Net.NetworkInformation.Ping. For examples of these classes in applications, see
page 1163 and
"Example: Using a .NET class
Use the following function to get the current .NET version:
<cffunction name="GetDotNetVersion" returntype="string">
<cfset var seClass="">
<cfobject type=".NET" name="seClass" class="System.Environment">
<cfreturn seClass.Get_Version().ToString()>
</cffunction>
If the function reports that the active version is not the one you require, install or reinstall the correct version of the
.NET framework redistributable package on the system that runs ColdFusion. Then reinstall the ColdFusion .NET
extension so that it uses the correct .NET version.
Running the .NET extension agent as an application
The ColdFusion .NET extension installer configures the .NET-side extension agent to run automatically as the
ColdFusion .NET service. You can also run the .NET extension agent as an application.
Run the .NET extension agent as an application
1
Ensure that you stopped the ColdFusion .NET service, if it was running.
Open a command prompt window and navigate to the jnbridge directory. On a stand-alone ColdFusion server
2
configuration, this directory is installDir\jnbridge. On a system with a stand-alone .NET extension installation, or
a J2EE or multiserver configuration, it is in the .NETInstallDir\jnbridge directory, and the default installation
directory is C:\ColdFusonDotNetExtension.
Enter the following command:
3
JNBDotNetSide
Integrating COM and CORBA Objects in CFML
Applications
You can invoke COM (Component Object Model) or DCOM (Distributed Component Object Model) and CORBA
(Common Object Request Broker) objects.
About COM and CORBA
Adobe ColdFusion supports access to COM and CORBA objects, which can be used in many applications.
directly" on page 1165, respectively.
Last updated 8/5/2010
"Using .NET
objects" on
1170

Advertisement

Table of Contents
loading

Table of Contents