Hi Doug,
-----Urspr�ngliche Nachricht-----
>Von: Ferguson, Doug [mailto:[EMAIL PROTECTED]]
>Gesendet: Sonntag, 21. Januar 2001 10:17
>An: '[EMAIL PROTECTED]'
>Betreff: [jBoss-User] zoap
>I have found info on how to get zoap running on jBoss, but how
>do I make calls to zoap from a client. If jBoss is running zoap
>will it make all calls to ejbs transparently through zoap or do
>you need to write zoap specific code?
The client-side is (nearly) transparent through the 1.3 Dynamic Proxies as
well. All you have to do is to build a dedicated
org.zoap.soap.SoapInvocationHandler that takes proxy-server and http-server
of the target as its argument. Once masqued by a remote interface, the
invocation handler will encode your method calls into an XML/http request
and deserialize the resulting response into a return value/exception.
You can have a look at src/test/Test on how this is done. I�ve even got some
code
pending here that will pass the InvocationHandler through JNDI such that
client-access really is transparent, but that approach is only useful in
intranet settings, because you must be able to connect the naming registry
from your client.
Best,
CGJ
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]