I know it is possible to instantiate a Java class from ColdFusion, but is it possible to instantiate a ColdFusion CFC from Java code?
For instance (in Java):
ColdFusionCFC obj = new ColdFusionCFC("filename.cfc");
I am wondering if it is possible to gradually transition away from an existing ColdFusion codebase to some other JVM-based language without needing to rewrite everything right away.
Calling ColdFusion CFCs from Java is a feature of ColdFusion 10. If you're not using CF10, you can call CFCs with remote functions as an HTTP web service.