I was able to create lightstreamer setup on my local and created hello world adapter, now I want to start using it in real-time. I have tomcat server hosting my web app and now I have light streamer server for real-time data. I will be using it to push notifications for users.
But I have these two different servers now, how can I communication with my tomcat server to check whether there are new changes available or not.
I have one way to check it i.e. I will create a web service which will return me new notifications. And at light streamer server side I will be calling this service in run method using HTTP CLIENT API (HTTPGET).
but I know this won't be optimized solution.
Or is there another way so that I could bypass my web app.