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.
a blind man in a dark cellar looking for a black cat that isn't there
not again in all the world's turning will there be terrains so wild and barbarous to try whether the stuff of creation may be shaped to man's will or whether his own heart is not another kind of clay
Two ways (and one legacy way) to customize data being exported from DataTables to targets such as Excel, PDF, etc.
A closer look at what it means to convert between different character encodings in Java. Along the way, this includes a review of
intprimitives, and some ways to handle hexadecimal values stored in strings.
There are a few tutorials on how to run a web application using embedded Tomcat. They are all informative, and none of them work.
A basic, self-contained WebSockets demo where messages generated by Javalin (Java) are sent to a web page containing a DataTable
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).
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…
A very basic Maven-based set-up for a Jakarta EE 9 web app (servlet) running on Tomcat 10, using NetBeans 13.
Two different configurations for my SSL certificate: one for Tomcat and another for embedded Jetty.