The Curse of the Diaeresis
15 Nov 2019
What happens when a user wants to search your website for a word such as
cooperate
, but some instances are stored as coöperate
? Notice those two tiny dots on top of the second ö
? What are they? And why do we care?Jdbi - Fluent Generic JDBC
14 Nov 2019
Jdbi is is built on top of JDBC - you can use Jdbi wherever you have a JDBC driver. I use it for the way it lets me load result sets directly into my Java classes. But that’s only the tip of the iceberg.
Thymeleaf - Two Powerful Features
13 Nov 2019
The Thymeleaf
templating language has many great features. But I will focus mainly on two, here: (1) Its template fragments using parameters - which let you build generic HTML widgets; and (2) its pre-processing directive - which adds a lot of power to what Thymeleaf can do for you.
Javalin - Jetty Session Tracking
13 Nov 2019
Javalin
is a simple web framework for Java and Kotlin. It uses an embedded Jetty web server, which means you can configure the core features of Jetty to enhance your Javalin web application. Here I will look at setting up custom session management via a JDBC handler, and using a related database table.
Javalin - TLS 1.3 and HTTP/2
13 Nov 2019
Javalin
is a simple web framework for Java and Kotlin. It uses an embedded Jetty web server, which means you can configure the core features of Jetty to enhance your Javalin web application. Here I will look at setting up TLS 1.3 and HTTP/2 for my webapp.
Doing Something Useful With My IMDb Data Set
13 Nov 2019
A demo web site using features from various libraries and tools, including Javalin, Thymeleaf, Jdbi, Hikari, Hibernate Validator, Gson, DataTables and others. The demo uses movie data from IMDb.
Getting Started with H2
12 Nov 2019
I will walk through the basics of creating a new H2 database on a Windows machine - the commands for Linux are pretty much the same (it’s all Java-based). I will take a close look at H2’s connection URL syntax, as it was somewhat confusing to me, the first time I tried to use it.
Using IMDb as a Test Data Set
11 Nov 2019
A walk-through of how to use IMDB’s publicly available movie data to set up my own database of realistic - and also reasonably large - data. I use this in various other projects, demos and investigations.