Java PHP Integration
| From: | Conover, Ryan | Date: | Tue, 21 May 2002 14:10:11 +0000 |
| Subject: | Java PHP Integration | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-98599@lists.php.net to get a copy of this message | ||
I was wondering if anyone uses php to call enterprise javabeans?
I wrote a java class that is accessed by some php code. This java class
calls an EJB and gets a custom object returned to the java class called
report. When I returned the custom object to php to reference, everything I
try to ouput in the object gets outputed as "Object".
Tried this way
$Client = new Java("Custom.Client");
$Report=$Client->getTheReport(String str);
echo($Report->Jobs[0]->getjobnum());
And this way
$Client = new Java("Custom.Client");
$Client->getTheReport(String str);
echo($Client->thereport->Jobs[0]->getjobnum());
Any help or links to anyone that tried this would be useful.
Ryan Conover
Rconover@americanbridge.net
rscst25@pitt.edu
http://www.pitt.edu/~rscst25/