Programming

Common Java application anti-patterns and their solutions
Software projects often run into trouble when developers mix different code layers together. The article explains how this leads to rigid, brittle code …
Customizing REST API Error Response in Spring Boot / Spring-Security-OAuth2
Defining error format is important part of REST API design. Spring-Boot and Spring Security provide pretty nice error handling for RESTful APIs out of the box. …
Monitoring your application locally with NewReclic
The New Relic Digital Intelligence Platform provides actionable insights to drive digital business results. You can monitor your application and infrastructure …
The Programmers Oath
A must-see speech by Robert “Uncle Bob” Martin on programmers responsibilities in digital world and 9 principles every programmer should follow …

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.