|
From: <php...@li...> - 2007-06-23 17:25:19
|
Hi, since version 4.1.4 the bridge doesn't use a JarURLConnection anymore. This means that the DynamicClassLoader can now track changes in remote jar files. The problem was that, in order to load classes from a remote jar file, java had to copy it into a local temp directory and use the copy for all further operations. The standard jar loader creates a temporary copy and deletes it when the VM terminates. This behaviour makes the DynamicClassLoader unusable for remote files. I have added a connection class which fetches the remote jar file and caches it until the associated URL is finalized. Please see http://php-java-bridge.cvs.sourceforge.net/php-java-bridge/php-java-bridge/server/php/java/bridge/DynamicJarURLConnection.java?view=markup&sortby=date for details. (I haven't tested it very much, but the algorithm should work). Furthermore the bridge now contains a full-featured HTTP server which gets started by double-clicking on JavaBridge.jar. It cannot handle JSP pages, but it can handle server-side scripts, including python, php, bean shell and jscript. The server uses the standard discovery mechanism to load the script implementation. This means that you can add further script implementations by adding them to java ext dirs. Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com |