Building web and middleware to be more cloud native, with Service Mesh in between

In Cuba, the Web client tier can be separated from the middle-tier and each can be scaled separately. However, the linkage between these 2 layers is via Spring remoting.

In Jmix, based on spring boot, there is no separation anymore and both Web and middle tier is in deployment WAR.

We would like to architect our large Jmix solution so that we can make it more “cloud native” whilst still have the productivity gain of building both FE and BE together.

Can we architect the solution so that we can deploy the web client and service beans as separate WARs and have a service mesh to call the service beans from the web client and also from each service bean ?