Learning modern Java the playful way
summary
Prototype that indexes multimodal embeddings into Elastic and runs hybrid search with reciprocal rank fusion, demonstrated working end to end with keyword, vector and combined queries. Code shows compact source files and simple IO, uses stream gatherers (mapConcurrent) to spawn virtual threads for blocking IO instead of parallelStream, and replaces tangled CompletableFuture cancellation with structured concurrency, removing boilerplate. A vector API dot product demo runs about twice as fast in the demo. Everything builds and the demos run.
AI-written summary · about
chapters (21)
- 0:00Welcome
- 1:51Modern Java updates
- 6:09Agile Java migration
- 7:11Compact source files
- 8:55Demo approach
- 9:37Multimodal search prototype
- 13:09Java records
- 14:31Module imports
- 16:19Java 25 IO methods
- 18:25Stream gatherers
- 21:59Parallel streams and virtual threads
- 25:14Structured concurrency
- 34:23Markdown docs in Java 23
- 37:11Updating dependencies
- 42:35Primitive pattern matching
- 44:24Convincing stakeholders
- 45:05Vector API performance
- 51:02AI code generation
- 53:52Elasticsearch with Docker
- 55:38Modern Java summary
- 56:21Q&A
related talks
46mLearning modern Java the playful way
52mLearning modern Java the playful way
45mLearning modern Java the playful way
45mLearning Modern Java the Playful Way
43mLearning modern Java the playful way
29mUnleashing the Power of Vector Search and Semantic Caching in Java
46mBuilding Powerful GenAI Apps with Pure Java
25mFrom Full-Text to Vector Search: Modern Search Architectures for Java Applications
