I have a requirement where two systems (on different platforms) need to communicate with each other in realtime. We decided with Java Socket Connection between two applications. I will be building a Java Socket Server that receives a message (customer id) from a Java Client (which sits on another system) and the socket server returns customer loyalty ponts for that customer id. To get the loyalty points a jdbc connection will be required to a database. I want to know the following
- The application server has Weblogic installed, can I deploy my java socket server in Weblogic?
- The server is multi-threaded and creates a new thread for every new connection each time a new client makes a connection. I assume it will create a new JDBC connection for each new Thread. Is that right?
- How will the connection pooling (both socket/jdbc) be managed?