Skip to content
3 min read

Vim and Neovim

Set up Vim with VimTeX and Zathura for LaTeX on macOS, and add the Neo-tree file explorer to Neovim.

  • Developer Tools
13 min read

Jakarta Faces (JSF)

Jakarta Faces (JSF) recipes: WebSocket push, validators with injection, resource handling, component binding, java.time and scopes.

  • Java & Jakarta EE
  • Web & Frontend
13 min read

Swift

Swift language reference: numbers, collections, loops, functions, closures, structs and classes, protocols and optionals.

  • Apple & Mobile
28 min readTürkçe

Solidity

Solidity ile Ethereum akıllı sözleşmeleri: türler, fonksiyonlar, veri konumları, ether transferi, kalıtım ve interface örnekleri.

  • Miscellaneous
2 min read

Web Components

The lifecycle of a custom element: when the browser calls constructor, connectedCallback, attributeChangedCallback, adoptedCallback and disconnectedCallback.

  • Web & Frontend
5 min read

Caching strategies

How cache-aside, read-through, write-through, write-back and write-around read and write data, their consistency trade-offs and when to use each.

  • Architecture & Process
3 min read

JasperReports

JasperReports tips: localise reports with resource bundles, print page X of Y, control band splitting and page breaks, and float elements.

  • Java & Jakarta EE
5 min read

JDBC

JDBC driver, DataSource and XADataSource class names per database, with GlassFish and Payara connection pool examples.

  • Java & Jakarta EE
  • Databases
3 min read

JSON Web Tokens (JWT)

How access and refresh tokens work in JWT authentication, the endpoints a server needs, and where a client should keep each token.

  • Security
  • APIs & Integration
3 min read

SonarQube

Run SonarQube locally in Docker and analyse a Maven project with the SonarScanner for Maven.

  • Observability & Testing
  • Developer Tools
8 min read

Continuous Integration, Delivery and Deployment

What CI, continuous delivery and continuous deployment mean, with Docker multi-stage builds and Bitbucket Pipelines examples for ECR and Beanstalk.

  • DevOps & Containers
1 min read

APM

Application performance monitoring for Java servers: install the Glowroot agent on GlassFish, Payara or a Spring Boot application.

  • Observability & Testing
2 min read

Distance measures

Formulas for the distance measures used in data science: Manhattan, Euclidean, Minkowski, Chebyshev, cosine, Hamming and Jaccard.

  • AI & Data
4 min read

Apache ActiveMQ

JMS queues and topics, installing Apache ActiveMQ, and connecting GlassFish to it through the ActiveMQ resource adapter.

  • Java & Jakarta EE
  • APIs & Integration
3 min read

NGINX

Use NGINX as a reverse proxy for GlassFish, host several domains with server blocks, add Let's Encrypt certificates and fix 413 errors.

  • DevOps & Containers
3 min read

CDI (Contexts and Dependency Injection)

Inject Jakarta EE predefined beans and JNDI resources, and define string resources in GlassFish with asadmin or domain.xml.

  • Java & Jakarta EE
2 min read

MessageFormat

Build grammatically correct plural messages in Java with MessageFormat and choice patterns, with example outputs.

  • Java & Jakarta EE
4 min read

RESTful

Jakarta REST (JAX-RS) exceptions mapped to HTTP status codes, and testing REST endpoints with curl: JSON, form data and file uploads.

  • APIs & Integration
  • Java & Jakarta EE

Type to search the whole site.