shit happens ;)
This article shows how to access a PHP-Session from Java when running under Quercus – an implementation of PHP in Java which runs in any decent Servlet-Container.
Use java_bean() of Quercus with Glassfish v3 & JavaEE6
If you trying to migrate a legacy PHP application which still uses PEAR::DB to Quercus with PostgreSQL and JDBC-Connection Pools accessible through JNDI, this may come handy for you! 1. Create your Datasource e.g. in Glassfish v3′s admin console… I named mine jdbc/postgresDS 2. copy the file pgsqljndi.php to /usr/share/php/DB/pgsqljndi.php (or wherever you include your [...]