If you use log4j with your project that also uses Spring framework and/or hibernate or any other framework, and you would feel the need to set different Log levels for your own code and for third party components. This post shows you how.
This tutorial shows how to setup a JSF 2.0 environment in Eclipse and Apache Tomcat and create a very simple JSF page. This post uses the Apache myFaces JSF implementation.
In this post I discuss the difference between an in-process cache and a distributed cache, the pros and cons of both and recommendations on when to use either configuration.
This post discusses pros and cons of storing arbitrary fields in reserved columns of a database table versus creating a table to store key-value pairs of arbitrary data also known as the Entity-Attribute-Value model.
Learn how to acquire and release cloud servers using Java and the JClouds API
ZXing is a library for 1D and 2D barcode processing and can be used to generate and read a number of different type of barcodes. In this example, we will be looking some java code to generate QR Codes. First, … Continued
Converting a Java object (a process known as serialization) to various forms such as XML, JSON, or a byte array and back into java objects is a very common requirement. This post is intended to be a quick reference for … Continued
In a previous post, we looked at how to use CQEngine to query a java collection. We performed three rather simplistic queries, an equals search, a ends with search and a combination of the two. In this post, we will see … Continued
CQEngine or collection query engine is a library that allows you to build indices over java collections and query them for objects using exposed properties. It offers similar capability to LINQ in .net but is thought to be faster because it builds … Continued