Database Migrations with Flyway 1. Introduction This article describes key concepts of Flyway and how we can use this framework to continuously remodel our application’s database schema reliably and easily. At the end, we’ll present an example of managing an in-memory H2 database using a Maven Flyway plugin. Flyway updates… Continue Reading database-migrations-with-flyway

A Quick Example of Spring Websockets’ @SendToUser Annotation 1. Overview In this quick tutorial, we’re going to illustrate how to send a message to a specific session or particular user using Spring WebSockets. For an introduction to the above module, please refer to this article. 2. WebSocket Configuration First of… Continue Reading spring-websockets-sendtouser

Introduction to the Wicket Framework 1. Overview Wicket is a Java server-side web component-oriented framework that aims at simplifying building web interfaces by introducing patterns known from desktop UI development. With Wicket it is possible to build a web application using only Java code and XHTML compliant HTML pages. No… Continue Reading intro-to-the-wicket-framework

Check If Two Rectangles Overlap In Java 1. Overview In this quick tutorial, we’ll learn to solve an algorithmic problem of checking whether the two given rectangles overlap. We’ll start by looking at the problem definition and then progressively build up a solution. Finally, we’ll implement it in Java. 2.… Continue Reading java-check-if-two-rectangles-overlap

Registration – Password Strength and Rules 1. Overview In this quick tutorial, we’ll look at how to implement and show proper password constraints during registration. Things like – the password should contain a special character, or it should be at least 8 characters long. We want to be able to… Continue Reading registration-password-strength-and-rules