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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to