Saturday, February 16, 2013

Spring Security and Http Basic Authentication

This article will show you how to use Spring Security to protect your web application with Http Basic Authentication.

Log4jdbc: Logging JDBC activity and SQL queries

In an application that frequently queries a database it is important to know what is happening now, how often this or that query occurs and how long it takes to get result. Log4jdbc allows to log database activity e.g. SQL queries, processing time, result sets, connection usage.

Friday, February 15, 2013

Monday, July 2, 2012

Spring MVC and Velocity WebApp

This tutorial shows how to use Velocity templates with Spring MVC. Velocity is more flexible templating engine than JSP/JSTL standard templates. We will create a simple application that contains 2 pages: list and detail. These pages will have common layout.

Tuesday, May 8, 2012

MySQL: Sort by column with NULLs on top

Common task, when you need to sort table data by a column, that may have null values and you want to put nulls to the top.

Friday, April 27, 2012

Java: Release resources on program termination

Applications use different resources (database connections, file descriptors, etc.) that need to be released when program terminates.

Sunday, March 18, 2012

Wicket TinyMCE and AjaxButton

TinyMCE is a WYSIWYG editor, that can be used in Wicket to replace your TextAreas with a Rich Text Editor.