2009/11/20 Karthik Nanjangude <karthik.nanjang...@xius-bcgi.com> > A 3rd party Client S/w of C++ sends an XML string over socket > > This socket is be defined and read by *Process* of web application > > OK, so you're trying to get Tomcat to do something it's not designed to do: handle incoming TCP connections that are not HTTP connections. This will be a lot of work. It's like trying to drive a car along a river instead of a road... sure, you can adapt the car to do that, but it might be cheaper to get a boat! In this case, it might be cheaper to get a socket server.
What are the goals for performance and response time to the C++ client? Can you use something like Apache MINA (http://mina.apache.org/) to write yourself a small server that accepts the incoming XML from the C++ client, then wraps it in a HTTP request and sends that HTTP request to Tomcat? - Peter