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.
I have a standalone Java batch process which does load the database tables from third-party soap service.
What database does it load? What does the Jaba batch process do with the data that it loads afterwards?
We have now a requirement to create a new rest services to read the database.
What database are you talking about?
We have created a caching for my second rest component.
Why did you create a cache? Are you using Hibernate? Maybe a second-level cache would work too?
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.