[jboss-user] [Remoting] - Re: JBoss Remoting Clients (not using InvokerLocator)

ron.sigal@jboss.com do-not-reply at jboss.com
Mon Nov 12 02:55:35 EST 2007


It's not impossible to connect a "non-Remoting" client to a Remoting server.  See, for example, the classes RawTestClient and RawTestServer in the package org.jboss.test.remoting.transport.socket.raw.  You should be aware of the following:

1) As of version 2.0.0, Remoting expects a version byte to precede each transmission.  You would have to handle that explicitly.  Or, you could set the version on the server with the flag -Djboss.remoting.pre_2_0_compatible=true, in which case the server won't expect the version byte.

2) There are facilities like connection leasing that are handled by a Remoting client that wouldn't be available, unless you implemented yourself.

However, as demonstrated in RawTestClient, you *can* send any kind of object to the server, without wrapping it in a Remoting specific org.jboss.remoting.InvocationRequest.  

If you give it a try, let us know how it goes.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103561#4103561

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103561



More information about the jboss-user mailing list