What is your favorite Java class to use with ColdFusion?

This post is more than 2 years old.

OK, this is probably an over-the-top geeky question to ask, but Christopher Ryan suggested it to me earlier today and I thought it would be a great topic. While ColdFusion can do almost anything, there are times when we need to resort to Java in order to do something ColdFusion can't. This can be using another JAR for a feature not implement by ColdFusion, or perhaps just relying on createObject to make an instance of a built-in Java object. So let me ask - which Java class have you found to be the most useful? For me it is StringBuffer. I've only had to use it a few times, but it was incredibly helpful in cases where I was creating a large string on the fly. (Like my toXML CFC.)

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com