Multiple TCP connections from JSP to host application
Posted on 2003-11-10
I have an application that I need to provide web based access to.
The existing application has a Java API that can be used to integrate with it, under the hood it just communicates via ASCII text strings via TCP/IP connections.
I have implemented JSP pages on a Tomcat server that use Beans I have created to call the various methods I require through the API.
My problem is this:
The application will only accept one connection from each TCP host, so using a web server I can only ever have one connection to the application open at any one time. This obviously presents problems when the number of concurrent users increases and performance degrades pretty sharply.
Is there any way to set-up the application (Tomcat / JSP / Bean side) to create multiple connections to the application host machine from the one Tomcat server?