Olivier Antoine
omlip.bsky.social
Olivier Antoine
@omlip.bsky.social
Reposted by Olivier Antoine
Last release of the year for the Spring Framework team.

Spring Framework 6.2.1 and 6.1.16 are available now

spring.io/blog/2024/12...

#spring @spring.io
Spring Framework 6.1.16 and 6.2.1 Available Now
Level up your Java code and explore what Spring can do for you.
spring.io
December 12, 2024 at 2:44 PM
Reposted by Olivier Antoine
Spring Boot 3.4 is available, with plenty of new features!

@Fallback bean is another option to provide additional beans of the same type. ConditionalOnSingleCandidate ignores those as long as there's either a primary or one non-fallback bean.

More details in the ref doc:
Fine-tuning Annotation-based Autowiring with @Primary or @Fallback :: Spring Framework
Because autowiring by type may lead to multiple candidates, it is often necessary to have more control over the selection process. One way to accomplish this is with Spring’s @Primary annotation.…
buff.ly
December 2, 2024 at 1:00 PM