|
From: <php...@li...> - 2007-08-03 05:55:30
|
Hi Jost!
> the code pulls the java libraries from a remote
> server... Fetching jar files from a HTTP url is
> expensive,especially if you don't allow the bridge
> to cache them.
Actually, the jar files are not in a remote server.
They are in my PC which I am using as both server and
client. For some reason, the simple syntax below
would not work:
java_require("myJarFile1.jar;myJarFile2.jar;...");
That is why I switched to using HTTP urls. Hmmm...
could it be (another) Java classpath problem? All the
jar files inside java_require() should be in my Java
classpath right?
>Furthermore you remove all cached libraries at the
>end of the script, probably to emulate the dynamic
>behaviour which is switched off for remote URL's.
I assume that is what java_reset() does(?). I think I
did this because sometimes my Wiki runs sluggishly
after I visit a page that invokes PHP-Java Bridge.
That is true, even if the next pages I view do not use
PHP-Java Bridge anymore.
Hmmm... okay, I'll try your suggestions and hope that
fixes the problem. I wonder where I got
java_reset()? Maybe, from an old local copy of some
website?
Regards,
Filip
Send instant messages to your online friends http://uk.messenger.yahoo.com
|