Project Kotlin for Java Survivors: Life After Semicolons
Part 16: "The Second Opinion" — LangChain4j, Side by Side
The architecture review board asks what happens if Spring AI is the wrong bet, and Kabir answers with a second adapter. We implement the same ports with LangChain4j behind a profile, rebuild its index by replaying Kafka, run one test suite against both libraries, look at where Kotlin meets two Java APIs, and compare the libraries honestly. Then we wrap up the series.