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

RestTemplate and HttpClient 4.1 configuration

This example shows how to configure Spring RestTemplate with Apache HttpClient 4.1 as a transport.