
All about #Kotlin, #Java, #Spring, #JavaFx, #Scala, #maven. Creator of https://xitter.gq/t.co/qll4j29CXt… https://xitter.gq/t.co/9xhawcttkx
Beijing
Joined October 2017
- Tweets119
- Following189
- Followers49
- Likes99
Yoann CAPLAIN retweeted
💡 Mockito Tip: when the result of the mocked method is dynamic and depends on the method argument, instead of using `thenReturn`, use `thenAnswer`:
Yoann CAPLAIN retweeted
📝 Spring Boot and Flyway - clear database between integration tests
Exploring different approaches with @springboot, @flywaydb and @junitteam
👉 maciejwalkowiak.com/blog/spr…
Yoann CAPLAIN retweeted
Millions have downloaded @axonframework since its genesis – and the latest update includes several highly-requested features such as the Dead-Letter Queue.
Learn more from @allardbz & @smcvbeelen in the latest episode of #ExploringAxon: hubs.li/Q01s-Txc0
Yoann CAPLAIN retweeted
A very neat addition to the @java 19 API: map/set factory methods like HashMap::newHashMap(int), returning a collection sized so it can hold the given number of elements without resizing. Sometimes it's the little things 🥳.
docs.oracle.com/en/java/java…
Yoann CAPLAIN retweeted
Yesterday we released a new version of Axon Framework. This blog by Mitchell Herrijgers is a short overview of the new features.
#eventdriven #opensource #axonframework
axoniq.io/blog/axon-framewor…
Yoann CAPLAIN retweeted
Use C11 as baseline for C source code in the JDK
I propose we go ahead with this change, and raise the minimum C language level to C11, and also get it consistent across all platforms.
more @ mail.openjdk.org/pipermail/j…
#OpenJDK
Yoann CAPLAIN retweeted
Question to the community: Which minimum JDK version should be required for the future Apache Maven 4.0.0 ? @ASFMavenProject ? Please retweet as much as possible to reach more people. (Version available at GA mean the version available at the time of the 4.0.0 release) WDYT?
16%JDK 8
37%JDK 11
43%JDK 17
4%Version available at GA
1,841 votes • Final results Yoann CAPLAIN retweeted
📝 Blogged: "The JDK Flight Recorder File Format"
Spent some time with a debugger and a hex editor for exploring the format of #JFR recordings, and how it efficiently stores large numbers of events. #Java
morling.dev/blog/jdk-flight-… (link to SVG version of the image inside)
Yoann CAPLAIN retweeted
Why Kafka is not a good fit for message queues and why you should instead use a system that supports individual acknowledgements such as @apache_pulsar 👇
Quick 🧵 on what's "Head-of-Line Blocking" in @apachekafka, why it is a problem, and what some mitigation strategies are.
Context: Records in Kafka are written to topic partitions, which are read sequentially by consumers. To parallelize processing, consumers can be organized in
Yoann CAPLAIN retweeted
Targeted to JDK 19: JEP 425: Virtual Threads (Preview): openjdk.java.net/jeps/425 #jdk19 #openjdk #java
Yoann CAPLAIN retweeted
Proposed to target JDK 19: JEP 425: Virtual Threads (Preview): openjdk.java.net/jeps/425 #jdk19 #openjdk #java
Yoann CAPLAIN retweeted
Here comes Loom!
Proposed to target JDK 19: JEP 425: Virtual Threads (Preview): openjdk.java.net/jeps/425 #jdk19 #openjdk #java
Yoann CAPLAIN retweeted
Ahead of next month's 3.0 M1 release, we've published the first snapshots of Spring Boot 3.0 based on Spring Framework 6.0 snapshots. As @springjuergen announced (spring.io/blog/2021/09/02/a-…), these snapshots require Java 17 and Jakarta EE 9.
Yoann CAPLAIN retweeted
I've implemented Async-Await in Java with the Project Loom preview.. less then 100 lines of code.
github.com/AugustNagro/java-…
And an optimized version for Vertx:
github.com/AugustNagro/vertx…
Yoann CAPLAIN retweeted
IntelliJ IDEA 2021.3 EAP 4 is available for download! Get it now and try out:
- Support for remote development
- Accessibility updates
- Support for Groovy 4
blog.jetbrains.com/idea/2021…




















