Java Articles by Foojay.io

June, 2024

  • 20 June

    Exploring New Features in JDK 23: Simplifying Java with Module Import Declarations with JEP 476

    As Java evolves, simplifying code and improving developer productivity remain priorities. JEP 476 introduces a new feature in JDK 23: Module Import Declarations. This feature aims to streamline the process of importing multiple packages from a module, enhancing code readability and reducing boilerplate. What is JEP 476? JEP 476 proposes the ability to import all packages exported by a module …

    Read More »
  • 20 June

    Even More Opentelemetry!

    I continue to work on my Opentelemetry demo. Its main idea is to showcase traces across various technology stacks, including asynchronous communication via an MQTT queue. Recently, I added a couple of components and changed the architecture. Here are some noteworthy learnings; note that some of them might not be entirely connected to OpenTelemetry. Here’s an updated diagram. New components …

    Read More »
  • 20 June

    Why is Kubernetes Debugging so Problematic?

    The Immutable Nature of Containers The Limitations of kubectl exec Avoiding Direct Modifications Enter Ephemeral Containers Using kubectl debug Practical Application of Ephemeral Containers Security Considerations Interlude: The Role of Observability Command Line Debugging Connecting a Standard IDE for Remote Debugging Conclusion Debugging application issues in a Kubernetes cluster can often feel like navigating a labyrinth. Containers are ephemeral by …

    Read More »
  • 18 June

    Java on Visual Studio Code May 2024 Update โ€“ New AI Feature, Spring Updates

    Hi everyone, welcome to the May update for Visual Studio Code for Java! In this articlem we are going to share an exciting new AI related feature for Java developers on Visual Studio Code. In addition, there will be several important Spring updates, so let’s get started. Rewriting your Java code with Copilot-based suggestions As our code undergoes updates and …

    Read More »
  • 17 June

    Foojay Podcast #53: JCON Report, Part 5 โ€“ CQRS, JOOQ, GraphQL, API, Vaadin, OpenRewrite, ErrorProne, Gateways, Proxies,โ€ฆ

    This is the final part of the JCON interviews. Did I save the best for last? It’s up to you to decide… In this episode you’ll hear Simon Martinelli, Nicolas Frรคnkel, Marcus Hellberg, Rick Ossendrijver, and Abdel Sghiouar. We talked about a bunch of topics like evolving your APIs, GraphQL, Java versus Kotlin versus Rust, Vaadin, AI and ChatGPT, OpenRewrite, …

    Read More »
  • 14 June

    Book review: Frontend Development with JavaFX and Kotlin

    For a personal pet project, I started experimenting with JavaFX and Kotlin to create a user interface with a lot of Java / Kotlin background processing. As I knew there is a book available on this specific topic, Apress was so kind to send me a review copy of Frontend Development with JavaFX and Kotlin: Build State-of-the-Art Kotlin GUI Applications …

    Read More »
  • 13 June

    Debugger.godMode() โ€“ Hacking a JVM application with the debugger

    Back in the day, computer games were different. Not only have graphics and mechanics evolved since, but there’s also one characteristic that doesn’t seem very common in games today: nearly all of them had cheat codes. Cheat codes were sequences of keys that would give you something extraordinary, such as infinite ammo or the ability to walk through walls. The …

    Read More »
  • 12 June

    Vaadin 24.4 Adds React Support, In-App Coding Assistant

    Unified Vaadin Platform: Seamless Integration with Hilla 24.4 adds React support to the entire Vaadin platform by including the Hilla framework. The Vaadin BOM and Vaadin Spring Boot Starter now include Hilla, allowing you to choose between Flow and Hilla or mix both in your projects. Vaadin Copilot: an in-app development assistant Vaadin 24.4 introduces Vaadin Copilot, a visual development …

    Read More »
  • 11 June

    Become a Better Java Developer: 19 Tips for Staying Ahead in 2024

    Recently I reached out to one of my fellow Java developers who is very experienced and has been working in the industry forever and asked for his thoughts about the observability improvements in JDK 21 and Spring Boot 3.2 and if he has already migrated from 17 to 21 and to Spring Boot 3.2. This is the reply I got …

    Read More »
  • 10 June

    Foojay Podcast #52: JCON Report, Part 4 โ€“ Garbage Collectors, Intelligence Cloud, Test Containers and Flaky Tests, ToxiProxy, Structured Concurrency, Virtual Threads

    This is part 4 of the JCON interviews! In this episode, we have 5 new guests for you. We start with garbage collectors and Intelligence Cloud, a tool created by Azul to find out which of your code is actually used in production and which dependencies are known to have vulnerabilities. My colleague Gerrit Grunwald was at JCON to give …

    Read More »