From: <php...@li...> - 2016-08-24 14:19:47
|
Hi Dirk, Yes can be really interesting... But I could not see attachement on the sourceforge mailing list, I suppose I have to setup it somewhere... As I'm not really fond of sourceforge, if you agree, could you create an issue on github https://github.com/belgattitude/soluble-japha/issues and attach the files. From there we can start a discussion and see if we can find a way to make it work. Also useful, when I started the client refactoring, I've decided to use an Adapter pattern in order to allow different implementations. So it may work by creating a new driver. See the https://github.com/belgattitude/soluble-japha/blob/master/src/Soluble/Japha/Bridge/Driver/AbstractDriver.php for reference. Let's keep in touch (but sourceforge mailing list maybe not the best idea, what you think ?) Thanks, Seb > Hello Sebastien, > > I too have spent many years using the Java bridge (in production) to > facilitate calling Java from PHP. I have also gone a little further, and > have created a simplified client interface to the bridge server that is > available as both a PHP include, and a GNU C library. This allows me to > access Java via the bridge from C code. > > I at one moment tried to contact the original JavaBridge maintainers to > see if they were interested in including this with their distribution - > but with no response. > > I guess this is a kind of different road to what you have travelled - my > efforts were mostly to strip out all of the object inheritance / > reflection and etc. and put up a simple list of functions that can be > called from a non object language like C (and obviously from PHP as well). > I attach the man pages for my javaFunction / javaBridge call library for > your inspection. > Are you interested in source for this to post / merge along with your > project? > Regards, > Dirk |