Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at Scotch On The Rocks (SOTR) 2011 (Edinburgh) with:

Loading Java Classes on the Fly

Posted by Ben Nadel
Tags: ColdFusion

I remember probably a year ago, I started to really understand some of the benefits that ColdFusion had being built ontop of Java. Specifically, the power and speed of Java string manipulation that ColdFusion just couldn't match. I was really getting into Regular Expressions and Java seemed to be where "it" was at.

It was about that time that I attended a NYCFUG meeting about Java and Java Beans. During the presentation, it was demonstrated that the Java equivalent classes out performed the ColdFusion components (CFCs) by orders of magnitude. I had recently read a brief thing about Java Class Loaders or URL loaders or some such thing. Dismayed that the speaker did not know what I was talking about (and frustrated that I didn't know enough to fully explain myself), I was left to fantasize about super java-based classes that I would write that would turn their noses up at my old shoddy CFC construction.

I never really figured out how to load java classes on the fly. Since then, I have read several articles and blog entries on the topic and am fully aware that it is possible... but, I just can't motivate to do it. I guess the reason is that ColdFusion is just too easy and the stuff I am writing just doesn't have to perform to that degree of perfection. I like not having to worry about array lengths. I like that i can divide an integer and get floats automatically. I like that "00:15" is a DATE just like July 4, 2005 is, just like 3 is. Its too easy, which in turns make me happy and my programming better.




Reader Comments

This appears to have no point whatsoever, it's like listening to someone babbling to themself.

Reply to this Comment

Post A Comment

?
You — Get Out Of My Dreams, Get Into My Comments
Live in the Now
Oops!
Comment Etiquette: Please do not post spam. Please keep the comments on-topic. Please do not post unrelated questions or large chunks of code. And, above all, please be nice to each other - we're trying to have a good conversation here.