Spring Boot

The ply-demo project is a full working example of deploying Limberest services in a Spring Boot environment.


Here’s what typical dependencies look like in build.gradle:

dependencies {
    compile "org.springframework.boot:spring-boot-starter-web"
    compile "io.limberest:limberest:${limberestVersion}"
    compile 'io.swagger:swagger-annotations:1.5.19'


In Spring Boot you can use autowiring to inject into your service implementation:

public class MoviesService extends JsonRestService {

    private Persist<Movie> persist;
    public Persist<Movie> getPersist() {
        return persist;

Next Topic: Javadoc