Handle HTTP GET request and execute Java logic
I have requirement to allow the Lightstreamer to serve an HTTP Get request that will itself send a request to the Web Server that routes to an application server to verify connectivity and return an "OK" or "Fail" based on whether the verification is successful. It's basically for a in-house monitoring tool that will verify connectivity through out all the nodes.
It's simple enough to handle the logic that sends the request from the Lightstreamer adapter to the web-server and app-server however, I don't see a clear solution as to how to handle the initial simple GET requests in the Java adapter? What would be the best approach to do this?
My first thoughts are Servlets or Spring but I understand that the Lightstreamer server is not designed for this.
Thanks.