|
Posted by Stefan Rybacki on 09/16/05 13:49
Bernd Maierhofer (dato) wrote:
> Thank you for any input!
>
> We are trying to build a PHP layer for our application (needs to be
> incorporated inTYPO3) and to code the bussinesslogic with JAVA. It is
> possible to use JAVA classes form within PHP, but we have troubles keeping
> the classes alive within the SESSIONs. PHP classes stored in the SESSION
> array kan be reused, whereas JAVA-Klasses still have ISSET = TRUE, but the
> methods are gone.
Oh man, why do you do this? Why would you use JAVA within PHP, I think its a bad idea and
I don't even know why this extension really exists. But to your problem, maybe
serialization of classes or the thing called hibernate can help you.
Stefan
>
> Tihis seems to be true at least with PHP v4 and the standard JAVA extension.
>
> So my questions are: Am I missing something? Is it possible to use JAVA
> classes within the SESSIONs? Have there been changes with PHP5 and the JAVA
> integration?
>
> Many thanks!
>
> Bernd
>
>
[Back to original message]
|