CDI
CDI predefined beans, resource injection and JNDI lookups in Jakarta EE.
- Java & Jakarta EE
Blog
Field notes and cheat sheets from building and running enterprise software — Java and Jakarta EE, databases, DevOps, Linux and more.
CDI predefined beans, resource injection and JNDI lookups in Jakarta EE.
Pluralizing messages with Java MessageFormat and ChoiceFormat, with example outputs.
JAX-RS exception handling and testing REST endpoints with curl: JSON, form data and file uploads.
SSL certificate files explained, converting CRT to PEM and issuing free certificates with Let's Encrypt.
Running the ELK stack in Docker, creating the default Kibana index pattern and shipping Java logs with Logback.
Ways to verify email addresses: catch-all domains, double opt-in and re-type checks.
Running web applications with the Maven Jetty plugin, including TLS/SSL support.
Connecting WildFly to PostgreSQL and MySQL: driver modules, datasources and common errors.
GlassFish installation, clustering, default ports and paths, fine-tuning, certificates and asadmin commands.
macOS tips: Preview settings, hidden utilities and handy command-line tools for audio, video and downloads.
Logback appenders: rolling file logs and writing logs to a database over JNDI.
JPA recipes: type mappings, sequence generators, dynamic persistence units, bulk updates and many-to-many with extra columns.
Apache Derby, the embedded Java database: the ij tool, connection URLs and common SQL tasks.
Java Swing on macOS: screen menu bar, app name and dock icon, splash screens and executables.
JavaFX notes: FXML controllers, user-agent stylesheets, high-contrast themes, virtual keyboard and charts.
GIS math: degrees-minutes-seconds, point-in-circle tests, distances and geographic midpoints in Java.
The e-commerce KPIs worth tracking, from conversion rate to customer lifetime value.
Writing math with LaTeX and KaTeX, plus live recompilation while you edit.