4 Replies Latest reply on Jul 28, 2008 12:18 PM by jc7442

    JBoss AS and Server sockets

    jc7442

      I have a legacy system that uses sockets to communicate with other application.

      I'm developping an EJB3 based application that will be hosted in JBoss 4.2.3 application server.

      Communication between my J2EE application and my legacy application uses sockets. Legacy app starts one socket server and my J2EE app should starts its own server socket.

      My first idea was to start my server socket in the J2EE app in a MBean and then to code socket communication as if I was in a j2SE application. It does not sound very J2EE fashion.

      My constraint is that I can not change the legacy app that is coded in C.

      Is there other solutions ? In there something I can reuse from remoting ?