Foojay.io | Friends of OpenJDK and Java Programming

Writing a book. Does it make you rich and famous? (#67)

Foojay.io | Friends of OpenJDK and Java Programming

Show Notes

Let me share a personal story. I started experimenting with Java on a Raspberry Pi about five years ago and blogged a few articles about it. But the more I experimented, the more I wrote down, and eventually, I had written a book… I worked on it for six months in a row, every evening and a lot of weekends. But the moment I received the box with my author copies was an incredible feeling. Holding a paper book with your name is a special moment.

Fast forward to now. The 1000 paper copies are sold out. I have the last 10 copies in case you still want one ;-) But as I self-published the ebook, it's still for sale on Leanpub, and I keep updating it. That's one of the first significant differences between publishing a paper book and an ebook…. As an author, I got about 2 euros per paper book from the publisher, and LeanPub pays 80% royalties. Don't forget that I have to pay taxes on what I earn. So, if you do the math, you'll understand that the book didn't make me rich. But yes, it helped me in my career and was one of the reasons I became a Java Champion. So, we can argue about the "becoming famous".

But that's only my story. I invited several guests to share their knowledge about book writing:

Marián Varga is finishing a book and tells about publishing a book with a publisher.

Wim Deblauwe wrote a few books and has much experience with self-publishing.

Len Epp is the co-founder of Leanpub, so he can tell us a lot about ebooks.

And we start with Trisha Gee, who wrote a lot of books!

Guests Trisha Gee https://www.linkedin.com/in/trishagee/ https://jvm.social/@trisha_gee https://bsky.app/profile/trishagee.bsky.social https://x.com/trisha_gee Len Epp https://www.linkedin.com/in/lenepp/ https://bsky.app/profile/lenepp.bsky.social https://x.com/lenepp Wim Deblauwe https://www.linkedin.com/in/wimdeblauwe/ https://bsky.app/profile/wimdeblauwe.com https://www.youtube.com/@WimDeblauwe https://www.wimdeblauwe.com/ https://www.widit.be/ Marián Varga https://www.dastalvi.com/book/ https://www.linkedin.com/in/mari%C3%A1n-varga-4869a042/ https://mastodon.social/@mrvarga

Links

Book by Frank https://webtechie.be/books/ https://leanpub.com/gettingstartedwithjavaontheraspberrypi/ Books and links by Trisha Gee https://trishagee.com/books/ https://trishagee.com/2022/12/12/tools-and-processes-for-collaborating-on-a-book-remotely/ https://trishagee.com/2022/12/01/writing-a-book-is-hard/ https://medium.com/97-things https://youtu.be/RzaNJzz5jW8 https://learning.oreilly.com/search/?q=trisha%20gee&rows=100&language=en&language=es Books by Wim Deblauwe https://www.infoq.com/minibooks/spring-boot-api-backend-version2/ https://www.wimdeblauwe.com/books/modern-frontends-with-htmx https://www.wimdeblauwe.com/books/taming-thymeleaf/ Book by Marián Varga https://www.dastalvi.com/book/ https://bsky.app/profile/love2integrate.com Leanpub https://www.youtube.com/leanpub https://twitter.com/leanpub https://mastodon.social/@leanpub https://www.instagram.com/leanpub https://bsky.app/profile/leanpub.bsky.social Lulu https://www.lulu.com/

Content

00:00 Introduction of the topic and guests

01:53 Books by Trisha Gee 02:24 Trisha's motivation for writing books 04:13 Difference between publisher and self-publishing 09:53 Publishers are looking for authors and course creators 12:55 How long do you work on a book? 17:35 Can we expect a new book by Trisha? 21:00 Automating the writing process

24:50 Len Epp about Leanpub and how it started 27:18 On Leanpub, you can publish a book-in-progress 27:51 Different publishing processes with Leanpub 30:20 You can use LeanPub to generate your book, but you don't need to sell it on Leanpub 32:57 80% of the selling price goes to the author 40:09 How to market your book 45:35 Let an expert handle the payments...

50:55 Books by Wim Deblauwe 51:45 Wim's motivation for writing books 53:15 Earning back the time spent on the writing 54:37 How to sell p

More from Foojay.io | Friends of OpenJDK and Java Programming

Oct 17, 2026

Runtime reflection is a quiet tax on the JVM. It is flexible, it is everywhere, and it is easy to stop noticing it until you go looking for where your CPU is actually going. Two teams did exactly that, in completely different corners of the ecosystem, and arrived at the same answer: move the work to build time. In this episode, Dmitry Moskalyuk explains the model layer behind his Foojay article on reflection-free serialization, where JSON, XML, YAML and TOML all end up as Avro. Shai Almog explains the build-time codegen pipeline of Codename One, which aims for no reflection, no service loader and no Class.forName. We compare the two and ask whether generated code is really something to avoid. Topics include: Where Jackson's reflection cost really lives, and what Blackbird does about it Jackson versus kotlinx.serialization, and why a missing feature sent the team back to Jackson Why a UI framework bans reflection, and how that differs from the backend Is generated code bad? Lombok, Manifold and jOOQ What Records and Project Leyden change for reflection Build time cost versus runtime cost, and a single source of truth for your data model Should you still use reflection in a new project?

Oct 3, 2026

Foojay.io quietly moved off WordPress and onto Hugo. No more CMS login, no database, no admin panel — just Markdown and AsciiDoc files, built and deployed straight from GitHub. So is a traditional CMS still the right way to run a content site in 2026, or has static tooling caught up? In this episode, Andy Damevin and Holly Cummins from the Red Hat Quarkus team join to talk through it. Andy created code.quarkus.io and Roq, Quarkus's own Java-based static site framework; Holly led the migration of quarkus.io itself from Jekyll to Roq. We go through the real security numbers behind WordPress's plugin ecosystem, and put very different static site generators head to head: Hugo and Jekyll, the veterans, versus Roq, the newcomer. Topics include: Why WordPress core is usually fine, and the plugins are where the trouble is — over 10,000 plugin vulnerabilities found since 2025 What "recovery" means for a static site versus a CMS after a hack or defacement Jekyll, Hugo, Roq and JBake compared, and why staying in Java matters (or doesn't) How to extend Roq as a Java developer, from a small PR to writing your own plugin What an actual WordPress-to-Roq migration looks like in practice Where a CMS still earns its keep despite all of this

Sep 12, 2026

Episode 101 of the Foojay Podcast. JDK 27 arrives on 15 September 2026 without finalising a single new piece of language syntax. It is still worth the upgrade: object headers shrink from 64 bits to 32, which the JEP measures at 22% less heap and 8% less CPU on SPECjbb2015, and G1 becomes the default garbage collector on every machine. Both changes live inside the JVM, so an application you compiled years ago picks them up with no code change at all. Simon Ritter, Deputy CTO at Azul and Java Champion, takes us through all nine JEPs in the release, explains why a non-LTS version is still worth testing against, and makes the point that "long-term support" describes the binary you download rather than anything in OpenJDK itself. We also cover the move from quarterly to monthly security updates that started in August 2026, and then look ahead to March 2027, when Project Valhalla reaches its first preview after roughly twelve years of work. Topics include: Compact object headers by default, and what 22% less heap actually buys you in production Post-quantum key exchange in TLS 1.3, and the harvest-now-decrypt-later attack it defends against JFR redaction: keeping access tokens and passwords out of flight recordings you share Structured concurrency in its seventh preview, and why an evolving API stays in preview The Vector API's twelfth incubation, and what it is waiting for Value Objects in Java 28: a new value keyword, 179,000 lines, 1,800 files, and why it will not be final in JDK 29 Whether a Simple JSON API in the JDK will survive its previews, or go the way of string templates

Jul 11, 2026

Episode 100 of the Foojay Podcast. No grand plan. It just happened. To mark the milestone, Frank turned the microphone around and invited other podcasters: Adam Bien (airhacks.fm), Jennifer Reif (Breaktime Tech Talks), Kadi McKean and Steve Pool (10xInsights), and Oumaima Zerouali (JCast). Same questions for each: why did you start, what broke, and what did you learn? Along the way: why a no-prep podcast works when you have 20 years of experience, the difference between writing a blog and recording a podcast, burnout from editing, AI tools that changed someone's voice into Batman, and why a Dutch Java podcast about the human side of development got its first episode from a calendar invite that became a recording.

Jun 20, 2026

Your Java AI application is live in production. But have you tested whether it can be jailbroken, manipulated into revealing its system prompt, or tricked into printing content it should never output? In this episode, Iryna Dohndorf, Software Engineer at Karakun Group and creator of Tiberius, explains how to bring security testing to LLM-powered Java applications. We cover why traditional unit tests break down with non-deterministic systems, how the Scan-Fixture-Validate workflow works, what buff mutation testing is, and why even well-trained models can be cracked with something as simple as the grandmother attack. Topics include: Why LLM non-determinism breaks the classic input/output test model The Scan-Fixture-Validate principle and sharing test artifacts across teams Prompt injection, jailbreaks, and emotional manipulation attacks Buff mutation: testing linguistic surface coverage Probabilistic security contracts and multi-trial scans Fingerprinting and why your model choice should not be detectable LLM as a judge: using a second model as a guardrail Getting started with Tiberius in Spring Boot and LangChain4j Guest Iryna Dohndorf - Software Engineer at Karakun Group LinkedIn Links Article on Foojay Tiberius on GitHub Security Testing Guide Timestamps 00:00 Introduction of topic and guest 01:05 The problem Tiberius wants to solve 06:39 How "traditional" unit tests don't work for LLM integrations 10:23 Scan-Fixture-Validate principle and sharing artifacts 15:15 Using different skills, for example, the grandmother skill 17:33 Testing for required versus forbidden bias 19:35 The probes across nine attack categories used by Tiberius 20:44 Buff mutation testing 26:55 Using Tiberius in your pipelines and when to fail 29:35 Using multi-trial scans 31:14 Fingerprinting: which model you use, should not be detectable 32:55 Combining multiple models, model as a judge 34:41 Sharing JSON models to improve tests 36:05 How to get started with Tiberius in Spring and with LangChain4j 36:41 Quarkus not supported yet, plans for the future 39:07 Conclusions and a call out to everyone to become a Foojay author

See all episodes →