From: <php...@li...> - 2006-11-21 01:38:03
|
Hi. I'm trying to implement the following: Berkeley DB <-> JNI <-> Java <-> php-java-bridge <-> PHP. I would like to have only _one_ persistent Berkeley DB "Environment" (a class instance) available to every PHP request (so this is not something session-specific). The idea would be to somehow create an instance of an object when the Java VM starts up, and then access it from all PHP requests. I need to have this common instance for caching, resource utilization and concurrency purposes. Is there any way to do this with php java bridge? Thank you for your time, Ovidiu Dan, Amsterdam |