Results 1 to 10 of 17

Thread: Database Feed

Hybrid View

  1. #1
    Member
    Join Date
    Mar 2008
    Location
    CASABLANCA
    Posts
    1
    Hi
    Does the Data Adapter example with a database integration is available or not yet? We are also very interested because we need to have a proof of concept with it.
    Thanks

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Not yey, sorry. We have been very busy on other fronts. If anybody out there has an example to post for the community, we would be grateful.

    Cheers,
    Alessandro

  3. #3
    Member
    Join Date
    Jul 2008
    Location
    london
    Posts
    3

    Database Adapter Example

    Dear Alessandro

    Is the example of a database adapter available yet. It is quite a long time since this was first mentioned and it must be a very popular request.

    Regards

    Gerard

  4. #4
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Hi Gerard,

    We haven't had time to work on this example yet, even if it would be pretty simple to implement.

    Basically, in the case of Java, it would be enough to take the Hello-World Data Adapter and add some JDBC code to poll a DB instead of generating pseudo-random data.

    Again, my call to anybody who has this example done to share it with the community.

    Thanks

  5. #5
    Member
    Join Date
    Apr 2008
    Location
    Muang
    Posts
    5

    Cool

    What are the pros and cons between

    1)reading directly from a DB source
    and
    2)reading from a file like xml

    I write a program to dynamically creates an XML file when a transaction takes place. Then feeds it to the LS. One file for each item with 6 fields.
    I have about 30 items in all.

  6. #6
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Amarin,

    The best approach would be to have an asynchronous data feed (based on some message-oriented middleware), which does not require polling. Both a DB and an XML data source are usually based on polling. That said, choosing between a DB and an XML file depends on many aspects, such as the polling frequency, the amount of data being polled, general architecture considerations, including transactions and fail-over. So it's impossible to provide a general answer.

  7. #7
    Member
    Join Date
    Apr 2008
    Location
    Muang
    Posts
    5

    Cool

    Thanks for your reply Alessandro

    What would the setup look like with MOM?
    Do I use it alongside lightstreamer?

    Would this be ok

    http://www.jboss.com/products/platforms/dataservices

    or

    http://www.jboss.org/projects/

    Do you recommend anything else?

    Thanks again

 

 

Similar Threads

  1. .NET web service as Data Feed
    By icaiozzi in forum Adapter SDKs
    Replies: 1
    Last Post: November 19th, 2010, 11:52 AM
  2. How And Where To Specify Database As Data Feed?
    By devidasan in forum Adapter SDKs
    Replies: 1
    Last Post: March 17th, 2009, 11:00 AM
  3. .NET with external feed
    By markgoldin in forum Adapter SDKs
    Replies: 21
    Last Post: August 28th, 2008, 07:39 PM
  4. Database datafeed
    By Sinead in forum Adapter SDKs
    Replies: 4
    Last Post: February 14th, 2007, 03:47 PM
  5. Adapter Database Pulling
    By Excalibur in forum Adapter SDKs
    Replies: 4
    Last Post: October 3rd, 2006, 09:38 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 03:22 PM.