RE: [PHP-DEV] another crazy idea
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 ...
I've just taken a short glance on JNI (very short, well under a minute) - it looks COOL and exactly what we need to write Java support for PHP 4.0. I'll be involved in it :)
Zeev
--
Zeev Suraski <zeev@zend.com> http://www.zend.com/
For a PGP public key, finger bourbon@netvision.net.il
Thread (15 messages)