Frameworks75k+ stars
Spring Boot
Convention over configuration for Spring applications
Commit Details
- Message
- "Initial commit"
- Author
- Phil Webb
- Date
- 2012-10-19
- Hash
- 15a3df9f4ac4d4d4d4d4d4d4d4d4d4d4d4d4d4d4
Fun Fact
Spring Boot was created to address the complexity of Spring configuration. It follows the "convention over configuration" philosophy.
</>First Code
Java
/*
* Copyright 2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0
*/
package org.springframework.boot;
@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
// The magic: auto-configuration
@Configuration
@EnableAutoConfiguration
@ComponentScan
public @interface SpringBootApplication {
}← All Projects
23 of 48