There's something very odd going on at JavaEE HQ.
Oracle are selling this as a good thing as it gives them a chance to "cope with the prevailing winds in development and deployment", which I read as "we're going to get microservicey and we're going to cram in some Dockerish type stuff as well".
On my last project I had to integrate our code with an external REST provider. The provider was a banking service (I'll call them "TheBank" to protect their identity) and we had to record financial transactions with them.
Check out the API documentation that we had to work with here (note: I've completely changed the API terminology so that the actual provider can't be identified, but the structure and the errors are still the same).
A good Java interview question would be - what have they done wrong in this REST API design? Have a read of the docs before reading on, see if you can come up with a list of what could be improved.