Great! Here are the steps: Put the java source on your web root and change the .java to .jws
Then call it like a web service with ?wsdl so its helloWorld.jws?wsdl Now if all went well then your class is hanging inside the jwsClasses directory. You then have go out and pull that class inside CF. You said you are already pulling classes in with a URL classloader, so just give it that directory and you are done! <cfset DansArray[1] = createObject("java","java.net.URL ").init("file:C:\CFusionMX7\wwwroot\WEB-INF\jwsClasses\")> <cfset GetObject = createObject("java", " coldfusion.bootstrap.BootstrapClassLoader ").SystemClassLoader.newInstance(DansArray).loadClass("helloWorld").newInstance()/> If you leave out .newInstance() you can start to play around with reflection and make a class dumper. On 10/9/06, Ben Nadel <[EMAIL PROTECTED]> wrote: > > Dan, > > I appreciate that, but here is what I just read "Blah blah blah blah > blah". I have NO IDEA what you are talking about. This is Day One Java > for me :) What is JWS? What is bootstrapping? > > I have stuff compiling right now in 1.4.2 so, don't feel any pressure to > go more in depth. But if you do, I am willing to learn. > > Thanks, > Ben > > ...................... > Ben Nadel > Certified Advanced ColdFusion Developer > www.bennadel.com > > > -----Original Message----- > From: Dan Plesse [mailto:[EMAIL PROTECTED] > Sent: Monday, October 09, 2006 1:50 PM > To: CF-Talk > Subject: Re: Compiling Java / Error > > Ben, > > Why don't you compile it with coldfusion via jws and then > classload it via coldfusion bootstrap? > > I would alway keep code in each class to keep > > private static final long serialVersionUID = > 1820017752578914078L; > > from having those errors. > > Dan > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256069 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4