DAL in Java, now what?
am 16.02.2009 23:56:46 von Yves SucaetHi list,
After writing an OO-based set of database-interaction routines in PHP, I
recently rewrote this preliminary API in Java to satisfy our
desktop-developers. So now I have a DAL (Data Abstraction Layer) in Java =
and
in PHP. I'd rather get rid of one of these, since maintenance on two API
causes some serious overhead. I'm inclined to retaining only the Java-ver=
sion,
but I can't seem to find any good documentation on best practices on how =
to
call Java from within PHP. The examples provided at
http://us.php.net/manual/en/java.examples-basic.php seem elegant enough,
except that I can't find the PECL php_java.dll anywhere. Another project
http://php-java-bridge.sourceforge.net/pjb/ seems to rely on Apache and L=
AMP
installations all-together, and is therefore not an option for my Windows=
/IIS
setup.
Has anybody tried something similar and been succesful?
Thanks in advance,
Yves Sucaet
Iowa State University
http://metnet3.vrac.iastate.edu
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php