RE: cfobject and java

2004-09-15 Thread Guy Rish
ve a constructed Mib with internal content I can see why your call to getFile might give you some problems. rish From: Steve Dworman [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 12:09 PM To: CF-Talk Subject: Re: cfobject and java i tota

Re: cfobject and java

2004-09-15 Thread Steve Dworman
i totally understand that, so i guess my problem is a little different. the following is my code to load a mib file.  this works. mib = createobject("java", "net.percederberg.mibble.MibLoader"); nfo = createobject("java", "net.percederberg.mibble.Mib"); tempdir="my path here"; tempvar =

RE: cfobject and java

2004-09-15 Thread Guy Rish
Steve, Handling static methods is simple: X = createObject("java", "someclass"); X.staticMethod(1, 2); Note that I did not invoke the init method (constructor alias). As for sharing the results of methods between objects...  You would handle that just as you might expect.  Save the return value

Re: cfobject and java

2004-09-15 Thread Barney Boisvert
If you want to call a static method, just do it directly on the createObject() result, much like you'd call the init() method to actually construct an object instance. You can create as many objects as you want, and pass information into them at will.  Keep in mind that objects are pass-by-refer

RE: CFOBJECT and JAVA

2001-01-12 Thread Joe Sheble aka Wizaerd
This is not an option when using CFOBJECT with Java... At 02:08 PM 1/12/01 +, you wrote: >Are you using RELOAD="Always" ??? > >Justin > > >-Original Message- > >From: Joe Sheble aka Wizaerd [mailto:[EMAIL PROTECTED]] > >Sent: Friday, January 12, 2001 1:39 PM > >To: CF-Talk > >Subject:

RE: CFOBJECT and JAVA

2001-01-12 Thread JustinMacCarthy
Are you using RELOAD="Always" ??? Justin >-Original Message- >From: Joe Sheble aka Wizaerd [mailto:[EMAIL PROTECTED]] >Sent: Friday, January 12, 2001 1:39 PM >To: CF-Talk >Subject: CFOBJECT and JAVA > > >I've been experimenting with calling Java classes using CFOBJECT, and so >far all my