Java - Articles

AI Java

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.
Read all
Java

MapStruct makes your life easier

This article presents how to easily map objects using MapStruct java library
Read all
Java JUnit Tests

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.
Read all
Quarkus
Java Spring boot

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.
Read all
Java REST Spring boot Tests

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.
Read all
Gitlab Java Selenium Tests

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.
Read all
Java Spring Cloud Contract

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 […]
Read all
Java JVM REST

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.
Read all
Flyway
Flyway Java Spring

Flyway migrations with Spring

Flyway is a simple, yet powerful database migrations tool that allows you to easily manage and develop your database. With great support for many frameworks, including Spring, and vast adaptability, it's definitely worth checking out.
Read all
API Java REST

API-first with the Open API Generator

The API-first approach facilitates effective cooperation in server-client projects, while having API-related models and services separate and configured in simple YAML files helps keeping a neat project structure. With the powerful Open API generator tool, such configurations can be later transformed into production-ready code.
Read all

Meet the geek-tastic people, and allow us to amaze you with what it's like to work with j‑labs!

Contact us