Enterprise Java and Quarkus
Enterprise Java and Quarkus for Decision Makers
From CDI Sorcery to Container Sanity: A Java Week in Review
0:00
-17:38

From CDI Sorcery to Container Sanity: A Java Week in Review

Testing truths, semantic smarts, and the real reason your resource files keep disappearing

NOTE: This is an AI generated podcast exported from Google’s NotebookLM. I am still experimenting with this and am very excited to read about your feedback!

In this packed fourth episode of Enterprise Java and Quarkus for Decision Makers, we navigate the rich terrain of modern Java development with Quarkus. From advanced CDI tricks like reactive dependency injection and custom scopes, to security-focused input validation and dynamic CSV ingestion magic — we’ve got your back.

Ever wondered how to peek under the hood of your running Quarkus app? We break down Jolokia and Hawtio for real-time monitoring. If you’re curious about text embeddings and Java’s take on semantics, we explore cosine similarities and Ollama-powered AI.

And because no week is complete without a head-scratching container issue, we explain why your resource files go missing — and how to make peace with the ClassLoader. We wrap it up with a testing showdown: @QuarkusTest vs. @QuarkusIntegrationTest — which one should you really use, and when?

Tune in for practical insights, entertaining war stories, and a dose of Java sanity to power your week.

Advanced CDI in Quarkus: Native Images, Reactive DI, and Custom Scopes (May 05, 2025)

https://myfear.substack.com/p/advanced-cdi-quarkus-native-reactive-scopes

Covers advanced CDI topics like custom scopes with Build Compatible Extensions, lifecycle observation with @Startup and @Shutdown, CDI in native images, and reactive programming integration

Secure Your Java Apps: Input Validation with Quarkus Made Easy (May 06, 2025)

https://myfear.substack.com/p/quarkus-input-validation-owasp-java

Focuses on OWASP-compliant input validation using Jakarta Bean Validation (@Pattern, @NotBlank, etc.), server-side validation logic in JAX-RS resources, and displaying errors with Qute templates, including localization

Dynamic CSV Uploads in Java: Building Smart, Flexible Databases with Quarkus (May 07, 2025)

https://myfear.substack.com/p/dynamic-csv-uploads-java-quarkus-postgresql

Details building a flexible system to dynamically ingest any CSV file into PostgreSQL by creating tables on the fly based on header and type inference, using Hibernate Panache and Jackson CSV

What’s Really Going On in Your Quarkus App? A Java Developer’s Guide to Jolokia and Hawtio (May 08, 2025)

https://myfear.substack.com/p/whats-really-going-on-in-your-quarkus

Explains using Jolokia (JMX-HTTP bridge) and Hawtio (web console) for live introspection and monitoring of Quarkus application internals (MBeans, threads, memory), and integrating Micrometer for metrics, with emphasis on production security

From Strings to Semantics: Comparing Text with Java, Quarkus, and Embeddings (May 09, 2025)

https://myfear.substack.com/p/java-quarkus-text-embeddings-similarity

Describes building a service for semantic text similarity using text embeddings generated via LangChain4j and Ollama, comparing them with cosine similarity and Euclidean distance, and visualizing results

Stop Getting FileNotFound in Containers: How Java Developers Can Load Resources Correctly with Quarkus (May 10, 2025)

https://myfear.substack.com/p/classpath-resource-access-quarkus-java-containers

Addresses accessing static resource files in containerized Quarkus apps, recommending the Java ClassLoader (getResourceAsStream) over file paths for reliability across JVM and native modes, and discussing alternatives for dynamic files

Mastering Quarkus Testing: When to Use @QuarkusTest vs. @QuarkusIntegrationTest (May 11, 2025)

https://myfear.substack.com/p/quarkus-testing-quarkustest-vs-quarkusintegrationtest

Compares @QuarkusTest (in-JVM, classloader isolation, fast component testing) and @QuarkusIntegrationTest (out-of-process, black-box, production-like testing for final artifacts), advocating for a combined strategy

Thanks for reading Enterprise Java and Quarkus! Subscribe for free to receive new posts directly in your inbox.

Discussion about this episode

User's avatar