[jboss-user] [Remoting] - Re: Socket client with JBoss Remoting

ron.sigal@jboss.com do-not-reply at jboss.com
Thu Aug 9 18:00:13 EDT 2007


Yeah, that's not going to work.  SocketClientInvoker wants to talk to a SocketServerInvoker.  For example, in Remoting versions 2.0.0 and above, each invocation and each response is preceded by a version byte.  For another, the client will try to create an ObjectInputStream, which means the server has to create a matching ObjectOutputStream.

Basically, you'd have to make your server code look sufficiantly like a SocketSereverInovker to satisfy the SocketClientInvoker.

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

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



More information about the jboss-user mailing list