4 ms·
Startup time is fine.. just don't use spring where it has to read every class at runtime to determine what to inject.
by vips7L 5y ago
Startup time is fine.. just don't use spring where it has to read every class at runtime to determine what to inject.
- geodel 5y agoWell that's the Spring's great feature: To convert as many compile time errors in to runtime errors as possible.
- jpgvm 5y agoTo be fair there is the new Kotlin based wiring API which avoids that with the caveat you need to instantiate everything manually etc. Which is probably a decent tradeoff for some folks.
- vips7L 5y agoThere’s other alternatives like Avaje Inject and Quarkus which uses the same annotations but does the injection generation at compile time.