-
April 1st, 2013, 01:46 PM
#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 09:09 PM.
-
April 2nd, 2013, 09:50 AM
#2
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 07:32 AM.
Bookmarks