TimeLine Layout

January, 2023

  • 13 January

    Spring boot scheduling in depth

    In dit artikel behandelen we kort wat scheduling inhoudt en de mogelijkheden die het biedt. Hierna gaan we deze implementeren door middel van Spring Boot. Spring Boot maakt het implementeren van scheduling erg eenvoudig, maar zoals alle autoconfiguratie die Spring Boot biedt, kun je deze aanpassen. Om dit te kunnen gaan we de autoconfiguratie van scheduling onder de loep nemen, …

    Read More »
  • 12 January

    Writing a Profiler from Scratch: The Profiling Loop

    This is the second post in the series, building a profiler from scratch using AsyncGetCallTrace. Today, we’re covering wall-clock profiling and how to collect the obtain stack traces. If you’re unfamiliar with AsyncGetCallTrace, please check out my previous article in the series here. Our goal today is to essentially write the primary loop of a profiler and do the following …

    Read More »
  • 12 January

    Unsafe Deserialization Vulnerability in SnakeYaml (CVE-2022-1471)

    SnakeYaml is a well-known YAML 1.1 parser and emitter for Java. Recently, a vulnerability — CVE-2022-1471 — was reported for this package. This vulnerability can lead to arbitrary code execution. The org.yaml:snakeyaml package is widely used in the Java ecosystem, in part because it is packaged by default with Spring Boot in the spring-boot-starter. In this article, we look into the security vulnerability affecting this …

    Read More »
  • 12 January

    Testing Security

    Security. Een Engels woord van 8 letters, maar met een grote betekenis voor IT’ers, althans dat zou het moeten hebben. Veelal wordt over security pas laat in het ontwikkeltraject nagedacht. Als er dan al over nagedacht wordt, wordt er veelal alleen gekeken naar toegang tot de applicatie, authenticatie en autorisatie. Echter is het niet onbelangrijk om er meer rekening mee …

    Read More »
  • 11 January

    Why Your Choice of Java Virtual Machine (JVM) Matters More Than Ever

    In my recent interview with Software Daily, I discussed that there are many companies looking for better customer experience, faster execution, and lower infrastructure costs… and that they have discovered a better use of Java to help them with just that. The interview describes that when you use hyper-optimized Java runtimes instead of vanilla OpenJDK – you do less tuning …

    Read More »
  • 11 January

    How to Reduce Cloud Cost by 99% for EDA Kafka Applications

    While the Cloud offers great convenience and flexibility, the operational cost for applications deployed in it can sometimes be significant. In this article, we show a way to substantially reduce operating costs in latency-sensitive Event-Driven Architecture (EDA) Java applications by migrating from Kafka to Chronicle Queue open-source, which is a more resource-efficient and lower-latency queue implementation. What is EDA? An …

    Read More »
  • 11 January

    Why Many Developers Don’t Write or Give Talks and How to Overcome Challenges

    I asked on Twitter and LinkedIn why many developers don’t write or give talks, and I was amused by the response I received. This article is about that. The problems: It turns out, developers do not write blogs or give presentations for a variety of reasons. Some developers may believe they lack interesting experiences or information to share or that …

    Read More »
  • 11 January

    When flows split – An introduction to concurrent programming

    A computer program is a nicely ordered flow of instructions, executed one after the other from start to finish… Except when it is not. We often wish to split this flow. Let’s see why and when to do it. Auteur: Vasco Veloso So, what’s concurrent programming? The traditional way of writing programs is to express them sequentially. When one input …

    Read More »
  • 11 January

    Post Title

    JTest – Roll out your own JUnit-like testing framework This an interactive tutorial as well as an educational project that helps with your understanding of: (oversimplified) internals of JUnit usage of Java annotation and reflection You are given minimum starter code (~20 loc), and will have to develop a simple yet self-contained framework that can be used to write real-world …

    Read More »
  • 10 January

    Managing Dependencies in IntelliJ IDEA

    In this tutorial, following on from viewing dependencies, we’re going to take a look at managing dependencies in IntelliJ IDEA. We’ll look at different ways to add dependencies to your project, and how to add, upgrade and remove dependencies using Package Search. Add dependencies There are several ways to add new dependencies to your project. From the build file using …

    Read More »