From: <php...@li...> - 2006-11-13 18:30:43
|
Hi, > is it possible to instanciate a PHP class from > within a J2SE standalone > application? Yes, but that's deprecated. If you want to use Java we recommend to use a J2EE application server or servlet engine. For example Apache Geronimo or Sun's "Glassfish". > I couldn't find any information about > this on the php-java > bridge website, it's all about web development. Well, PHP is all about web development. IMHO PHP cannot be used in desktop applications; it has several limitations. It doesn't support threads and it doesn't have a real garbage collector. This means that long-running php applications will consume huge amounts of memory. The PHP reference counter cannot reclaim cycles for example. I know that there are some (IMHO insane) attempts to create desktop bindings, GTK bindings for example. But in practice these bindings don't really work well due to PHP's limitations. > If not, does somebody know any possibility for this? An old version (2.0.8) contained some MONO/NET GTK examples. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |