I have a stand alone java batch process which does load the database tables from third party soap service. We have now a requirement to create a new rest services to read the database.
We have created a caching for my second rest component. It works fine. However, the question is the standalone batch component updates the database every 10 minutes and how do we ensure that the cache in my rest service component is synchronized and up-to date.