Is it possible to run your own starter without prior configuration?
sobes.tech AI
Answer from AI
In Java, launching a custom starter (for example, a Spring Boot Starter) without prior configuration is possible if the starter contains default settings and auto-configuration.
Spring Boot uses an auto-configuration mechanism that automatically configures components based on the presence of certain classes and settings in the classpath. If your starter is properly designed and contains the necessary annotations and spring.factories files, it can be launched without additional configuration.
However, for correct operation, at least minimal configuration is often required, such as specifying database connection parameters or other mandatory properties.
Thus, launching a custom starter without prior configuration is possible if the starter is designed with default settings and auto-configuration in mind.