Recent Posts

Research: Measuring Energy Consumption in Programming Languages for AI Applications

Author: Miro Wengner Original post on Foojay: Read More Decades ago, I contributed to a very interesting project called SunSPOT at SUN Microsystems. It was a small device with wireless connectivity, built-in sensors, running on Java (compatible with runtime 1.6), and powered by battery. It enabled the design of small applications and the connection of additional hardware, or simply the …

Read More »

Foojay Podcast #78: Welcome to OpenJDK 25!

Author: Frank Delporte Original post on Foojay: Read More Table of Contents VideoPodcast (Audio Only)GuestsContent We’re excited to present the first episode of the Foojay Podcast’s fifth season, marking the release of OpenJDK 25! For the first time, an OpenJDK release is aligned with the year, and we can welcome release 25 in 2025. As usual in the release podcast, …

Read More »

MongoDB Schemas in Java

Author: Luke Thompson Original post on Foojay: Read More Table of Contents Why MongoDB and Java are such good friendsThe missing schema of loosely typed systems Bringing schema back Example: Spring Boot sea temperature service  Sea temperatures  Weather reports  Schemas Tip—BSON IDs and the _id field Traps—record definitions for POJO codec Data access Tip—typed queries with MongoCollection<> generics Trap—pagination and aggregate facets Creating our API Tip—indexing Trap—check your explain plans! Why …

Read More »