inter-thread communication between java application and jax-ws web service
问题 my jax-ws web service (after it gets hit by the client request), sends a request to backend legacy platform (through a socket) and then waits for 20 seconds for the response. Before it makes that request it updates a table with its unique transaction number. A separate listener thread (standalone java application) is waiting on that socket for the responses, each response will have the transaction number in it to identify which request (previously sent) its associated with. how can this