How to skip the sudo password in Ansible Playbooks

Skipping the need to enter the sudo password when running Ansible playbooks that contain the become command can be convenient, especially in automated or repetitive tasks. However, it’s important to exercise caution when doing so, as it may compromise security if not handled properly. Here’s a step-by-step tutorial on how to achieve this.

Read more

WildFly Glow: Next-Gen Evolution in Provisioning

In the ever-evolving landscape of application provisioning, WildFly project introduces a groundbreaking provisioning tooling: WildFly Glow. An advanced successor to WildFly Galleon, WildFly Glow automatically combines the Galleon Feature-packs and Layers that your application needs! Let’s dive into the features and capabilities of WildFly Glow.

Getting Started with Cucumber Testing in Java

Cucumber is a popular open-source tool that supports Behavior-Driven Development (BDD) for testing software applications in Java. BDD emphasizes collaboration between developers, testers, and stakeholders by writing test scenarios in a readable, plain English language called Gherkin. This tutorial will guide you through the basics of setting up and writing your first Cucumber test in Java.

Read more

Getting started with GitHub Actions

GitHub Actions is a flexible and powerful automation service that allows you to automate, customize, and execute workflows directly in your GitHub repository. These workflows can automate various tasks such as building, testing, deploying, and publishing software. In this article we will learn how to get started with GitHub Actions by building a simple Maven … Read more

How to run Keycloak with Docker

In this tutorial, we’ll walk you through the step-by-step process of running Keycloak with Docker, enabling you to streamline authentication and authorization for your applications. We will explore the integration of Keycloak within Docker containers, optimizing the process with Docker Compose for efficient deployment and management of authentication and authorization services.

Read more

Solving “Syntax error in SQL statement: expected “identifier”

When working with JPA (Java Persistence API) and defining entity classes, it’s crucial to avoid using reserved words as identifiers for attributes or table names. Failure to do so may lead to SQL syntax errors, as demonstrated by the given issue.

In this tutorial, we’ll walk through the steps to resolve the SQL syntax error caused by using reserved words in a JPA entity class.

Read more

Solving java.lang.OutOfMemoryError: Metaspace error

The error java.lang.OutOfMemoryError:Metaspace indicates that you have exhausted an area of JVM which serves as a registry for your application’s Class Metadata. This article is a step-by-step guide to analyze the issue, determine the root cause of it and take actions to resolve it.

Read more

Getting started with Jakarta EE

This article will detail how to get started quickly with Jakarta EE which is the new reference specification for Java Enterprise API. As most of you probably know, the Java EE moved from Oracle to the Eclipse Foundation under the Eclipse Enterprise for Java (EE4J) project. There are already a list of application servers which offer a Jakarta EE compatible implementation such as WildFly. In this tutorial we will learn how to bootstrap a Jakarta EE project.

Read more