Need your opinon on enterprise application migration from C++ to java.
Hello.
I'm doing a new design of an application that provides a very basic SNMP like functionality.
As oppose to SNMP. My clients , mostly .net WCF apps, are opening a TCP socket to the server(c++ at the moment) and then wait for instructions from the server. the protocol over the TCP is plain textual parser.
There are 2 sources for instructions: 1: a remote console (WCF app) . 2. a scheduler. both are connected to the networking stack with a self made IPC over plain TCP sockets.
I want to migrate the scheduler and the networking stack to JAVA in order to achieve (among some other advantages)
1. SOAP instead of plain sockets IPC.
2. HTTP proxy and nat traversal for my clients (SOAP may suite here as well)
I thought of 2 web services , one for IPC and one for clients connections. And I have these design problems:
1. I need an indication if and how many clients are currently connected.
2. I need a bi-directional channel to exchange information between the 2 web services.
3. Since SOAP is a request-response method, The remote console which is WCF app will have to poll the IPC WebService. This is a miss
4. My clients will also have to poll the server for "what's next" . I need that to be efficient. but this may be solved later.
Your comments are welcome.