JUnit5 Programmatic Extension Registration with @RegisterExtension 1. Overview JUnit 5 provides multiple methods for registering extensions. For an overview of some of these methods, refer to our Guide to JUnit 5 Extensions. In this quick tutorial, we’ll focus on programmatic registration of JUnit 5 extensions, using the @RegisterExtension annotation. 2. @RegisterExtension… Continue Reading junit-5-registerextension-annotation

Introduction to RAML – The RESTful API Modeling Language REST RAML 1. Overview In this article, we introduce the RESTful API Modeling Language (RAML), a vendor-neutral, open-specification language built on YAML 1.2 and JSON for describing RESTful APIs. We’ll cover basic RAML 1.0 syntax and file structure as we demonstrate… Continue Reading raml-restful-api-modeling-language-tutorial

Intro to WebSockets with Spring 1. Overview In this article, we’ll create a simple web application that implements messaging using the new WebSocket capabilities introduced with Spring Framework 4.0. WebSockets is a bi-directional, full-duplex, persistent connection between a web browser and a server. Once a WebSocket connection is established the… Continue Reading websockets-spring

Guide to PriorityBlockingQueue in Java 1. Introduction In this article, we’ll focus on the PriorityBlockingQueue class and go over some practical examples. Starting with the assumption that we already know what a Queue is, we will first demonstrate how elements in the PriorityBlockingQueue are ordered by priority. Following this, we… Continue Reading java-priority-blocking-queue

Java List Initialization in One Line 1. Introduction In this quick tutorial, we’ll investigate how can we initialize a List using one-liners. Further reading: Collections.emptyList() vs. New List Instance Learn the differences between the Collections.emptyList() and a new list instance. Read more → Guide to the Java ArrayList Quick and practical guide… Continue Reading java-init-list-one-line