Responders to the question know, of course, that ColdFusion is a Java EE application and can access all underlying Java classes, supports JSP custom tag libraries, etc. But what I want to know is when to write code in Java, compile it as a JAR, and reference it in CFML.
This is all in the context of a CF MVC app written in a framework like Fusebox, Mach-II, or Model-Glue.