Until someone sheds some more light on the new functionality in 
createObject I found a simple udf on Dan Switzer's blog here:
http://blog.pengoworks.com/index.cfm/2006/6/27/A-ColdFusion-UDF-For-Dynamically-Loading-Java-Classes
 
I had to comment out the parentclassloader argument out and modify the line 
that uses it, but otherwise it's working fine.

On Monday, June 11, 2012 9:07:39 PM UTC-7, Aaron J. White wrote:
>
> Hello Guys, 
>
> I just recently started using jar files to extend the functionality of 
> cfml. Today I figured that it would make sense to include the jars I 
> am using within my app's path instead of throwing the jar file in the 
> server's lib folder. I read a few articles on Ben Nadel's site about 
> the URL class loader and looked into Mark Mendel's javaloader.cfc, but 
> Mark's solution definitely looked like overkill for me. My app will 
> probably not use over 2-3 custom jars. 
> Anyone have a solution they could suggest? I didn't notice any special 
> functionality in the OpenBD manual, but it wouldn't be the first time 
> I missed a hidden gem. 
>
> Thanks again, 
> Aaron 
>

-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

Reply via email to