Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package ed.cracken.code.proxy; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.cloud.netflix.zuul.EnableZuulProxy; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.stereotype.Controller; /** * * @author edcracken */ @Configuration @ComponentScan @EnableAutoConfiguration @Controller @EnableZuulProxy public class ProxyApplication { public static void main(String[] args) { new SpringApplicationBuilder(ProxyApplication.class).web(true).run(args); } }