re-visit CreateObject() that will allow you to fire up the java objects that you'll use in the package
<cfset jFileIn = createObject("java","java.io.File").init(ARGUMENTS.FileLoc)>
as far as getting CF to recognize your Java package....if you're on Windows then just drop the JAR or CLASS files in the <install drive>\cfusionmx\cfx\java directory and cycle the CF services...in CF Admin you should then see your JAR/CLASS file(s) listed on the settings page (big list of Java stuff that CF can see).
HTH
Cheers
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]
---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com
---------------------------------------------------------
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
----- Original Message -----
From: Jeff Chastain
To: CF-Talk
Sent: Thursday, March 11, 2004 8:43 AM
Subject: CFMX & Java API
I have a Java based application API (Plumtree Software's EDK) that I would
like to access using ColdFusion. The problem is my Java is a bit rusty to
say the least. Can anybody offer some pointers as to where I would start in
attempted to instantiate a Java package (hopefully this is the right
terminology) using CFMX 6.1?
Thanks
-- Jeff
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- CFMX & Java API Jeff Chastain
- Re: CFMX & Java API Massimo Foti
- RE: CFMX & Java API Bryan Stevenson
- RE: CFMX & Java API Jeff Chastain