This article is a deep dive into pattern matching for switch statements, a preview feature in Java 17.
Search Results for: %s
Introduction to the Evrete Rule Engine
Learn about Evrete, a new open-source Java rule engine designed to allow developers to create arbitrary DSLs.
Get All Running JVM Threads
A quick and practical guide to listing all JVM threads.
Test WebSocket APIs With Postman
In this article, we’ll create an application with WebSocket and test it using Postman.
Pub-Sub vs. Message Queues
In this tutorial, we’ll look at the use of message queues and publishers/subscribers. These are common patterns used in distributed systems for two or more services to communicate with one another.
Guava’s Futures and ListenableFuture
Learn about Guava’s support in async programming: Futures and ListenableFuture
Writing Log Data to Syslog Using Log4j2
Learn to write log data to Syslog using Log4j2 and Spring Boot.
Start Two Threads at the Exact Same Time in Java
Learn two approaches to start two threads simultaneously: using CountDownLatch and CyclicBarrier
Build a Dashboard With Cassandra, Astra, REST & GraphQL – Recording Status Updates
An example of using Cassandra to store time-series data.
Build a Trading Bot with Cassandre Spring Boot Starter
Learn how to create a strategy interacting with a crypto exchange and test it against historical data.
A Guide to Events in OkHTTP
Learn how to capture events using OkHttp.
Concatenate Two Arrays in Java
Learn how to concatenate two arrays in Java using the standard Java API and commonly used libraries
Long Polling in Spring MVC
Learn how to implement long polling in Spring MVC using DeferredResult and how to test it.
Write Extracted Data to a File Using JMeter
Sometimes we need to write our JMeter test data into a file. Let’s explore how we can do that.
Jdbc URL Format for Different Databases
Take a closer look at the JDBC URL formats of several widely used databases: Oracle, MySQL, Microsoft SQL Server, and PostgreSQL
Getting Started with jOOQ
Learn how to configure and create a simple CRUD application using the jOOQ framework.
Leadership Election With Consul
Let’s see how Leadership Election with Consul helps to ensure data stability.
Multi-Release JAR Files with Maven
Learn about Maven’s support for multi-release JAR files
Log4j 2 Plugins
Learn how to use the Log4j 2 extension mechanism to implement custom plugins
Using a List of Values in a JdbcTemplate IN Clause
Learn how to pass a list of values into the IN clause of a Spring JDBC template query