In my application, I need to communicate between two servers. In the first server, my Java stand alone application deployed and this will call a war file which is deployed in a SSL secured server to communicate with Payment Gateway.
I am calling the war file from my Java application and I am getting some response from there. Next, I will pass the details and will open a browser from my Java stand alone application. After reaching the payment page, we lost the connection from the server , because there is no responce from the payment gateway. After the transaction, they will send the response as a URL, which is specified in my config file.
My question is, I ned to pass the response values from the URL to my Java stand alone application,
Please help me to find out a solution for this