<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>CFOBJECT</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="Description">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">CFOBJECT</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Description</span>
<p>
Creates a ColdFusion object, of a specified type.
</p>
<table>
  <tr valign="top">
    <td width="30"><strong>Note: </strong></td>
    <td>You can enable and disable this tag in the ColdFusion Administrator page, under ColdFusion Security, Sandbox Security.</td>
  </tr>
</table>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Category</span>
<p>
Extensibility tags
</p>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="syntax"><span class="title">Syntax</span>
<p>
The tag syntax depends on the object type. Some types use the type attribute; others do not. See the following sections:
</p>
<ul>

<li>"cfobject: COM object" on&#160;page&#160;565</li>

<li>"cfobject: component object" on&#160;page&#160;567</li>

<li>"cfobject: CORBA object" on&#160;page&#160;568</li>

<li>"cfobject: Java or EJB object" on&#160;page&#160;570</li>

<li>"cfobject: web service object" on&#160;page&#160;572</li>
</ul>
<table>
  <tr valign="top">
    <td width="30"><strong>Note: </strong></td>
    <td>On UNIX, this tag does not support COM objects.</td>
  </tr>
</table>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">See also</span>
<p>
cfargument, cfcomponent, cffunction, cfinvoke, cfinvokeargument, cfproperty, cfreturn; "Using Java objects" in Chapter&#160;37, "Integrating J2EE and Java Elements in CFML Applications," in ColdFusion MX Developer's Guide
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">History</span>
<p>
ColdFusion&#160;MX: 
</p>
<ul>

<li>Changed instantiation behavior: this tag, and the CreateObject function, can now instantiate ColdFusion components (CFCs); you can use them within the cfscript tag. </li>

<li>For CORBA object: changed the Naming Service separator format for addresses from a dot to a forward slash. For example, if &quot;context=NameService&quot;, for a class, use either of the following formats for the class parameter:</li>
<ul>

<li>&quot;Macromedia/Eng/CF&quot; </li>

<li>&quot;Macromedia.current/Eng.current/CF&quot; </li>

<p>
(In earlier releases, the format was &quot;Macromedia.Eng.CF&quot;.)
</p>
    </td>
  </tr></ul>

<li>For CORBA object: changed the locale attribute; it specifies the Java configuration that contains the properties file.</li>
</ul>

         </td>
      </tr>
   </table>
   </div>

  </body>
</html>
