public static void main(String[] args){
  System.setProperty("spring.config.name","web-server");
  SpringApplication.run(WebServer.class,args);
}

public static void main ( String [ ] args ) { System . setProperty ( "spring.config.name" , "web-server" ) ; SpringApplication . run ( WebServer . class , args ) ; }
run the application using spring boot and an embedded servlet engine .
