What's New Here?Subscribe to RSS feed

Simulation of time consuming actions in integration tests
Quite recently in one of my projects I had a situation in which I needed to create an integration test for the application. That’s not very odd isn’t it? What was interesting ...

The Art of War: How it Applies to Software
Sun Tzu wrote: War is of vital importance to the state; hence it is a subject of inquiry which can on no account be neglected In our modern world, software is of vital importance to ...

A Theorical Look into Object/Resource Pool Pattern
Definition: Sometimes our software projects need costly object creations (database connections, socket connections, large graphical objects etc.). This cost may be about time and/or ...

How many classes and packages should you have?
Real world experience. Once upon a time there lived a family of programming bears. Each morning mammy bear, daddy bear and baby bear would rise and eat breakfast together in their secluded ...

Spring with Maven
1. Overview This article will discuss how to setup Spring with Maven and will go over specific usecases of using Spring dependencies. The latest Spring releases can be found on Maven ...

Spring AOP in security – controlling creation of UI components via aspects
The following post will show how in one of the projects that I took part in we used Spring’s AOP to introduce some security related functionalities. The concept was such that ...

XStream – XStreamely easy way to work with XML data in Java
From time to time there is a moment when we have to deal with XML data. And most of the time it is not the happiest day in our life. There is even a term “XML hell” describing situation ...

No downtime deploy with capistrano, Thin and nginx
As I mentioned a couple of weeks ago I’ve been working on a tutorial about thinking through problems in graphs and since it’s a Sinatra application I thought thin would be a decent ...

Fault Injection with Byteman and JUnit
The time when our applications lived in isolation have passed long-long ago. Nowadays applications are a very complicated beasts talking to each other using myriads of APIs and protocols, ...




