1 Reply Latest reply on Apr 23, 2008 3:35 AM by Ron Sigal

    C++ connection to JBoss Remoting

    HARESH KUMAR Newbie

      Hi,
      We are currently having a standalone java program that acts as a Socket Server to a C++ client. Our application needs to support various client requests and involved extensive thread management. We wanted a better implementation. I was wondering whether JBoss Remoting is a solution for this situation.

      As I am a new user, I read through the example code but it uses a Java Client. Is there a way I can make JBoss expose a Socket Server URL and have a C++ client connect to it?

      Any example code snippet would be really helpful. Thanks in advance.

      Regards,
      Haresh Kumar

        • 1. Re: C++ connection to JBoss Remoting
          Ron Sigal Master

          Hi Haresh,

          A C++ Remoting client isn't impossible, but I'm not aware that anyone has ever done it. The client would have to send data that the Remoting server could understand.

          I can think of a couple of options.

          1. Use the Java Native Interface to put a java layer between the C++ client and the network, where the java layer is a Remoting client.

          2. The Remoting HTTP transport can process invocations sent by any HTTP client. So you could have the C++ client generate HTTP requests.