I have a spring boot application with 3 tier architecture client->Application server(Spring boot application)->DB. I want to split the current app server into two, one for handling the client request/response and business logic like controllers and services only. Another one is for only communicating with DB like DAO,and spring data jpa's only.
These two servers will communicate through REST api.
I don't know this approach is good or not. Please suggest.