Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Nov 2010
    Location
    tampa
    Posts
    2

    MYSQL & Lightstreamer

    Hello All,

    I am new to Lightstreamer and Java development as a whole, I currently have a project that I would like to upgrade using Lightstreamer connected to MYSQL (currently it is PHP/MYSQL). I have searching and reviewing for the better part of a week and can not find anything that helps me making a valid MYSQL connection to a Lightstreamer app. I have made Java class that connects to the DB and I have "Frankenized" just about all of the Demos, I just cannot get past this one. Does anyone have a working example that I may look at that makes a Lightstreamer to MYSQL connection.

    thanks
    nelson

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,

    It's not clear where you are stuck.

    You have a class that connects to the DB, now keeping into consideration which items are subscribed you should poll the DB and put the updates into the ItemEventListener.

    Please take a look to the General Concepts.pdf file (under LS_HOME/DOCS-SDKs ) for a better understanding of the general workflow.

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    517
    You might also want to take a look at this example:
    http://www.lightstreamer.com/vb/show...p?t=231&page=2

  4. #4
    Member
    Join Date
    Nov 2010
    Location
    tampa
    Posts
    2
    Mone & Alessandro thanks so much for taking the time to reply. Alessandro that is exactly what I was looking for and somehow missed when I was reading through the posts. Thanks again for you help.

    nelson

 

 

Similar Threads

  1. Lightstreamer/Apache/MySQL
    By Esteban in forum General
    Replies: 1
    Last Post: March 28th, 2008, 09:36 AM

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 05:15 AM.