Answer the question
In order to leave comments, you need to log in
Can the backend admin be a separate application?
There is a Spring application with Hibernate that provides an API for a SPA. There was a need to add an admin panel and two options are being considered:
1. enter the administrator role in the current application;
2. transfer the server part of the admin panel to a separate application.
With the first option, everything is clear, but with the second, the question arises, how to ensure the consistency of data changes in the database? After all, Hibernate caches the results of queries, and if the admin application changes the data, the main application will not know about it and may return irrelevant data from the cache upon request.
Answer the question
In order to leave comments, you need to log in
Hibernate caches query results
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question