Tim Moores wrote:Just to make sure: the WS returns the exchange rate, and you want that WS to update its data in the background, independently from any client invocation?
What do you mean by "check the rate" - retrieving it from some other remote service?
Given that this is a single data point, I think using Redis would be overkill.
And I don't really see a pub/sub design, given that you're building a WS.
Hi,
thank you for your reply. I would simply like the WS to return the exchange rate, nothing more. Are you suggesting that I do not really need to have a repository implementation? Regarding the "check the rate" question, that is a good one. Is there any existing currency converter I could be using for the actual conversion?
OK, I was mislead by the fact that the WS needs to return the rate value "continuously" and that to me suggested that there should be a listener of some sort.
Thank you