Welcome to northCoder

a blind man in a dark cellar searching for a black cat that isn't there

Upgrading Thymeleaf 3.0 to 3.1

03 Nov 2022
Handling a deprecation warning when upgrading Thymeleaf from 3.0 to 3.1.

Showing and Hiding Long Data in a Table

09 Oct 2022
Toggling long content in each cell of a DataTable

Passing Java Functions in Variables

17 Sep 2022
Passing Java functions around using variables. Some example code, with notes. And a reminder that just because you can pass functions around in this way, doesn’t mean you always should.

Modifying Exported DataTables Data

06 Sep 2022
Three ways (and one legacy way) to customize data being exported from DataTables to targets such as Excel, PDF, CSV, etc.

Converting Between Character Encodings with Java

01 Sep 2022
A closer look at what it means to convert between different character encodings in Java. Along the way, this includes a review of char, byte and int primitives, and some ways to handle hexadecimal values stored in strings.

Embedded Tomcat v9.0 and v10.0

13 Aug 2022
There are a few tutorials on how to run a web application using embedded Tomcat. They are all informative, and none of them work.

WebSockets using Java and JavaScript

08 Aug 2022
A basic, self-contained WebSockets demo where messages generated by Javalin (Java) are sent to a web page containing a DataTable

Eclipse, Maven and Tomcat - A Basic Set-Up

06 Aug 2022
A minimal guide to setting up a minimal web application in Eclipse, using Maven as the dependency manager (as opposed to using an Eclipse Dynamic Web Project).

RabbitMQ's Management API

01 Aug 2022
It’s possible to access a wide array of data about your RabbitMQ installation using the RabbitMQ management API - a REST API which returns JSON responses. Some of the data can be a bit unintuitive without an explanation, and the documentation was initially a bit hard to find… Here are some notes…

Spring Boot Demo for DataTables Server-Side Processing

28 Jul 2022
A small demo app showing some features of Spring Boot for handling a Thymeleaf template, a JSON request, using Spring JdbcTemplate, with some Java records, lambdas and streams. The demo uses a server-side DataTable for the demo. Not intended for production use.