ColdFusion and Java interoperability

I understand that ColdFusion MX is interoperable with Java provided that certain conditions are met. Does anyone know why certain servers which support ColdFusion MX can support Java Servlets and certain servers can not? I thought that if JRun was installed, then Java could be supported...

Thanks for any clarification.

ETA:

I found a good relevant link here...

http://www.adobe.com/devnet/coldfusion/articles/java.html

It suggests that ColdFusion should support servlets. But sometimes it doesn't. Hence my question. Thanks.

Message was edited by:

nantucket

[611 byte] By [nantucketa] at [2007-11-26 18:50:39]
# 1
Google showed: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18132when I searched for "which web server support Java and ColdFusion" Sorry, this is a rare for me.
appy77a at 2007-7-9 6:24:41 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Thanks for your feedback.

The truth is though, that there appears to be no real support in the hosting community for the compatibility of ColdFusion and Java.

I've learned that the Enterprise Edition of ColdFusion is required to allow for direct servlet and Jsp support. The developer edition mirrors the enterprise edition. I downloaded and installed the developer edition on linux, and was able to run a servlet just fine. No issues.

But the hosting companies like Hostmysite and Crystaltech, which are promoted by Adobe on it's website, do not support Java Servlets and JSP's on their servers despite the fact that they are running JRun with CF enterprise on the servers. It makes no sense to me why servlets would be prohibited by "the server team" but that's what technical support tells me in each case.

I have an opportunity to contribute to a website which has been built in ColdFusion. I don't have any desire to work with ColdFusion and was under the impression that I could write Java Servlets for this site. But hosting it is another story unless some virtual dedicated hosting plan is used.

nantucketa at 2007-7-9 6:24:41 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
I worked on CF a long time ago, but I like working with Java. It's very rare to find a host that may support both, you could try to convince the client to go for either a pure CF or a pure Java solution. Or like you said you could host it yourself. Or find another client :-)
appy77a at 2007-7-9 6:24:41 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

I agree. I'm totally satisfied working with Java. Java is what ColdFusion MX is built upon, and therefore it can do everything CF can do and more. And with more control.

I don't mean to start a Cold Fusion rant. And it seems to me that Adobe has done all it can to make the two development technologies interoperable. Like I said, it installs and works fine on my own machine. I didn't write CF code to run the servlet, I just ran it. But if the hosting community insists on fighting the Cold War, what can you do? Yeah, find another client I guess.

I mean, what's the purpose of JRun other than to function as a servlet engine? I don't get it. I don't understand what the issue is.

nantucketa at 2007-7-9 6:24:41 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5

> I mean, what's the purpose of JRun other than to

> function as a servlet engine? I don't get it. I

> don't understand what the issue is.

JRun is just like other servers such as Weblogic, Websphere, Tomcat, Resin etc at the basic level all web servers conform or at least must conform to the current Servlet Spec.

In addition to the servlet spec they provide their own proprietary extensions etc.

I guess if you find a Host provider that runs JRun then they might allow Java code too.

appy77a at 2007-7-9 6:24:41 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...