Developing a RESTful Web Service Using Spring Boot
- access_time 8 years ago
- date_range 13/04/2014
- comment 0
- share 0
- label_outlineSpring, Spring Boot, Spring MVC, JPA, Spring Data JPA, TDD
Update 12/2017: Sweet, but could use an updated version. The principles seem to stand though.
I'm really impressed with Spring Boot. Its main goal is to take away most of this boilerplate configuration
that was needed before and to replace it with some sensible defaults. One might say it's taking the control away
from the developer and giving it to the army of fairies. That's probably right, but in this case the fairies are
here to help, and moreover they can easily be cast away from doing particular thing. It's just a matter of doing
it yourself as before, and thanks to @ConditionalOn...
behaviour Spring Boot's auto configuration will not fire up.
In the following article I will explore the way of employing Spring Boot to create a very basic, restful web service. As usual the source code can be found here on GitHub to play around.