Results 1 to 4 of 4
  1. #1

    LightStreamer integration with web app

    Hi,
    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.

    Thanks,

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    505
    Hi avinashghodke,

    If I understand correctly, you want to know the best way to feed your adapter with updates from the tomcat server.
    Indeed in that case HTTP API is a solution fully feasible.

    But please let me stress that whether your tomcat server in turn, retrieves updates from a certain back-end, then you can make sure that the Lightstreamer server directly accesses to the same back-end.
    I confirm that in the adpater you can implement your custom logic with whatever technology is necessary.
    Please check also the section 2.1 "Deployment Architecture" in the Web Client Guide for a tipical deployment scenario.

    Regards,
    Giuseppe

  3. #3
    Hi Giuseppe,
    Thanks for the reply, I would prefer to access DB directly as I will be getting updates from there itself.


    Regards,
    Avinash

  4. #4
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    505
    Hi avinashghodke,

    Ok, Then you could take a look at this: http://forums.lightstreamer.com/show...a-Adapter-Java

    Regards,
    Giuseppe

 

 

Similar Threads

  1. Replies: 10
    Last Post: November 17th, 2014, 04:22 PM
  2. Replies: 1
    Last Post: March 15th, 2013, 10:20 AM
  3. Replies: 3
    Last Post: August 16th, 2011, 11:39 AM
  4. Google Web Toolkit Integration
    By mnenchev in forum Client APIs
    Replies: 7
    Last Post: August 20th, 2010, 03:02 PM
  5. Replies: 1
    Last Post: November 18th, 2009, 10:44 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 09:40 AM.