I've had this conversation with a member of the community for a few days and 
it's been going in a circle without resolve. Here's the issue. The CFCProxy 
documentation says that 
"To call a CFC, you need to be within the ColdFusion web application. This 
means that ColdFusion's classloader must be the current classloader."
When I asked how does one start a class with CF's classloader as the current 
classloader, the answer was that the Java Class has to be loaded with the same 
J2EE context. So I then asked how does one load a class with the same J2EE 
context as ColdFusion. 

Bottom line from all this is that my understanding is that you can only use 
CFCProxy in a Java class that is called from ColdFusion. This seems a waste to 
me as your using CF to call a Java class that will in turn call a CFC. I hope 
I'm wrong. I hope there's a way to call a java class making use of a CFCProxy 
from outside of CF. That would be both super cool and useful as hell. 

Can anyone comment on this? Can a java class be called with CF's classloader 
without it being called from within CF? 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219844
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to