As we all know, ColdFusion has lots of features for website development and it also flexible. So, we can use it with other Programming Languages like Java & .Net. Here are some information about how ColdFusion interacts with them.


ColdFusion Interacts with Java

The standard ColdFusion installation allows the operation of ColdFusion as a WAR file or EAR file for operate to standalone application servers, such as Macromedia JRun, and IBM WebSphere. ColdFusion can also be deployed to servlet containers such as Apache Tomcat and Mortbay Jetty, but because these platforms do not support ColdFusion officially, they leave many of its features inaccessible.

Because ColdFusion is a Java EE application, ColdFusion code can be mixed with Java classes to create a variety of applications and utilize existing Java libraries. ColdFusion has access to all underlying Java classes, supports JSP custom tag libraries, and can access JSP functions after retrieving the JSP page context (GetPageContext()).

Prior to ColdFusion 7.0.1, ColdFusion components could only be used by Java or .NET by declaring them as web services. However, beginning in ColdFusion MX 7.0.1, ColdFusion components can now be utilized directly within Java classes using the CFCProxy class.
Recently, there has been much interest in Java development using alternate languages such as Jython, Groovy and JRuby. ColdFusion was one of the first scripting platforms to allow this style of Java development.

Although These facilities provided by ColdFusion. It has also some limitations to ColdFusion's ability to offer Java scripting:
  • ColdFusion MX 6.1 did not support usage of null value method parameters
  • Lack of Bean Scripting Framework plugin support
  • one cannot extend Java classes in ColdFusion

ColdFusion Interacts with .Net

ColdFusion 8 natively supports .NET within the (ColdFusion MarkUp Language)CFML syntax. ColdFusion developers can simply call any .NET assembly without needing to recompile or alter the assemblies in any way. Data types are automatically translated between ColdFusion and .NET (example: .NET DataTable → ColdFusion Query).

A unique feature for a J2EE vendor, ColdFusion 8 offers the ability to access .NET assemblies remotely through proxy (without the use of .NET Remoting). This allows ColdFusion users to leverage .NET without having to be installed on a Windows operating system.

The move to include .NET support in addition to the existing support for Java, CORBA and COM is a continuation of Adobe ColdFusion's agnostic approach to the technology stack. ColdFusion can not only bring together disparate technologies within the enterprise, but can make those technologies available to a number of clients beyond the web browser including, but not limited to, the Flash Player, Adobe Integrated Runtime (AIR), Mobile devices (SMS), Acrobat Reader (PDF) and IM gateways.


More Information visit ColdFusion Development Services.

0 comments