2 ms·
I hope spring moves to compile time di like quarkus and ajave inject instead of scanning the classpath at runtime.
by vips7L 5y ago
I hope spring moves to compile time di like quarkus and ajave inject instead of scanning the classpath at runtime.
- _old_dude_ 5y agoYou mean Spring native [1], i think it's not ready yet. [1] https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/ https://docs.spring.io/spring-native/docs/current/reference/...
- vips7L 5y agoNo I do not. I do not want native image. I want the dependency injection container created at compile time like Dagger2 [0] or Avaje Inject [1] or quarkus without native image. [0] https://dagger.dev https://dagger.dev [1] https://avaje.io/inject/ https://avaje.io/inject/
- _old_dude_ 5y agoYou can use the Spring AOT plugin [1] without enabling the support of GraalVM native image [1] https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/#_add_the_spring_aot_plugin https://docs.spring.io/spring-native/docs/current/reference/...
- vips7L 5y agoOhhh I see. Thank you!
- dlbucci 5y agoIsn't that what Micronaut does, from the creators of Spring? I never used the latter, but I really like working with the former.
- derkoe 5y agoYes, Micronaut and Quarkus do that. Micronaut was created by a company (https://objectcomputing.com/ https://objectcomputing.com/)