1. Spring and Java

>> Model Data, the Whole Data, and Nothing but the Data – Data Oriented Programming v1.1 [inside.java]

An interesting look at how we can use Records and Sealed types to model aggregates and interfaces to express different alternatives for those models.

>> JEP 477 Enhances Beginner Experience with Implicitly Declared Classes and Instance Main Methods and the JEP (Third Preview) [infoq.com] [openjdk.org]

No need to declare a proper public static main inside a class anymore.

>> Implement your primary key as a Record using an IdClass [thorben-janssen.com]

IdClass to represent compound primary keys: now it’s possible to use Java records elegantly and concisely. Good stuff.

Also worth reading:

Webinars and presentations:

Time to upgrade:

2. Technical & Musings

>> Data Fetching Patterns in Single-Page Applications [martinfowler.com]

Optimizing data fetching in Single Page Applications: strategies and best practices!

>> PostgreSQL COPY result set to file [vladmihalcea.com]

Using the PostgreSQL COPY command to export a large result set to an external file.

Also worth reading:

3. Pick of the Week

>> Extreme brainstorming questions to trigger new, better ideas [asmartbear.com]

Next »
Java Weekly, Issue 545
« Previous
Java Weekly, Issue 543
Course – LS – All
announcement - icon

Get started with Spring Boot and with core Spring, through the Learn Spring course:


Notify of
Inline Feedbacks
View all comments