What are the purpose of the PEAR style php stub classes that I
created during the install of PHP-Java Bridge?
For example, if I do the following in a HP script:
$request = new Java("java.util.HashMap");
I can then use the "put" method to stick keys and values into this
special Java Style array.
$request->put( "key", "value" );
But, I can also do the following:
require_once('classes/java_util_HashMap.php');
$request = java_util_hashMap();
But cannot do the "put" method to get values into the variable.
$request->put( "key", "value" );
This gives me a "NoSuchMethodException" error?
So I guess I just don't understand what these php stubs are for? Can
anyone explain? Also, is there an official BBS style forum anywhere
for posting help -- the mailing list seems outdated?
Thanks,
Jon
|