Getting Started with Jenkins: A Step-by-Step Guide

Are you looking to streamline your software development process and automate your build workflows? Look no further than Jenkins. Jenkins is a popular open-source automation server that allows developers to build, test, and deploy their projects with ease. In this comprehensive tutorial, we will guide you through the process of setting up Jenkins and demonstrate … Read more

How to configure and run Maven WildFly plugin

In the fast-paced world of Java application development, having a seamless and efficient deployment process is crucial. Maven, a powerful build automation tool, coupled with the WildFly plugin, offers a robust solution to streamline the deployment of your Java applications. This tutorial serves as a comprehensive guide to configuring the Maven WildFly plugin, equipping developers … Read more

JSF Custom Tag Tutorial

In this tutorial we will show how to create JSF custom tags based on content defined in an XHTML page. Creating custom JSF tags can be done either by means of Java classes implementing the UIComponentBase interface or by means of XHTML code fragments. In this tutorial we will show the latter option. Creating a … Read more

Categories JSF

3 ways to set a Query timeout for JPA / Hibernate applications

In JPA (Java Persistence API) and Hibernate applications, queries can sometimes take a long time to execute, especially when working with large data sets. To avoid long-running queries, it’s important to set a query timeout, which limits the maximum amount of time that a query is allowed to run before it times out. In this tutorial, we will learn how to set a query timeout for JPA/Hibernate applications.

Read more

Troubleshooting OutOfMemoryError: Direct buffer memory

An OutOfMemoryError: Direct buffer memory is a common error that Java developers encounter when working with applications that use large amounts of direct memory. Direct memory is allocated outside of the Java heap, and allows storing data that is needed by native libraries or I/O operations. In this tutorial, we will explore some common causes of this error and provide some troubleshooting steps.

Read more

Writing high performance Apache HTTP Clients

When it comes to consuming HTTP resources in Java applications, Apache HTTP Client is a popular choice for developers due to its ease of use, flexibility, and robustness. In this article, we will explore how to write a high-performance Java HTTP client using the Apache HTTP Client library.

Read more

Managing Keycloak user metadata and custom attributes

Each user that is stored in Keycloak can store basic Metadata information such as name and email. Besides that, you can store arbitrary user attributes, also called Custom Attributes. In this tutorial, we will show an example application which retrieves User Metadata and Custom Attributes for a Keycloak Realm.

Read more