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,

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.

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.

Re: What is the version of Java SDK CF should use?

2010-05-13 Thread Matthew Williams
It would sure be handy if Adobe would update their FAQ page with the most current supported of Java... it's hard to justify moving to version XXX if it's not officially supported by Adobe. Matthew Williams Geodesic GraFX www.geodescigrafx.com/blog

Re: What is the version of Java SDK CF should use?

2010-05-13 Thread Dave Watts
It would sure be handy if Adobe would update their FAQ page with the most current supported of Java... it's hard to justify moving to version XXX if it's not officially supported by Adobe. They only do that if they've tested the new JVM, which doesn't happen in most cases. Dave Watts, CTO,

RE: What is the version of Java SDK CF should use?

2010-05-13 Thread DURETTE, STEVEN J (ATTASIAIT)
. The responsibility lies both with the automaker and the parts manufacturer. Just my .02. Feel free to ignore. -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Thursday, May 13, 2010 1:13 PM To: cf-talk Subject: Re: What is the version of Java SDK CF should use

Re: What is the version of Java SDK CF should use?

2010-05-13 Thread Matthew Williams
Right... I'm thinking back to the release of 8 (or 8.01) with an early version of JVM 6. This JVM had known issues with classes and such with CFC and memory scope intensive apps. Did Adobe every officially support _10 or so that fixed that? In addition, security fixes do eventually come

Re: What is the version of Java SDK CF should use?

2010-05-13 Thread Sean Corfield
On Thu, May 13, 2010 at 10:55 AM, Matthew Williams mai...@geodesicgrafx.com wrote: Right... I'm thinking back to the release of 8 (or 8.01) with an early version of JVM 6.  This JVM had known issues with classes and such with CFC and memory scope intensive apps. Functionally, the supported

What is the version of Java SDK CF should use?

2010-05-12 Thread Nathan Chen
All: I am using CF 8 and the System Info page shows the Java Version is 1.6.0_01 and Java VM Version is 1.6.0_01b-06. Is that the latest java CF should use? If not, what's the latest one? Is it the Version 6 Update 20 on java.com? Nathan Chen

RE: What is the version of Java SDK CF should use?

2010-05-12 Thread brad
I would recommend anything later than updater 10. Just make sure you get the JDK and not just the JRE. I'm using 1.6.0_12 on my CF8 servers. ~Brad Original Message Subject: What is the version of Java SDK CF should use? From: Nathan Chen nathan.c...@cu.edu Date: Wed, May 12

Re: What is the version of Java SDK CF should use?

2010-05-12 Thread Jason Fisher
Original Message Subject: What is the version of Java SDK CF should use? From: Nathan Chennathan.c...@cu.edu Date: Wed, May 12, 2010 4:08 pm To: cf-talkcf-talk@houseoffusion.com I am using CF 8 and the System Info page shows the Java Version is 1.6.0_01 and Java VM Version

RE: Version of Java for CF and Adobe's Suite of products?

2007-08-28 Thread Dave Watts
What's the benefit of using _13 over _11? I need something to through at management to cover the why questions. Well, each version fixes bugs in previous versions. If 11 is working fine for you, though, there's no specific reason I can give you to upgrade. Dave Watts, CTO, Fig Leaf Software

RE: Version of Java for CF and Adobe's Suite of products?

2007-08-27 Thread Dave Watts
I don't want to just update to the latest ersion of Java without having an idea of what Adobe recommends. Does anyone have any idea? That is a very general question. Different versions of different Adobe products use and support different JVMs. ColdFusion 7 comes with JVM 1.4.2_09, and

RE: Version of Java for CF and Adobe's Suite of products?

2007-08-27 Thread Justin Scott
That is a very general question. Different versions of different Adobe products use and support different JVMs. ColdFusion 7 comes with JVM 1.4.2_09, and supports 1.4.2_13 or earlier. ColdFusion 8 Hi Dave, is there documentation on CF7 supporting _13 somewhere? The last I remember seeing in

RE: Version of Java for CF and Adobe's Suite of products?

2007-08-27 Thread Dave Watts
Hi Dave, is there documentation on CF7 supporting _13 somewhere? The last I remember seeing in the feature matrix was _11, but if a newer version is supported we'd like to check it out. I believe the latest version listed on the Adobe site is 11, but when talking to some (relatively

Re: Version of Java for CF and Adobe's Suite of products?

2007-08-27 Thread Matthew Williams
What's the benefit of using _13 over _11? I need something to through at management to cover the why questions. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| ColdFusion is delivering applications solutions at

Version of Java for CF and Adobe's Suite of products?

2007-08-23 Thread coldfusion . developer
I don't want to just update to the latest ersion of Java without having an idea of what Adobe recommends. Does anyone have any idea? Thanks D ~| Enterprise web applications, build robust, secure scalable apps today - Try it

RE: upgrade java in CF

2007-03-20 Thread Steve Brownlee
it for two weeks without a hitch. http://www.houseoffusion.com/groups/CF-Talk/thread.cfm/threadid:42504 Steve Brownlee http://www.fusioncube.net/ -Original Message- From: Nathan Chen [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 5:59 PM To: CF-Talk Subject: upgrade java

RE: upgrade java in CF

2007-03-20 Thread Robertson-Ravo, Neil (RX)
But you have also rendered your install unsupported by adobe. -Original Message- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: 20 March 2007 12:09 To: CF-Talk Subject: RE: upgrade java in CF There are a few features of ColdFusion fetures that have a problem running on any

RE: upgrade java in CF

2007-03-20 Thread Steve Brownlee
Yes, of course, that's been noted earlier in the thread. -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 8:10 AM To: CF-Talk Subject: RE: upgrade java in CF But you have also rendered your install unsupported by adobe

RE: upgrade java in CF

2007-03-20 Thread Robertson-Ravo, Neil (RX)
Indeed, but surely then the risk of something not working and you not getting any help/support is too great to ignore? -Original Message- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: 20 March 2007 12:17 To: CF-Talk Subject: RE: upgrade java in CF Yes, of course, that's been

RE: upgrade java in CF

2007-03-20 Thread Steve Brownlee
java in CF Indeed, but surely then the risk of something not working and you not getting any help/support is too great to ignore? -Original Message- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: 20 March 2007 12:17 To: CF-Talk Subject: RE: upgrade java in CF Yes

RE: upgrade java in CF

2007-03-20 Thread Steve Brownlee
://www.fusioncube.net/ -Original Message- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 8:09 AM To: CF-Talk Subject: RE: upgrade java in CF There are a few features of ColdFusion fetures that have a problem running on any newer JVM than 1.4.2 (URL

Re: upgrade java in CF

2007-03-20 Thread Sana Ullah
Hi, JVM 1.5 flex services will not work and also if you calling your CFC remotely will not work; I mean you cannot call your CFC in url like this http://localhost/test.cfc [you will have servlet error] webservice stub loader having problem with JVM 1.5: web config connector having problem will

Re: upgrade java in CF

2007-03-20 Thread Ryan Stille
Andrew Scott wrote: With all this talk about upgrading the java runtime, what is the process in doing so. Is it just a simple matter of backing up the lib directory and dropping the new libs in there? Andrew Scott I wrote up a HowTo a few weeks ago:

upgrade java in CF

2007-03-19 Thread Nathan Chen
Hi, All: Does anyone know if it is ok to upgrade the current Java version(1.4.2_09) to the newest java 1.5.0_06? My network security guys found a vulnerability on my CF server and would like to upgrade to 1.5.0_06. Does anyone know the upgrade will affect anything? Nathan Chen

Re: upgrade java in CF

2007-03-19 Thread Mark Mandel
Yes, ColdFusion MX is not supported on Java 1.5 Mark On 3/20/07, Nathan Chen [EMAIL PROTECTED] wrote: Hi, All: Does anyone know if it is ok to upgrade the current Java version(1.4.2_09) to the newest java 1.5.0_06? My network security guys found a vulnerability on my CF server and

RE: upgrade java in CF

2007-03-19 Thread Phillip Duba
Nathan, ColdFusion is not supported on 1.5. I believe the highest you can go to is 1.4.2_11. HTH, Phil -Original Message- From: Nathan Chen [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 5:59 PM To: CF-Talk Subject: upgrade java in CF Hi, All: Does anyone know if it is ok

Re: upgrade java in CF

2007-03-19 Thread Nicholas M Tunney
Message- From: Nathan Chen [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 5:59 PM To: CF-Talk Subject: upgrade java in CF Hi, All: Does anyone know if it is ok to upgrade the current Java version(1.4.2_09) to the newest java 1.5.0_06? My network security guys found

RE: upgrade java in CF

2007-03-19 Thread Andrew Scott
With all this talk about upgrading the java runtime, what is the process in doing so. Is it just a simple matter of backing up the lib directory and dropping the new libs in there? Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613  8676 4223 Mobile: 0404 998

Re: upgrade java in CF

2007-03-19 Thread Nicholas M Tunney
For multi server instance, you simply install the new JRE to a directory in the filesystem. Then, open jvm.config in your bin directory and point the java.home variable to the new path. Then, restart your cf server. MAKE SURE TO BACK UP JVM.CONFIG BEFORE MAKING THIS CHANGE just in case

Re: Java to CF translation

2007-03-11 Thread Duncan Loxton
Andrew, Are you saying that I can almost directly copy and paste that java example into a cfscript block? What you have in this email seems to be a copy of the wiki example... Duncan, This is off the top of my head, but you would be best to do it this way, and remember cfdump is your friend

Re: Java to CF translation

2007-03-11 Thread Duncan Loxton
Sorry - on closer examination that isnt the case. I will get back to you and we can see if this is more on the right lines. Andrew, Are you saying that I can almost directly copy and paste that java example into a cfscript block? What you have in this email seems to be a copy of the wiki

Re: Java to CF translation

2007-03-11 Thread Duncan Loxton
andrew, Thanks for the push here is what I ended up with: cfif f.getChangedPaths().size() gt 0 cfset changedPathsSet = f.getChangedPaths().keySet() cfset changedPaths = changedPathsSet.iterator()

Re: Java to CF translation

2007-03-09 Thread Andrew Scott
Duncan, This is off the top of my head, but you would be best to do it this way, and remember cfdump is your friend here too. script for ( Iterator entries = logEntries.iterator( ); entries.hasNext( ) ; ) { logEntry = entries.next( ); WriteOutput(

Re: Java to CF translation

2007-03-09 Thread Oğuz Demirkapı
I am working on a project where I translate CF into Java (JSP 2.x - BEA WL). Any tips would be appreciated! :-) ~~~ Oğuz Demirkapı TeraTech Inc. | Senior Developer 405 East Gude Dr Suite 207, Rockville, MD 20850, USA Voice: +1 (301

Java to CF translation

2007-03-08 Thread Duncan
I am working on a small page for our intranet, printing out a complete history of a repository history. I have been taking some leaves out of CFDIFF (Thanks to Rick Osborne for doing lots of the hard yards!) and rolling my own bits. I have had some reasonable success with SVNKit, but this bit has

Who do i write this JAVA in CF?

2006-10-18 Thread jonese
Ok I've got an object called port and I've done all the stuff i need to it and now i need to call a function inside my port object called getTax and pass it another object i created call getTaxRequest. All of these object are java object created using the CreateObject method in CF. but i'm a bit

RE: Who do i write this JAVA in CF?

2006-10-18 Thread Doug Bezona
If you aren't sure what properties or methods the object contains, you can use cfdump to examine it. -Original Message- From: jonese [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: 10/18/06 5:26 PM Subject: Who do i write this JAVA in CF? Ok I've got an object called port

RE: Who do i write this JAVA in CF?

2006-10-18 Thread Ben Nadel
www.bennadel.com -Original Message- From: jonese [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 5:26 PM To: CF-Talk Subject: Who do i write this JAVA in CF? Ok I've got an object called port and I've done all the stuff i need to it and now i need to call a function inside my

Re: Who do i write this JAVA in CF?

2006-10-18 Thread Dan Plesse
This GetTaxResult getTaxResult = port.getTax(getTaxRequest); Looks like this in CF cfset GetTaxResult = CreateObject(java, port).getTax(getTaxRequest) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of

I just created deserialize and view object web service in pure java inside CF

2006-10-17 Thread Dan Plesse
I just created deserialize and view object web service in pure java inside CF The main goal was show how you can transfer java objects into a pure java web services inside CF effectively getting around that limitation. Accepts only wddx which are deserialize java objects and it only has one

Java and CF

2006-01-05 Thread Cutter (CF-Talk)
I've written a java class file I want to use in an app (just testing). but I can't figure out where to put my .class file. I tried putting it in the directory with the page calling it, then calling it createobject(java,myclass); But this errored out, not finding the class. So then I placed it

Re: Java and CF

2006-01-05 Thread Bryan Stevenson
Check your CF Admin settings regarding the Java Classpath...drop your class in there and cycle CF services...ta da!! You can also add a new classpath via CF admin if the mood strickes you ;-) Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group

Re: Java and CF

2006-01-05 Thread Bryan Stevenson
DOH!I should have read the rest of your thread...my bad...ignore me ;-) It looks like you may have a multi-instance install there so each instance will have a classpathjust can't remember the details right now...but that may shed some light Bryan Stevenson B.Comm. VP Director of

Re: Java and CF

2006-01-05 Thread Chris Gottshall
Try placing the class file in the folder named classes (not cfclasses - that's where the class file versions of your cf code goes) but classes should be at the same level as lib according to my installation, which is right under WEB-INF. Also make sure that if your java class defines itself

Creating and returning queries from Java to CF

2005-03-22 Thread Tom Kitta
Hello, I have the following problem: I want to create a query object in Java *manually* and return in to CF. Lesser problem is to send a query to Java from CF. I looked all over the web and I was unable to find any example that would explain how to do in java simple things like “queryAddRow

Re: translating java to CF

2004-09-28 Thread Joshua OConnor-Rose
Did that, compiled the jar file now I'm able to create the objects . . . now I have other problems. Is there a list where I can discuss create and update issues? for sforce I keep getting this error: Web service operation create with parameters [EMAIL PROTECTED]

translating java to CF

2004-09-27 Thread Joshua OConnor-Rose
so if the header in Java says this: - import com.sforce.soap.enterprise.sobject.Account; and then the code does this to create the object: Account account1 = new Account(); - Oh and I'm using SOAP In CF I use cfset this.sfdc =

Re: translating java to CF

2004-09-27 Thread Sean Corfield
Have you added the compiled Java class files to your CFMX class path? On Mon, 27 Sep 2004 13:21:10 -0700 (PDT), Joshua OConnor-Rose [EMAIL PROTECTED] wrote: so if the header in Java says this: - import com.sforce.soap.enterprise.sobject.Account; and then the code does

Re: translating java to CF

2004-09-27 Thread Joshua OConnor-Rose
Just the guy I wanted to hear from. We have not. I have a bunch of generated .java files from the sforce web site and I am suggesting that we just use those. Is that the direction I should take with this? It seems to me to be the obvious choice. In fact would adding all the generated java files

Re: translating java to CF

2004-09-27 Thread Sean Corfield
On Mon, 27 Sep 2004 13:58:46 -0700 (PDT), Joshua OConnor-Rose [EMAIL PROTECTED] wrote: We have not. I have a bunch of generated .java files from the sforce web site and I am suggesting that we just use those. Is that the direction I should take with this? You would need to compile those and

repost: java to cf

2004-09-23 Thread Doug James
I have written a java class that crawls our site and compiles a list of links. I then populate a cf array from a java method that returns a java vector. The crawling portion(line 4) appears to take a couple of minutes, no surprise. I have to stop the population of the array (line 5) after many

Re: repost: java to cf

2004-09-23 Thread Robert Munn
It would help to know what the getVisitedPages() method does in Java. Have you tried calling it from inside a servlet or a JSP file to see if you get the same results? That could at least tell you whether there is a problem between CF and Java or whether the problem is inside the method itself

RE: repost: java to cf

2004-09-23 Thread Guy Rish
is nothing more than a launcher for the process and it will not leave the user in a waiting state. rish From: Doug James [mailto:[EMAIL PROTECTED] Sent: Thursday, September 23, 2004 3:45 PM To: CF-Talk Subject: repost: java to cf I have written a java class

passing from java to cf

2004-09-22 Thread Doug James
I have written a java class that crawls our site compiles a list of links. I then populate a cf array from a java method that returns a java vector. The crawling portion appears to take a couple of minutes, no surprise, but I am stopping the population of the array after 15 minutes. Any

Java Import - CF

2004-09-17 Thread Jeff Chastain
When you see the following line in a JSP file ... % page language=java import=com.plumtree.remote.portlet.* % ... is there a way to duplicate this functionality in CFMX?Is it possible it import an entire library like this rather than instantiating every class individually with cfobject? Thanks

RE: Java Import - CF

2004-09-17 Thread Samuel Neff
: Jeff Chastain [mailto:[EMAIL PROTECTED] Sent: Friday, September 17, 2004 8:45 AM To: CF-Talk Subject: Java Import - CF When you see the following line in a JSP file ... % page language=java import=com.plumtree.remote.portlet.* % ... is there a way to duplicate this functionality in CFMX

RE: Java Import - CF

2004-09-17 Thread Jeff Chastain
Okay, maybe with some more context, you can help me out with this then.I have the following JSP code that I am attempting to convert to CF. % page language=java import=com.plumtree.remote.portlet.* % % IPortletContext context = PortletContextFactory.createPortletContext(request, response

RE: Java Import - CF

2004-09-17 Thread Jeff Chastain
this class, I am just not sure that is the best answer. Thanks -- Jeff Quoting Jeff Chastain [EMAIL PROTECTED]: Okay, maybe with some more context, you can help me out with this then.I have the following JSP code that I am attempting to convert to CF. % page language=java import

RE: Java Import - CF

2004-09-17 Thread Kola Oyedeji
If you have the package available as a jar you should be able to reference it in the administrator under the classpath settings. Kola -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED] Sent: 17 September 2004 16:07 To: CF-Talk Subject: RE: Java Import - CF Okay, I

RE: Java Import - CF

2004-09-17 Thread Jeff Chastain
To: CF-Talk Subject: RE: Java Import - CF Okay, I have the terminology figured out a little better now, so lets see if this helps. The JSP page is including a package which apparently instantiates the CommunityAccessLevel class on import.So, in ColdFusion, how can you import a Java package

RE: Java Import - CF

2004-09-17 Thread Jeff Chastain
Okay, a better reply is that it appears that the following JSP package import ... % page language=java import=com.plumtree.remote.portlet.* % ... is actually comparable to ... cfobject action="" type=java class=com.plumtree.remote.portlet.AggregationMode name=AggregationMode cfobject action=""

RE: Java Import - CF

2004-09-17 Thread Kola Oyedeji
Jeff AFAIK there is no way to do this in CF, you're stuck with using create object. KOla -Original Message- From: Jeff Chastain [mailto:[EMAIL PROTECTED] Sent: 17 September 2004 17:19 To: CF-Talk Subject: RE: Java Import - CF Okay, a better reply is that it appears

RE: Java Import - CF

2004-09-17 Thread Jeff Chastain
] Sent: 17 September 2004 17:19 To: CF-Talk Subject: RE: Java Import - CF Okay, a better reply is that it appears that the following JSP package import ... % page language=java import=com.plumtree.remote.portlet.* % ... is actually comparable to ... cfobject action="" type=j

Hal Helms Java For CF Developers class?

2004-08-26 Thread Lofback, Chris
Is there anyone on the list that has attended any of Hal Helms' training classes?I am interested in his Java For CF Developers but would like feedback from anyone who has taken it or any of his other classes. Also, the only contact info on his web site is an email address and so far I am unable

Re: Upload a file using Java in CF

2004-06-18 Thread Thomas Chiverton
On Thursday 17 Jun 2004 16:34 pm, Andrew Spear wrote: InputStreamReader/InputStreamWriter classes, but I'm pretty clueless as to where to start. http://java.sun.com/j2se/1.4.2/docs/api/ ? -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email: [EMAIL PROTECTED]

Re: Upload a file using Java in CF

2004-06-18 Thread Kay Smoljak
Andrew Spear [EMAIL PROTECTED] wrote: Sorry if this is a bit OT.I have a file upload form that posts to the code below. The code takes the uploaded file and writes it to the server. snip umm.. sorry, could I just ask, what's the advantage of doing this over using CFFILE? Or is it for servers

Re: Upload a file using Java in CF

2004-06-18 Thread Stephen Moretti
Kay Smoljak wrote: Andrew Spear [EMAIL PROTECTED] wrote: Sorry if this is a bit OT.I have a file upload form that posts to the code below. The code takes the uploaded file and writes it to the server. snip umm.. sorry, could I just ask, what's the advantage of doing this over using

Re: Upload a file using Java in CF

2004-06-18 Thread Andrew Spear
Well, here's my situation.We have a sandbox for some developers who need cffile, but we (the admins) have a requirement to log all file activity.The solution is to create a custom tag that contains the cffile functionality plus contains a logging facility so we can track what they are doing.Now,

Upload a file using Java in CF

2004-06-17 Thread Andrew Spear
Sorry if this is a bit OT.I have a file upload form that posts to the code below.The code takes the uploaded file and writes it to the server.The only problem is that it only works with text files.It will write any file, but types like Word docs won't open.I'm pretty sure the problem is that I'm

Java and CF

2004-05-21 Thread Trevor Holm-Laursen
Hi All, We have numerous clients that we have developed sites for where there has been times when a java solution may have been easier then what we did but they are all in shared hosting environments.Is there any way to write java classes, compile them and place them in the clients webroot, and

RE: Java and CF

2004-05-21 Thread Guy Rish
a start on it here: http://www.sys-con.com/coldfusion/article.cfm?id=278 rish -Original Message- From: Trevor Holm-Laursen [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 2:20 PM To: CF-Talk Subject: Java and CF Hi All, We have numerous clients that we have developed sites for where

[sot] simple java webservice / cf....

2004-03-06 Thread Critter
oi CF-Talk!! so if this is a java class file i have. which works fine. TempConverter.java - public class TempConverter { public static void main(String [] args) { double F = Double.parseDouble(args[0]); double C = (5.0/9.0) * (F -

RE: JSP/Java in CF Page

2003-07-09 Thread Shahzad.Butt
There was no reason no following that approach. Its perfect and does what I want. Thanks -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 18:33 To: CF-Talk Subject: Re: JSP/Java in CF Page First time writing Java/JSP code in CF. What should

JSP/Java in CF Page

2003-07-08 Thread Shahzad.Butt
Hi First time writing Java/JSP code in CF. What should be the syntax to include this java file in cf page and print results. %@ import java.text.SimpleDateFormat;% %@ import java.util.*;% % public class formatDate{ public static void main(String args[]) { String seconds = args[0]; long secs

RE: JSP/Java in CF Page

2003-07-08 Thread webguy
CFSCRIPT GetPageContext().include(“hello.jsp”); /CFSCRIPT Full details here... http://www.macromedia.com/devnet/mx/coldfusion/articles/java.html WG -Original Message- From: Shahzad.Butt [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 10:14 To: CF-Talk Subject: JSP/Java in CF Page Hi

RE: JSP/Java in CF Page

2003-07-08 Thread Shahzad.Butt
: CFSCRIPT 9 : GetPageContext().include(UTCDate.jsp); 10 : /CFSCRIPT -Original Message- From: webguy [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 11:46 To: CF-Talk Subject: RE: JSP/Java in CF Page CFSCRIPT GetPageContext().include(hello.jsp); /CFSCRIPT Full details here... http

RE: JSP/Java in CF Page

2003-07-08 Thread webguy
Looks like a unicode issue, what encoding are you using ? WG -Original Message- From: Shahzad.Butt [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 13:10 To: CF-Talk Subject: RE: JSP/Java in CF Page Getting this error \u201cUTCDate, on line 9, column 31, is not a valid identifer name

RE: JSP/Java in CF Page

2003-07-08 Thread Shahzad.Butt
Default in Dreamweaver charset=iso-8859-1 I guess. -Original Message- From: webguy [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 13:23 To: CF-Talk Subject: RE: JSP/Java in CF Page Looks like a unicode issue, what encoding are you using ? WG -Original Message- From

RE: JSP/Java in CF Page

2003-07-08 Thread webguy
: JSP/Java in CF Page Default in Dreamweaver charset=iso-8859-1 I guess. -Original Message- From: webguy [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 13:23 To: CF-Talk Subject: RE: JSP/Java in CF Page Looks like a unicode issue, what encoding are you using ? WG -Original Message

RE: JSP/Java in CF Page

2003-07-08 Thread Craig Dudley
/Java in CF Page Default in Dreamweaver charset=iso-8859-1 I guess. -Original Message- From: webguy [mailto:[EMAIL PROTECTED] Sent: 08 July 2003 13:23 To: CF-Talk Subject: RE: JSP/Java in CF Page Looks like a unicode issue, what encoding are you using ? WG -Original Message

Re: JSP/Java in CF Page

2003-07-08 Thread Paul Hastings
First time writing Java/JSP code in CF. What should be the syntax to include this java file in cf page and print results. is there any reason for not taking this approach? cfscript aSimpleDateFormat = createObject(java, java.text.SimpleDateFormat); millseconds = javaCast(double,1057580739

RE: Java in CF (CFMX) - MM Drivers

2002-12-13 Thread Joe Eugene
just like one of the drivers included with CFMX, but I have to verify that. Phil -Original Message- From: Joe Eugene [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 11:01 PM To: CF-Talk Subject: RE: Java in CF (CFMX) - MM Drivers Anybody from MM

RE: Java in CF (CFMX) - MM Drivers

2002-12-13 Thread Mike Chambers
: Joe Eugene [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 12:49 PM To: CF-Talk Subject: RE: Java in CF (CFMX) - MM Drivers MM-Product Team... When Vernon Viehe(MM Community manager) exited.. there were promises from MM..that MM would provide better support through other MM

RE: Java in CF (CFMX) - MM Drivers

2002-12-09 Thread Phil Costa
PROTECTED]] Sent: Saturday, December 07, 2002 11:01 PM To: CF-Talk Subject: RE: Java in CF (CFMX) - MM Drivers Anybody from MM Product Team can explain this? on November 24, 2002 5:24 PM Product Teams reply 2 weeks later on the Thread!. Talked to Sean and figured out this already. Anyways since

RE: Java in CF (CFMX) - MM Drivers

2002-12-09 Thread Joe Eugene
. I believe a third-party JDBC driver would be managed just like one of the drivers included with CFMX, but I have to verify that. Phil -Original Message- From: Joe Eugene [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 07, 2002 11:01 PM To: CF-Talk Subject: RE: Java in CF

RE: Java in CF (CFMX) - MM Drivers

2002-12-09 Thread Rob Rohan
with CFMX, is true. Rob http://treebeard.sourceforge.net http://ruinworld.sourceforge.net Scientia Est Potentia -Original Message- From: Phil Costa [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 5:44 AM To: CF-Talk Subject: RE: Java in CF (CFMX) - MM Drivers Better late than

RE: Java in CF (CFMX) - MM Drivers

2002-12-09 Thread Joe Eugene
Subject: RE: Java in CF (CFMX) - MM Drivers We recently moved from SQL7.0 with the included MX (DataDirect/Merant) JDBC drivers, to SQL2000 with MS provided JDBC drivers and it was (aside from microsofts non-standard jdbc uri) simple. In other words believe a third-party JDBC driver would

RE: Java in CF (CFMX) - MM Drivers

2002-12-07 Thread Joe Eugene
Native Datasource in CMFX... Does CFMX manage connection pooling? Single Connection.. Multiple Statements? How does this work? Thanks Joe -Original Message- From: Phil Costa [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 4:49 PM To: CF-Talk Subject: RE: Java in CF (CFMX) - MM

RE: Java in CF (CFMX) - MM Drivers

2002-12-06 Thread Phil Costa
Macromedia -Original Message- From: Joe Eugene [mailto:[EMAIL PROTECTED]] Sent: Sunday, November 24, 2002 5:24 PM To: CF-Talk Subject: RE: Java in CF (CFMX) - MM Drivers I got this partially resolved... Sean helped out.. Thanks Sean. It was a classpath problem. However after i load

Re: Java in CF (CFMX)

2002-11-26 Thread Dick Applebaum
to explain and document within the code (both CF and Java Comments) 4) He'd have a single file, a complete example, with no special instructions -- Just Save it and Run it as you would any other CF template. Is there significant [enough] value, that MM should consider

RE: Java in CF (CFMX)

2002-11-26 Thread Jeffrey Polaski
To: CF-Talk Subject: Re: Java in CF (CFMX) I am really late to this thread -- been doin' other interesting stuff. There are one (or two, or forty) reasons that have not been mentioned, that make inline Java code a benefit. 1) Where needed in an app, you can get strong typing and nulls -- say you

RE: Java in CF (CFMX)

2002-11-26 Thread Rob Rohan
I think someone at MM should look up BSF. Rob http://treebeard.sourceforge.net http://ruinworld.sourceforge.net Scientia Est Potentia -Original Message- From: Jeffrey Polaski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 10:50 AM To: CF-Talk Subject: RE: Java in CF (CFMX

Re: Java in CF (CFMX)

2002-11-26 Thread Joe Eugene
presentation)...Am trying to relate to Inline Java.. So what overall advantage do we get with Inline Java? Any Performance...? other than coding between CF/Java in templates? I am not against InLine Java.. just trying to understand the Mechanics. Joe On Tue, 26 Nov 2002 07:10:11 -0800 Dick Applebaum

Re: Java in CF (CFMX)

2002-11-26 Thread Dick Applebaum
...? other than coding between CF/Java in templates? I am not against InLine Java.. just trying to understand the Mechanics. Joe On Tue, 26 Nov 2002 07:10:11 -0800 Dick Applebaum [EMAIL PROTECTED] wrote: Joe Your example, does, in fact work. Of course, I needed to modify the Java code

RE: Java in CF (CFMX)

2002-11-26 Thread Rob Rohan
ah, the fun of writting cf java tags. After you make a change and recompile, you'll need to cycle the service to re-read the class file... unless there is a better way that I don't know about. Rob http://treebeard.sourceforge.net http://ruinworld.sourceforge.net Scientia Est Potentia

Re: Java in CF (CFMX)

2002-11-26 Thread Dick Applebaum
CF/Java in templates? I am not against InLine Java.. just trying to understand the Mechanics. I think you could get an interface between no-typing and strong typing I think you would be more easily do develop and test the parts of your program that you needed (or decided) to code in Java

Re: Java in CF (CFMX)

2002-11-26 Thread Dick Applebaum
--- Dick On Tuesday, November 26, 2002, at 02:29 PM, Rob Rohan wrote: ah, the fun of writting cf java tags. After you make a change and recompile, you'll need to cycle the service to re-read the class file... unless there is a better way that I don't know about. Rob http

RE: Java in CF (CFMX)

2002-11-26 Thread Rob Rohan
: Java in CF (CFMX) Rob Are you saying that you need to restart CFMX to install a new Java class. Now there's a convenient, user-friendly, implementation. If what you say is true, I think you have just made the case for inline Java -- at least for developers Do you mean that a CF production

  1   2   >