This step-by-step guide will show you how to create a minimal Java LDAP Client to test the connection to an LDAP Server and show the LDAP tree using a graphical interface. We will use Docker to trigger a simple LDAP Server so you don’t need to install anything!
F.Marchioni
How to run Spring Boot applications on WildFly
Spring Boot with JBang: a quick example
JBang is a tool that allows you to run Java applications as easily as scripting languages like Python or Node.js. You don’t need Maven or Gradle setup, just a single .java file with dependency annotations at the top. It’s ideal for:
Using AI in Java applications with WildFly
This guide shows how to integrate a lightweight AI assistant into a Java application running on WildFly. We’ll use the LangChain4j library to interact with a language model (like LLaMA via Ollama), and expose it through a simple HTML interface using Jakarta REST and CDI. No hype, no magic—just a working example.
How to run WildFly applications with JBang
In this article we will learn how to provision a WildFly Server using the JBang scripting tool. Starting from a basic example using a REST endpoint, we will show how to enable additional features on the application server with the WildFly Glow tooling.
Getting Started with DeepSeek AI and Java
DeepSeek AI is a powerful AI model that can be integrated into Java applications using LangChain4j. This tutorial will guide you through setting up a simple chatbot in Java using DeepSeek AI and LangChain4j, leveraging the Ollama API for local execution. DeepSeek AI Model Variants and Differences Before we dive into an example on how … Read more
Getting Started with Quarkus and Langchain4j
Quarkus is a lightweight, cloud-native Java framework optimized for GraalVM and Kubernetes. When combined with Langchain4j, it allows developers to integrate AI capabilities into Java applications efficiently. In this tutorial, we’ll explore how to use Langchain4j with Ollama’s Llama model, creating a simple Command-line application.
A Call for Community Support
For years, MasterTheBoss.com has been a go-to resource for Java developers and middleware administrators, providing reliable information, tutorials, and insights. We’ve always been committed to offering this content free of charge, supported by advertising revenue. However, like many online platforms, we’ve experienced a consistent decline in ad revenue, making it increasingly difficult to cover the … Read more
Advanced MapStruct Tutorial
MapStruct is a powerful Java annotation processor that simplifies the mapping between Java bean types. In this advanced tutorial, we will explore several advanced features of MapStruct, such as mapping from multiple sources to a target object, using Java expressions in mappings and much more!
How to process large JSON files in Java
Processing large JSON files can be challenging due to memory constraints and performance issues. In this tutorial, we explore best practices for efficiently handling large JSON files in Java. Why Handle Large JSON Files Efficiently? Large JSON files can quickly exhaust memory and slow down applications if processed naïvely. By employing streaming APIs and other … Read more