foojay

DuckDB in Spring Batch: Replace In-Memory Java Loops with One SQL Statement

Author: Geertjan Wielenga Original post on Foojay: Read More Spring Batch jobs usually follow the same pattern: an ItemReader streams rows, an ItemProcessor transforms each one, and an ItemWriter writes them out, chunk by chunk. A chunk-oriented step wires those three pieces together: new StepBuilder("transform", jobRepository) .<Order, Summary>chunk(1_000, transactionManager) .reader(reader) // stream rows .processor(processor) // transform each row .writer(writer) // …

Read More »

Introduction to Retrieval-Augmented Generation with Java and MongoDB

Author: Otavio Santana Original post on Foojay: Read More Modern organizations store large volumes of information in documents, databases, internal platforms, support systems, policies, and operational tools. However, having data does not guarantee that employees or applications can access the right information when needed. As data grows, traditional search tools often fail to identify context, meaning, and relationships between distributed …

Read More »

Push V3: One Message From Your Server to Every Surface

Author: Shai Almog Original post on Foojay: Read More Push notifications should be application infrastructure, not a pile of expiring certificates and provider-specific JSON. What is Codename One? Codename One is an open-source framework for building native iOS, Android, desktop, and web apps from a single Java or Kotlin codebase. Learn more at codenameone.com. This week we merged Push V3 …

Read More »

Embedding DuckDB in a Maven App (and Using It for Things That Aren’t Databases)

Author: Geertjan Wielenga Original post on Foojay: Read More DuckDB is described as “SQLite for analytics,” which is true: it’s an in-process database engine that runs inside your application, with no server to install or manage. What’s less obvious from that description is that you can get value out of it without ever creating a database at all. Because it …

Read More »

Sheetmusic4J 0.0.3: ABC Notation, Guitar Pro, Engraving Improvements

Author: Frank Delporte Original post on Foojay: Read More Last week I introduced Sheetmusic4J, a Java(FX) library to render and interact with sheet music. That first 0.0.1 release was really a question more than a product: is there any interest in a native Java(FX) sheet music library before I invest more time in it? So I shared it on social …

Read More »

Jakarta Agentic AI Hits Its First Milestone

Author: Dominika Tasarz Original post on Foojay: Read More Jakarta Agentic AI just shipped its first deliverable: version 1.0.0-M1 is live on Maven Central and the draft 1.0 specification is out for review. The project now has a specific API surface that developers can look at, try out and give feedback on. Quick recap – what is Jakarta Agentic AI? …

Read More »

Idempotent REST Endpoints Without the Boilerplate

Author: Youssef Ben Henda Original post on Foojay: Read More Stop Charging Your Users Twice: Idempotent REST Endpoints with One Annotation By Youssef Ben Henda The problem nobody talks about until production A user taps “Pay.” The request times out. Their app retries. Your server charges them twice. You didn’t write a bug. The network did. But your users don’t …

Read More »

The Codename One JavaScript Port Is Now Free and Open Source

Author: Shai Almog Original post on Foojay: Read More The Codename One JavaScript port is now open source and available on every plan, including Free. You can also build the JavaScript target locally without a Codename One account. What is Codename One? Codename One is an open-source framework for building native iOS, Android, desktop, and web apps from a single …

Read More »