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 (17) [RSS]
For Sale (2) [RSS]
Image Manipulation (1) [RSS]
Java (1) [RSS]
JavaScript (4) [RSS]
PHP (1) [RSS]
Railo (2) [RSS]
SQL (1) [RSS]
Useful Tools (3) [RSS]

Recent Comments

Hashing Passwords
Richard Lord said: You really need to salt the passwords before hashing them, otherwise you're exposed to a rainbow-tab... [More]

Using Railo and Resin with domain aliases
Jonny Shaw said: Thanks for that. I am already using <host regexp="(.+)"> <host-name>${ho... [More]

Using Railo and Resin with domain aliases
Gert Franz said: Hi Jonny, it's even easier if you do it this way: <host id="allmead.com" root-dir... [More]

BlogCFC on Railo
Jonny Shaw said: Thanks for the advice ray. I was surprised at how easily BlogCFC went accross to to railo. The onl... [More]

BlogCFC on Railo
Gert Franz said: Congratulations to your new websites. I just wanted to add two things: CFIMAGE and CFCHART are suppo... [More]

Recent Entries

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