Programming

Logging policy
There are different points of view on how logging levels should be used in code. I will share mine. My assumption is: “There should be no errors in logs …
How to Start Testing UI Before Backend is Ready
Testing web UIs before the backend is ready: create UI mockups first using fake data, turn them into a functional prototype, test thoroughly, then build the …
Selenium Tests with Maven and Selenide
The article explains how to use Selenide, a wrapper around Selenium WebDriver, to simplify writing UI tests in Java. It provides a sample Maven POM file with …
Spring+Freemarker Tips
I hope you will find following tips useful when developing Spring Boot application with Freemarker.
Secure Java coding best practices
Making your web application flawless against security attacks is a challenge for every java developer. In this article I will briefly describe common practical …
Secure Java logging with Logback
Deploying application into secure environment adds some restrictions on logging and log management. OWASP community gives some useful recommendations.
Implementing Automatic Reconnection for Netty Client
One of the first requirement of Netty ISO8588 client connector is the support for automatic reconnect. One of the first receipts I came across was Thomas …
Java Application Development Tutorial
I’ve been meaning to write a small tutorial for building web applications. Now it’s time! Let’s define the steps and choose some solutions for …
Booting Spring Webapp
Spring Boot is an excellent tool to bootstrap java application. Most of the references mention how to create a standalone java application, optionally with …
Base64 Variants in Java 8
You most likely used Base64 encoding. It’s about encoding any sequence of data as a printable string (digits, lower case and upper case letters). But …