Explore different types of runtime data areas and their purpose.
Search Results for: jdk
Java Weekly, Issue 473
Kotlin 1.8, infinite memory with Java 20, DTO projections with Blaze persistence, API design patterns, and functional classes.
Monads in Java – Optional
Explore why the Java Optional class is a monad.
Java Weekly, Issue 472
Project Panama update, Spring Boot CLI, GraalVM, Jakarta MVC, YugabyteDB pooling, and software maintenance!
Record Patterns in Java 19
Learn how record patterns allow us to extract the values of a record into variables using pattern matching.
Difference Between JPA and Spring Data JPA
Learn how Spring Data JPA and JPA both work with some high-level overviews and code snippets.
Java Weekly, Issue 471
MongoDB, Spring Modulith, liveness and startup probes for Spring Boot, Kafka on K8S, JVM debugging internals, and BigTable pagination in Java. Happy New Year 🙂
PrintStream vs PrintWriter in Java
A comparison between two classes to output content: PrintWriter and PrintStream, explaining the similarities and differences between them.
Java Weekly, Issue 470
Pattern matching, GraalVM into OpenJDK, transactional MDC, event sourcing, and Postgres as a Message Queue!
Java Weekly, Issue 469
GraalVM in OpenJDK, entity listeners, MicroProfile 6.0, RabbitMQ vs Kafka, and data pipelines at scale!
Fixing the No Main Manifest Attribute in Spring Boot
We may sometimes get the No Main Manifest Attribute error when building our Spring Boot applications. We look at the root cause and how to fix it.
Java Weekly, Issue 468
JMS enhancements, JakartaEE Serverless, revisiting DTO, Golang impressions, and new a K8S release!
Java Weekly, Issue 467
Panama improvements, fast Java startup in AWS lambda, Spring Boot error handling, TSID vs UUID, and dependency inversion!
Guide to Java PriorityQueue
A quick and practical guide to Java’s PriorityQueue.
Java Weekly, Issue 466
Spring Boot 3, from 1RPS to 26RPS, caching effect, K8S secrets, and unusual stack traces!
Difference Between Map.ofEntries() and Map.of()
Take a closer look at these two static factory methods for immutable maps and explain which one is suitable for which purpose.
Java Weekly, Issue 464
Spring 6 is finally out. Boot 3 is coming as well. Definitely a good week 🙂
Thread vs. Single Thread Executor Service
Learn the difference between a thread and an executor service having a single worker thread.
Spring @EnableMethodSecurity Annotation
Learn the main features of @EnableMethodSecurity and how it replaces @EnableGlobalMethodSecurity.
Java Weekly, Issue 463
Java thread deprecations, JPA locking, JVM logging, pattern matching, consistent caching at scale, and event sourcing!