Sprinkling in some @SpringData #REST to chapter 4 of Learning #SpringBoot /cc @PacktPub

By Greg Turnquist

Greg is a member of the Spring team, an author of several books on Spring Boot, conference speaker, and the lead for Spring Data JPA.

August 1, 2014

learning-spring-boot-ch-4As I hack away at the last couple sections of chapter 4 of Learning Spring Boot, I have enjoyed being able to sprinkle in a little Spring Data REST. That project is really neat. I think it’s the way of the future for many apps out there. By providing an incredibly easy point of access to data, built on lots of standardized conventions, it’s impressive how it provides a good RESTful API while also mixing nicely with the data access layer.

Spring Data is a great way to skip over writing boilerplate CRUD functionality. Spring Data REST provide a powerful, hypermedia-driven RESTful way to interact with it. It sets you up to easily create modern front ends to interact with it.

I knew when I staked out this chapter in my proposal that I would include a section about Spring Data REST. I can’t pass up the chance to get the word out. With only a week until the first draft of chapter four is sent in to Packt, I need to knock out the last bits of this chapter and then gear up for chapter 5, Securing your Spring Boot App.

Cheers!

2 Comments

  1. Owen Rubel

    Looking forward to it. By the way, can you also put in something on handlerInterceptors? Been having a time trying to find stuff on handlerInterceptors with springBoot. Want to make sure I’m not screwing things up when I try abstracting the api

    Reply
    • Greg Turnquist

      Owen,

      Thanks for stopping by!

      Unfortunately, I don’t see writing anything about HandlerInterceptors in this book. Chapter 4 is focused on data access and chapter 5 will be about securing Spring Boot apps. I’ve mentioned core Spring MVC in several places and how it takes little effort to get going with basic Spring MVC. But there isn’t enough space to expand the book into more detailed aspects of Spring MVC.

      An alternative place to get an answer to your question would to visit https://spring.io/questions and look for the right tag on Stack Overflow (I imagine spring-mvc would be best option).

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *