basic keywords - technoangel/java GitHub Wiki

Basic Spring Keywords

CommandLineRunner

Used to capture command-line arguments that might have to be passed into the application

SpringApplication

Creates a Spring application with a container and the attached beans.

public class MyProject {
  public static void main(String[] args) throws Exception {
    new SpringApplication(MyProject.class).run(args);
  }
}