Building a PostgreSQL Wire Protocol Server Using Vanilla, Modern Java 21

A dual-purpose tutorial to 1) Demonstrate how to implement the Simple Query Protocol, where Java is an implementation detail; 2) Show practical examples of most of the new features since JDK 17, including Records, Sealed Types, Pattern Matching for Switch… Read more

Similar

Java – Type Casting

The type casting is a method of converting the value of one data type to another data type. It is also known as type conversion. In Java, there are several kinds of conversions. However, in this tutorial we will focus only on two major types. (more…)

Read more »