Hello,
I do not understand very well what you mean by "PHP's reference counter
can't reclaim cycles". Anyway, the bridge is started at the beginnig of
the application as a subprocess and should be stopped at the end.
In my opinion, php is a powerfull language especially to manipulate
string. It uses simple methods. Php syntax is very simple too.
For the GUI under Win32, java API isn't as easy to use as Gtk, and I
didn't know that python and scheme have their own GUI (without using GTK
libraries).
Thanks for your help...
Benjamin.
php...@li... a écrit :
> Hi,
>
> you can terminate any Java process with System.exit(code).
>
>
>> I use php-gtk with javabridge under Win32... All my code is
>> This works fine... At the end of my php script I would like
>> to terminate the 'javaw' process (win32).
>>
>
> Sorry, but this sounds insane. PHP is not a gerneral purpose programming language, you can't start a GUI loop from it. If you do, you'll quickly run out of memory because PHP's reference counter can't reclaim cycles. Second, the PHP/Java Bridge shouldn't be started/terminated for each request. And third, GTK isn't quite stable on Windows, anyway.
>
> Why don't you use a proper programming language such as Java, Scheme or Python to write your GUI?
>
>
> Regards,
> Jost Boekemeier
>
>
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
> http://mail.yahoo.com
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|