RE: [PHP-DEV] another crazy idea

From: Date: Tue, 29 Jun 1999 01:07:39 +0000
Subject: RE: [PHP-DEV] another crazy idea
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-7763@lists.php.net to get a copy of this message
At 02:04 29/06/99 , Brian Schaffner wrote:
I am no big Java expert, but I don't see how this would work. I don't thikn it is possible to write a native C program which calls a Java class running in a JVM, but I could be wrong here. If you can come up with a example of this working, then it can be done in PHP. http://java.sun.com/docs/books/tutorial/native1.1/implementing/index.html ok. it's called JNI (Java Native Interface). If there are hooks for the COM stuff, then this should not be too different. is there are a particular part of zend/php4 i should look that shows the COM implementation? ... if only there were 48 instead of 24 hours in every day ...
ext/COM/COM.c would be a good start :) Seriously though, if JNI is what you say it is, I'd be more than happy to help writing that Java OO overloading for Zend. It looks like something that many people will appreciate :) Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.il

« previous php.dev (#7763) next »