Re[2]: [PHP] PHP & Java, calling a static method
| From: | Tom Rogers | Date: | Thu, 08 May 2003 06:52:39 +0000 |
| Subject: | Re[2]: [PHP] PHP & Java, calling a static method | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146791@lists.php.net to get a copy of this message | ||
Hi,
Thursday, May 8, 2003, 12:02:11 PM, you wrote:
W> On Wed, 2003-05-07 at 14:44, Chris McCluskey wrote:
>> Ah ha!! Ok, I thought you would be re-writing everything in PHP. Which
>> would work out perfectly. By what you have said I would guess that if
>> you can't call it as
>> $myObject = new Java( "Object.staticMethod()" );
>> you might be SOL. And I'm guessing you've tried:
>> $myObject = new Java( "Object" );
>> $myObject->staticMethod();
>> right? That would be my next best guess.
W> Nothing works. :( I do have a workaround, it just means exposing the
W> database a little more than I wanted to. I may rewrite the Java layer
W> to work better with PHP. But I don't think this is an unreasonable
W> request, it just sounds like something whoever wrote the Java extension
W> didn't have a need for. So where are they hiding so I can talk to them?
This is the guy who did the interface (from source file)
Author: Sam Ruby (rubys@us.ibm.com)
--
regards,
Tom