Monthly Archives: February 2008

PostgreSQL database backup and restore

In the last couple of weeks I have been using PostgreSQL quite a lot. I have used PostgreSQL before but this time it was different as the development as well as the deployment environment were Linux based, as a result … Continue reading

Posted in Ani's Blog | Leave a comment

Unit testing

In the days before Mockery , you could still use JMock ‘s Mock class and then use human-readable style of configuring the expectations.

…However, if you refactored the Sender.send(String s) method, your IDE would not be able to refactor the JMock expectation. Continue reading

Posted in Jan's Blog | Leave a comment

Clean & tidy

It is very good idea to turn on the auto_vacuum parameter or vacuum the tables manually every few days. If you do not do that, you may end up with a database with just a few tens of thousands of rows occupying over 4.5 GB on the hard drive. Continue reading

Posted in Jan's Blog | Leave a comment

Planning & ToC

We are going to start using the theory of constraints to control our projects; I believe we have more resources than we need. I am hoping to prove that we can either all finish at four o’clock every day or take on more work and earn more money.
Continue reading

Posted in Jan's Blog | 1 Comment

JBoss and Spring JMS

We are playing around with the JBoss application server 4.2.2GA and Spring JMS. The whole setup is very simple; assuming you want to use a JMS queue, you need to configure it in JBoss and then use the new Spring … Continue reading

Posted in Jan's Blog | Leave a comment

JUnit4′s advanced features

In our Spring 2.5 flagship project, we have chosen to use JUnit 4 and its constraint-based asserts. This is similar to how you write mock objects using the jMock library. In short, the assertions take form of assertThat(T t, Constraint<T>). … Continue reading

Posted in Jan's Blog | Leave a comment

Cake’s numbers grow!

The beginning of this week saw Ibrahim join Cake, bringing an additional two years Java application development experience to the team. Ibrahim has spent the week setting his machine up and getting use to the Cake systems and tools, on … Continue reading

Posted in Guy's Blog | Leave a comment