Classic Layout

Receiving Mails in Java with IMAP or POP3

Author: Jens Knipper Original post on Foojay: Read More Table of Contents Receiving mails Connecting to the Server Processing Mails Sanitizing received MailsUsageTesting I was recently in need to write some small demo project which was receiving and processing mails. There is a lot of documentation for sending mails, but gathering information about the receiving and processing part is less …

Read More »

De algoritmes van het Java Collections Framework

Artikel uit Java magazine 3 – 2021 “Does anyone actually use LinkedList? I wrote it, and I never use it.” Dat tweette Josh Bloch, de schrijver van het Java Collections Framework, ooit [[1]]. Maar waarom niet? En wat is een LinkedList eigenlijk?   Het Java Collections Framework biedt tientallen verschillende datastructuren. Libraries zoals Guava, Eclipse Collections en Vavr voegen daar …

Read More »

Challenge yourself with Application Observability Code Challenges

Author: Cees Bos Original post on Foojay: Read More Table of Contents What are the Application Observability Code Challenges?GoalsWhat do the code challenges look like?Your own stackOnline environment(s)The first challenge How to Get StartedChallenge details Code challenges are a nice way to challenge yourself with programming, resulting in some great challenges like #1brc and the yearly Advent of Code (#AoC). …

Read More »

How JVM handles exceptions

Author: Nataliia Dziubenko Original post on Foojay: Read More Table of Contents Example Exception table Bytecode instructions Try-catch-finally flow Less nice flow Summarized flow It’s interesting to know how the JVM runs bytecode instructions… But do you know what is going on when an exception is thrown? How does the JVM handle the delegation of control? What does it look …

Read More »

Fixed Window Counter Rate Limiter (Redis & Java)

Author: Raphael De Lio Original post on Foojay: Read More Table of Contents IndexHow It Works 1. Define a Window Interval 2. Track Requests 3. Reset Counter: 4. Rate Limit Check: How to Implement It with Redis and Java 1. Use the INCR command to increment the counter in Redis each time a request is allowed 2. Set the key …

Read More »

Hexagonal architecture met Java en Gradle

Artikel uit Java magazine 3 2021 Alle code is geschreven volgens impliciete of expliciete richtlijnen. Hoe explicieter en consequenter, hoe eerder je kunt spreken van een daadwerkelijke architectuur, in plaats van een serie van ad hoc beslissingen.   Dit artikel gaat in op een architectuur met de naam ‘hexagonal architecture’: de filosofie en een voorbeeld implementatie. De verklaring voor de naam …

Read More »

Foojay Podcast #65: Boost Your Career in 2025!

Author: Frank Delporte Original post on Foojay: Read More Table of Contents VideoPodcast (audio only)GuestsSouJava (JUG Brazil)Content With the first Foojay podcast of 2025, we want to help you to boost your career! By now, you’ve likely had your year-end performance review with your manager and set some goals to advance in the coming year. Are you ready to take …

Read More »

The slow Death of the onjcmd Debugger Feature

Author: Johannes Bechberger Original post on Foojay: Read More Table of Contents JCmd triggered debuggingSummaryProblemSolutionConclusion Almost to the day, one and a quarter years ago, I published my blog post called Level-up your Java Debugging Skills with on-demand Debugging. In this artucle, I wrote about multiple rarely known and rarely used features of the Java debugging agent, including the onjcmd …

Read More »

Java 17

Java 17 – Artikel uit JAVA magazine 3 2021   Oracle heeft sinds Java SE 10 een 6 maanden releaseschema geïnstalleerd, in tegenstelling tot de (zo ongeveer) 3 jaars releases daarvoor. De deadline voor nieuwe features in Java is fixed gemaakt. Dit betekent dat het aantal JDK Enhancement Proposals (JEP) dat geïmplementeerd kan worden per release variabel is geworden. Eens …

Read More »

Reflections on 2024: A Remarkable Year for OmniFish, GlassFish, Piranha, and Jakarta EE

Author: Ondro Mihalyi Original post on Foojay: Read More As 2025 slowly gets started, it’s a perfect moment to reflect on what we at OmniFish have achieved this year. It has been a year of growth, innovation, and dedication to the open-source community and the products we’re deeply passionate about. From expanding our team to pushing the boundaries of what …

Read More »