Join Slack
Powered by
what is the advantage of using runApplication inst...
# spring
s
sendilkumarn [JHipster]
03/01/2018, 4:22 PM
what is the advantage of using runApplication instead of springApplication.run()
s
sdeleuze
03/01/2018, 4:30 PM
Shorter, more idiomatic syntax, allow to customize the application via a lambda.
sdeleuze
03/01/2018, 4:31 PM
See
https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-kotlin-api-runapplication
👍 2
s
sendilkumarn [JHipster]
03/01/2018, 5:07 PM
Yeah saw those, I was curious, if there were any perf benefits or something similar to that thanks 👍
s
sdeleuze
03/01/2018, 8:08 PM
Nope
s
sendilkumarn [JHipster]
03/01/2018, 8:09 PM
wow well thanks 😁
6
Views
Open in Slack
Previous
Next