
How to Use Protobuf and gRPC Between Java Services
Use Protobuf and gRPC between Java services: define a proto file, generate code, write a server and client, set deadlines and evolve messages.
Everything you need to level up your coding skills.

Use Protobuf and gRPC between Java services: define a proto file, generate code, write a server and client, set deadlines and evolve messages.

Run periodic and cron jobs in Quarkus with the Scheduler extension, handle concurrency and identity, and switch to Quartz for clustered, persistent jobs.

Fix JSF input values that do not reach the bean: missing setter, request scope loss, validation failure, immediate, AJAX execute and wrong binding.

Turn on parallel test execution in JUnit 5: the configuration properties, execution modes, @Isolated and resource locks, and the shared state that breaks.

Debug a Java memory leak in production: confirm the growth, capture histograms and dumps safely, read the dominator tree and fix the holder.

A defensive checklist for Struts 2: upgrade, restrict method and parameter access, limit OGNL, check uploads and reduce what the server can do.

Package a Play application with sbt dist or a Docker image, set the secret key and allowed hosts, and run it behind a reverse proxy in production.

Send and receive Kafka messages in Micronaut with declarative producers and listeners, set serializers and offsets and test with a real broker.

Upgrade a Vaadin application across a major version: baselines first, then the Vaadin BOM, compile fixes, themes, the production bundle and rollback.

Use dependencyManagement and a bill of materials in Maven to align library versions: import scope, the Spring Boot BOM, overriding and writing your own BOM.

Speed up bulk inserts in Hibernate with sequence ids, jdbc.batch_size, ordered inserts and periodic flush and clear, then check the batches ran.

Build truly immutable Java classes with final fields, defensive copies and records, and see why shallow immutability fails and why it is thread safe.
We send one email when a new post is published. No spam.