1. Hi Moi!
    Nice example here! It is worth keeping pace with the latest Spring versions so you can use all these goodies!
    I liked the concept of narrowing the REST methods avaiable by just using the @GetMapping. Otherwise you would have had to mess with security or with @ReadOnly annotations in lower layers…

    One you thing you might want to take a look at is Spring Data Rest as there are some interesting functionality (like entity projections, paging/sorting) all the way from JPA to the REST layer.


    PS Good luck with the book!

    1. Author

      Thanks Victor! Indeed, Spring Data Rest is very useful for simple CRUD for entities. The only thing I don’t like is that it comes with HATEOAS by default and can’t be disabled, what could imply more work on the client side…


This site uses Akismet to reduce spam. Learn how your comment data is processed.