|
From: <php...@li...> - 2009-08-12 17:41:52
|
Hi Massimo, > I have to build a standalone, multiplatform PHP application that needs > to use a number of java classes Is it a standalone web- or desktop application? Since you mention swing, I assume you want to write a desktop app. I would start by writing the Java GUI skeleton and then add PHP functionality to it, please see http://php-java-bridge.sourceforge.net/pjb/standalone.php for an example. *I* would write the entire application in java. PHP makes sense for short-lived scripts, but I wouldn't use it to drive the entire desktop application. -- I think PHP 5.3's new reference counter can reclaim certain cycles, but I wouldn't trust it. If you want to use PHP as a plugin only, use the JSR 223 API. > PHP-equipped Jetty (http://jetty.mortbay.org/jetty/) on localhost Why do you need jetty for a desktop application? Regards, Jost Boekemeier |