Ein Blog

Gesammelte Notizen

REST Service with Spring Boot, Spring JDBC and Jersey

23 Dezember, 2015 | Java

For my little IoT project I'm planning to use Spring Boot as runtime environment, Spring JDBC for the database connection and Jersey 2 for the REST implementation.

Why?


Implementation

You can find the source code here

To use Spring Boot with Maven you have to use the 'spring-boot-starter-parent' artifact. This artifact provides the necessary versions for the libraries that can be used with spring boot.

There are other starter artifacts that will provide you with all necessary dependencies.