Java - Articles

Distributed lock using Hazelcast
The synchronization of the access to shared data is a key task in multithreaded applications. The situation gets even more complicated if we need to add multiple nodes to improve performance. Can this be achieved without too much complication? In this article I would like to present a distributed lock implementation that I was a part of.

Exploring AI Code Writing Assistants
Introduction In today’s world of technology, we observe a significant development in artificial intelligence. Undoubtedly, it will also impact the way software is created and, […]

Machine Learning in Java: Getting Started with Weka
Machine learning, a cornerstone of modern technology, has paved the way for computers to learn from data and make informed decisions. In this article, we embark on a journey into the realm of machine learning using the Weka framework within the Java programming language.

MapStruct makes your life easier
This article presents how to easily map objects using MapStruct java library

Enhance your JUnit tests with parametrization
JUnit 5 provides an extensive toolkit of methods and annotations designed for convenient test parameterization with various types of sources. In this article, we take a closer look at test parameterization with JUnit, exploring practical examples.

Why Quarkus should not be considered as another Spring clone
Quarkus is still considered a new player in town and not everyone is familiar with the possibilities it gives. In this article we will try to show the developers how Quarkus differs from Spring Boot and how they can benefit from the usage of this framework for their upcoming projects.

Fault Tolerance with Resilience4j and Spring Boot
Microservice architecture by design needs and works well with Fault Tolerance mechanisms. It's necessary to avoid single points of failure, as well as ensure high availability and business continuity for critical parts of our system. Thankfully there are tools to achieve that in Spring Boot, of which very prominent is the Resilience4j library. In this article we will dive into this powerful yet intuitive tool.

Configuring Automated Testing with Selenium and Java in GitLab CI Pipeline with Allure Reporting
In this article, we are going to demonstrate how to project setup a GitLab CI pipeline for running automated tests with Selenium and Java, followed by generating Allure reports. By incorporating continuous integration and automated testing into the software development process, teams can maintain high code quality, streamline development, and quickly identify issues during testing. The article covers project setup, GitLab CI configuration, creating sample Selenium tests, and analyzing Allure reports. Adopting these practices can significantly enhance your software development workflow.

Contract testing as a way to help maintain system stability – Spring Cloud Contract
Introduction Currently microservices architecture is the most common way of creating systems. Because of that every developer in his everyday job encounters more than ever […]

JSON Web Token handling with Rest Assured
JSON Web Token is a very popular way of securing web applications and APIs. This article is a basic guide of how to handle JWT and create simple test cases with the Rest Assured library.
Meet the geek-tastic people, and allow us to amaze you with what it's like to work with j‑labs!
Contact us


