With a REST layer like <a href="https:&#x2F;&#x2F;github.com&#x2F;begriffs&#x2F;postgrest" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;begriffs&#x2F;postgrest</a> you don&#x27;t need any extra application server layer to serve your data, securely (RLS). Bye bye Java EE ?