Coldfusion and Java

I have recently been doing some work with java, making a contacts manager.

I was just wondering what people thought about using java with coldfusion?

Does it give any advantages?

Is it easy to integrate the two?

Just want a few opinions really.

Comments
Steve Brownlee's Gravatar Yes, I can provide some advantages, but that's a large discussion. It can provide speed advantages in many cases, and - as part of your other question - can integrate your ColdFusion application into an existing Java architecture (if it exists).

It is easy to integrate the two.
# Posted By Steve Brownlee | 08/01/09 17:27
Ben Nadel's Gravatar I use Java objects in ColdFusion all the time. The CreateObject( "java" ) method makes it really easy; and, as long as you consistently use JavaCast() when passing in arguments, there is rarely every a problem.
# Posted By Ben Nadel | 08/01/09 17:32
Kumar's Gravatar Similarly to what Ben said, we have used Java objects in ColdFusion to perform certain tasks. Dan Vega recently made a post in which he is using the Java File Component for Directory/File Browsing.
http://www.danvega.org/blog/index.cfm/2009/1/6/Rea...

Similarly, other Java classes can be leveraged for some good use.
# Posted By Kumar | 08/01/09 18:37
Jeremy P's Gravatar Since CF is build on Java, it's very easy/handy to use it. I recently had to "drop down" into Java to connect to a server via tcp/ip with Java sockets.
# Posted By Jeremy P | 09/01/09 00:00
Henry Ho's Gravatar I'm more interested in writing Groovy with CFGroovy. I think you may want to look into that as well.
# Posted By Henry Ho | 09/01/09 01:41

Archives By Subject

Advertising (4) [RSS]
Blog Design (1) [RSS]
CFProject Scripts (2) [RSS]
Coldfusion Charts (3) [RSS]
Coldfusion Functions (5) [RSS]
Coldfusion Overview (1) [RSS]
Coldfusion Tutorials (16) [RSS]
For Sale (2) [RSS]
Image Manipulation (1) [RSS]
Java (1) [RSS]
JavaScript (4) [RSS]
PHP (1) [RSS]
Railo (4) [RSS]
SQL (1) [RSS]
Useful Tools (3) [RSS]

Recent Comments

Simple Coldfusion Upload Script
Alban said: Here is the error I get on the cffile line: String index out of range: -1 [More]

Coldfusion 8 Functions
Mark said: Can Cold Fusion do math functions similar to say Excel? I need to make several calculations, and if ... [More]

BlogCFC on Railo
iphone clone said: Thanks for sharing [More]

Coldfusion Protx VSP Form Integration Kit
confinedspace said: @Dom: Cheers for that - helped me out. Just one thing to note, I would add "all" as a thir... [More]

Coldfusion to PHP?
Jonny Shaw said: PHP is very similar to most other OOP languages, which i am quite familiar with, so it wasn't really... [More]

Recent Entries

No recent entries.
ColdFusion Blog | ColdFusion Hosting | ColdFusion Q & A