Quantcast
Channel: Baeldung
Browsing all 4535 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

A Simple Tagging Implementation with Elasticsearch

1. Overview Tagging is a common design pattern that allows us to categorize and filter items in our data model. In this article, we’ll implement tagging using Spring and Elasticsearch. We’ll be using...

View Article


Image may be NSFW.
Clik here to view.

Compiling Java *.class Files with javac

1. Overview This tutorial will introduce the javac tool and describes how to use it to compile Java source files into class files. We’ll get started with a short description of the javac command, then...

View Article


Image may be NSFW.
Clik here to view.

Custom Assertions with AssertJ

1. Overview In this tutorial, we’ll walk through creating custom AssertJ assertions; the AssertJ’s basics can be found here. Simply put, custom assertions allow creating assertions specific to our own...

View Article

Image may be NSFW.
Clik here to view.

wait and notify() Methods in Java

1. Introduction In this article, we’ll look at one of the most fundamental mechanisms in Java – thread synchronization. We’ll first discuss some essential concurrency-related terms and methodologies....

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 215

Here we go… 1. Spring and Java >> Monitor and troubleshoot Java applications and services with Datadog  Optimize performance with end-to-end tracing and out-of-the-box support for popular Java...

View Article


Image may be NSFW.
Clik here to view.

Exploring the New HTTP Client in Java 9

1. Introduction In this tutorial, we’ll explore Java 9’s new incubating HttpClient. Until very recently, Java provided only the HttpURLConnection API – which is low-level and isn’t known for being...

View Article

Image may be NSFW.
Clik here to view.

Asynchronous HTTP with async-http-client in Java

1. Overview AsyncHttpClient (AHC) is a library build on top of Netty, with the purpose of easily executing HTTP requests and processing responses asynchronously. In this article, we’ll present how to...

View Article

Image may be NSFW.
Clik here to view.

The Observer Pattern in Java

1. Overview In this article, we’re going to describe the Observer pattern and take a look at a few Java implementation alternatives. 2. What is the Observer Pattern? Observer is a behavioral design...

View Article


Image may be NSFW.
Clik here to view.

Flyweight Pattern in Java

1. Overview In this article, we’ll take a look at the flyweight design pattern. This pattern is used to reduce the memory footprint. It can also improve performance in applications where object...

View Article


Image may be NSFW.
Clik here to view.

Priority-based Job Scheduling in Java

1. Introduction In a multi-threaded environment, sometimes we need to schedule tasks based on custom criteria instead of just the creation time. Let’s see how we can achieve this in Java – using a...

View Article

Image may be NSFW.
Clik here to view.

Using Conditions with AssertJ Assertions

1. Overview In this tutorial, we’ll take a look at the AssertJ library, especially at defining and using conditions to create readable and maintainable tests. AssertJ basics can be found here. 2....

View Article

Image may be NSFW.
Clik here to view.

JPA Attribute Converters

1. Introduction In this quick article, we’ll cover the usage of the Attribute Converters available in JPA 2.1 – which, simply put, allow us to map JDBC types to Java classes. We’ll use Hibernate 5 as...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Jinq with Spring

1. Introduction Jinq provides an intuitive and handy approach for querying databases in Java. In this tutorial, we’ll explore how to configure a Spring project to use Jinq and some of its features...

View Article


Image may be NSFW.
Clik here to view.

Regular Expressions in Kotlin

1. Introduction We can find use (or abuse) of regular expressions in pretty much every kind of software, from quick scripts to incredibly complex applications. In this article, we’ll see how to use...

View Article

Image may be NSFW.
Clik here to view.

Reliable Messaging with JGroups

1. Overview JGroups is a Java API for reliable messages exchange. It features a simple interface that provides: a flexible protocol stack, including TCP and UDP fragmentation and reassembly of large...

View Article


Image may be NSFW.
Clik here to view.

Introduction to ActiveWeb

1. Overview In this article, we’re going to illustrate the Activeweb – a full stack web framework from JavaLite – providing everything necessary for the development of dynamic web applications or...

View Article

Image may be NSFW.
Clik here to view.

Check if a String is a Palindrome

1. Introduction In this article, we’re going to see how we can check whether a given String is a palindrome using Java. A palindrome is a word, phrase, number, or other sequences of characters which...

View Article


Image may be NSFW.
Clik here to view.

Introduction to Smooks

1. Overview In this tutorial, we’ll introduce the Smooks framework. We’ll describe what it’s, list its key features, and eventually learn how to use some of its more advanced functionality. First of...

View Article

Image may be NSFW.
Clik here to view.

A Maze Solver in Java

1. Introduction In this article, we’ll explore possible ways to navigate a maze, using Java. Consider the maze to be a black and white image, with black pixels representing walls, and white pixels...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 216

Here we go… 1. Spring and Java >> Monitor and troubleshoot Java applications and services with Datadog  Optimize performance with end-to-end tracing and out-of-the-box support for popular Java...

View Article
Browsing all 4535 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>