Last active
September 22, 2021 14:48
-
-
Save behrangsa/6a7f050e7f6d193918ad7e910812fb28 to your computer and use it in GitHub Desktop.
Console based Spring Boot app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@SpringBootApplication | |
public class Main { | |
public static void main(String[] args) { | |
final ConfigurableApplicationContext context = SpringApplication.run(Main.class, args); | |
final AppBean app = context.getBean(AppBean.class); | |
app.run(args); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wonderful and thanks