Executing Java in CF

2011-09-26 Thread Robert Harrison

Hi,

I'm having no luck finding this documentation, maybe someone know off the top 
of their head.   I have some server sided java code I need to execute in a 
coldfusion page. That may call either a .war or .jar file. 

How do I specify in the CF page that a portion of the code is JAVA?

Thanks,
Robert



Robert B. Harrison
Director of Interactive Services
Austin  Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be .

Plug in to our blog: AW Unplugged
http://www.austin-williams.com/unplugged


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347705
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Executing Java in CF

2011-09-26 Thread Russ Michaels

make sure the java class files are loaded by CF, stick them in the lib
folder for example then restart cf, then check in the cf info page in
the cfadmin and see if they loaded, then you will be able to call the
functions using CreateObject(java) just as u would any of the built in
java functions.

On Mon, Sep 26, 2011 at 4:25 PM, Robert Harrison
rob...@austin-williams.com wrote:

 Hi,

 I'm having no luck finding this documentation, maybe someone know off the top 
 of their head.   I have some server sided java code I need to execute in a 
 coldfusion page. That may call either a .war or .jar file.

 How do I specify in the CF page that a portion of the code is JAVA?

 Thanks,
 Robert



 Robert B. Harrison
 Director of Interactive Services
 Austin  Williams
 125 Kennedy Drive, Suite 100
 Hauppauge NY 11788
 P : 631.231.6600 Ext. 119
 F : 631.434.7022
 http://www.austin-williams.com

 Great advertising can't be either/or.  It must be .

 Plug in to our blog: AW Unplugged
 http://www.austin-williams.com/unplugged


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347708
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Executing Java in CF

2011-09-26 Thread Larry Lyons

make sure the java class files are loaded by CF, stick them in the lib
folder for example then restart cf, then check in the cf info page in
the cfadmin and see if they loaded, then you will be able to call the
functions using CreateObject(java) just as u would any of the built in
java functions.



Also don't forget that there is the javaloader cfc. It lets you put the class 
library wherever you want it without restarting cf.

http://www.compoundtheory.com/?action=displayPostID=117 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347723
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm