<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Java on Michael Hönnig</title><link>https://michael.hoennig.de/en/tags/Java/</link><description>Recent content in Java on Michael Hönnig</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><copyright>© 2026 Michael Hönnig</copyright><lastBuildDate>Fri, 22 Aug 2025 00:00:00 +0200</lastBuildDate><atom:link href="https://michael.hoennig.de/en/tags/Java/index.xml" rel="self" type="application/rss+xml"/><item><title>Exploring Lombok’s val: Advantages and Disadvantages</title><link>https://michael.hoennig.de/en/blog/2025/2025-08-22-discussing-lombok-val/</link><pubDate>Fri, 22 Aug 2025 00:00:00 +0200</pubDate><guid>https://michael.hoennig.de/en/blog/2025/2025-08-22-discussing-lombok-val/</guid><description>This article examines Lombok’s &lt;code&gt;val&lt;/code&gt; — how it uses annotation processing to infer local variable types and enforce finality—highlighting benefits like cleaner, more readable code, compile-time safety, immutability, pre–Java 10 support, and seamless Lombok integration, while weighing drawbacks such as redundancy with Java 10+ var, reduced flexibility due to final variables, reliance on compiler internals with potential compatibility risks, and possible lag in new JDK support; it recommends using val chiefly in Lombok-heavy, pre–Java 10, immutable contexts, but preferring native var in modern Java and planning a long-term shift toward Java-native features.</description></item><item><title>Exploring the aider AI Coding Assistant in a Non-Trivial Codebase</title><link>https://michael.hoennig.de/en/blog/2025/2025-04-11-exploring-the-aider-ai-coding-assistant/</link><pubDate>Fri, 11 Apr 2025 00:00:00 +0200</pubDate><guid>https://michael.hoennig.de/en/blog/2025/2025-04-11-exploring-the-aider-ai-coding-assistant/</guid><description>While most AI code generation examples show how to quickly bootstrap a new web application, I was curious how far an AI coding assistant can take me in an existing, non-trivial codebase – one with a Java backend, automated tests, APIs (OpenAPI), PostgreSQL database migrations (Liquibase). So, I decided to explore the open-source AI tool aider, applying it to one of my Open Source projects.</description></item><item><title>Book Review: Java by Comparison: Become a Java Craftsman in 70 Examples</title><link>https://michael.hoennig.de/en/blog/2018/2018-11-24-Book-review-Java-by-Comparison/</link><pubDate>Sat, 01 Dec 2018 00:00:00 +0100</pubDate><guid>https://michael.hoennig.de/en/blog/2018/2018-11-24-Book-review-Java-by-Comparison/</guid><description>&amp;ldquo;Java by Comparison&amp;rdquo; leads the reader through 70 examples into software-craftship. Each example compares a snipped of typical &amp;ldquo;unclean&amp;rdquo; code with a &amp;ldquo;clean&amp;rdquo; replacement, including a short discussion about the reasoning.</description></item><item><title>Course Review "Spring Framework 5: Beginner to Guru" (Udemy)</title><link>https://michael.hoennig.de/en/blog/2018/2018-04-02-course-review-spring-framework-5-beginner-to-guru-udemy/</link><pubDate>Mon, 02 Apr 2018 00:00:00 +0200</pubDate><guid>https://michael.hoennig.de/en/blog/2018/2018-04-02-course-review-spring-framework-5-beginner-to-guru-udemy/</guid><description>Wow, this amazing 34 hours video course Spring Framework 5: Beginner to Guru (with SpringBoot 2.0) is really quite massive! Learning almost full time, it took me a little over 2 weeks to work through. Ok, I admit, I only really completed ~99% because I skipped a few cookbook goodies which are currently completely irrelevant for me.</description></item><item><title>Form submit method-mapping with @RequestMapping / @PostMapping etc. in Spring</title><link>https://michael.hoennig.de/en/blog/2018/2018-03-23-form-submit-method-mapping-with-requestmapping-postmapping-etc-in-spring/</link><pubDate>Fri, 23 Mar 2018 00:00:00 +0100</pubDate><guid>https://michael.hoennig.de/en/blog/2018/2018-03-23-form-submit-method-mapping-with-requestmapping-postmapping-etc-in-spring/</guid><description>Recently I ran across a missing &lt;code&gt;method=&amp;quot;post&amp;quot;&lt;/code&gt; in a &lt;code&gt;&amp;lt;form ...&amp;gt;&lt;/code&gt; tag within a Thymeleaf template which was working despite an &lt;code&gt;@PostMapping&lt;/code&gt; annotation of the SpringFramework on the controller method. I was wondering how this could happen and did some investigation. Hopefully this article gives a better chance for the next one who runs into this problem.</description></item><item><title>LiveReload in Chrome and Firefox with SpringBoot and IntelliJ IDEA</title><link>https://michael.hoennig.de/en/blog/2018/2018-03-19-livereload-in-chrome-and-firefox-with-springboot-and-intellij-idea/</link><pubDate>Mon, 19 Mar 2018 00:00:00 +0100</pubDate><guid>https://michael.hoennig.de/en/blog/2018/2018-03-19-livereload-in-chrome-and-firefox-with-springboot-and-intellij-idea/</guid><description>Working on a web application with SpringBoot and want your changes made in IntelliJ IDEA to be visible in the browser right away? Then this is for you:</description></item><item><title>Course Review "The Complete Microservices with Spring Course" (Udemy)</title><link>https://michael.hoennig.de/en/blog/2018/2018-03-14-course-review-the-complete-microservices-with-spring-course-udemy/</link><pubDate>Wed, 14 Mar 2018 00:00:00 +0100</pubDate><guid>https://michael.hoennig.de/en/blog/2018/2018-03-14-course-review-the-complete-microservices-with-spring-course-udemy/</guid><description>Recently I&amp;rsquo;ve worked through the video course &amp;ldquo;The Complete Microservices with Spring Course&amp;rdquo; by MleTech Academy, LLC, which is an introduction to the most important Spring modules for building microservices.</description></item><item><title>Course Review „Become at ease with Java 8“ (Udemy)</title><link>https://michael.hoennig.de/en/blog/2018/2018-03-02-course-review-become-at-ease-with-java-8-udemy/</link><pubDate>Fri, 02 Mar 2018 00:00:00 +0100</pubDate><guid>https://michael.hoennig.de/en/blog/2018/2018-03-02-course-review-become-at-ease-with-java-8-udemy/</guid><description>Having mostly used Java 7 in the last years and after some month of coding only with TypeScript, JavaScript and Solidity, I&amp;rsquo;ve now worked through the video course „Become at ease with Java 8“ by Stijn De Mulder. My motivation was to give me a refresh on Java 8 features, which I only knew from magazine articles and &amp;ldquo;playing around&amp;rdquo;.</description></item></channel></rss>