5 Replies Latest reply on Jan 22, 2014 2:17 AM by wdfink

    How to make simple Server socket/client connection J2EE compliant

    imeshd

      Hi,
      I have a simple server socket application which can run without app server as usual. But I want to use it with Jboss now. So that we can have the benefit like connection pooling, clustering etc and other enhancements.

      My server application is just listening to a port for client xml request and read it and send the request acknowledge xml response first to client, and then perform the action on the request at back end.

      The action is sending DB updates when ever an object updated. This means the server need to push the responses (multiple responses) later to client where client is listening.  

      ie. client first send the login request and server authorized the client by replying "OK".   Then server initiate sending (push) DB updates to client automatically.

       

      I stumbled on JCA and Netty.  Not sure which technology can help my requirement.