|
From: <php...@li...> - 2008-07-25 16:01:26
|
Hello, I am confused as to whether or not there is a .so (or .dll for windows) that does the same thing as the pure PHP Java.inc? Basically, I want my LAMP (or WAMP) server with no java installed to connect to a remote Java object server. I was able to do this fine with the pure PHP Java.inc. The pure PHP Java.inc does what I want it to do, but would not a .so (or .dll for windows) be a little faster? I am confused as to whether or not the functional equivalent of the pure PHP Java.inc can be built from the source into an .so (without Java on the compile machine). I guess another way to put it is I want to eliminate the include() call. I know the FAQ says that this is not a performance issue....I suppose this is true if the server cache's the Java.inc opcode...but would not a .so still be faster? So I guess my specific questions are: 1. Is there a way to build an .so that does what Java.inc does in terms of enabling connections to remote Java services w/o Java on the local machine? 2. Has anybody turned Java.inc into a .so, or is the consensus that caching the opcode is fast "enough"? Thanks! |