Results 1 to 2 of 2
  1. #1

    merge FeedSimulator and dataAdapter classes

    referring to StockList example
    When the dataProvider is a small class, (that uses a 3rd party library), is it better to merge it the 'FeedSender' with the DataProvider class, DataProvider runs as a single instance right?

    thanks
    Last edited by darch; April 1st, 2013 at 10:09 PM.

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

    I'm not sure I understood the question.
    In any case note that the FeedSimulator is in fact a simulator. Depending on your case your third-party library may be a perfect substitute of our FeedSimulator, in that case only having a single DataProvider class may have sense.
    There is no rule anyway, it mostly depend on the complexity and the logic separation as in any other java program.

    HTH

 

 

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:18 PM.