I want to add an alternate entry point to my Spring-Boot application. I would prefer to keep this as a fat jar. Is this possible?
According to their documentation, the
I would suggest having a single main but using Spring profiles (or configuration properties) to select one or other "entry point" @Configuration class.
main
@Configuration