<p>In the 2018 release of ColdFusion, there is a handy way to create objects in ColdFusion. The snippet below illustrates how you can use the new operator to create different type of objects. //ColdFusion Component obj = new component(“path.to.cfc”) obj.init() // Java obj = new java(“java.class”) obj.init() // WebService obj = new webservice(“http://webservice?wsdl”, {“webservice”: “parameters”}) Similarly, you can use the new operator to create com, CORBA, and .NET objects as well.</p>
<p>The post <a rel="nofollow" href="https://coldfusion.adobe.com/2018/07/enhanced-support-for-new-operator/">Enhanced Support For New Operator</a> appeared first on <a rel="nofollow" href="https://coldfusion.adobe.com">ColdFusion</a>.</p>
Comments: