We are using php for dynamic scripts, but we are doing so within out own REST framework, not using tomcat or resin. It is working great, but we need to be able to pass java objects to the php scripts, I know how to do this in the conext of a a servlet by passing an attribute, but I do no know how to do this outside of such a context. Here is some jaava code:

>>> the above code works fine for executing the desired php script, but we want to pass he object myObject to the quercus engine. How do I do this? I looked for a setAttributte type method, but failed to find what I was looking for. Any ideas. Thanks.