Knowledge base

Below is a chronological listing of all entries in our knowledge base section.

Please feel free to use this information. Also, don't hesitate to feed back corrections, enhancements and questions through the comments.

29 January, 2010 - 16:18
(2 comments)
diego

Unit testing your application is the key to develop a good piece of software.
Mocking is the key to write good unit tests.
Mockito is the key that opens the door to a way of mocking that has never been so simple and elegant.

Let's take a look at two different versions of the same unit test, the first uses easymock while the second is based on mockito.

29 January, 2010 - 15:47
(1 comments)
diego

Since the ActiveMQ web site is not really clear on how to integrate it with the Spring framework I decided to write this post to clarify some points.
The really good news I can already point out is that it is possible running a JMS inside a servlet container like Tomcat without any JCA adapter, so you do not need Jencks or similar.

14 May, 2009 - 08:05
(1 comments)
martin

Our build server was complaining about tests that failed because assertions failed. While running the JUnit tests in Eclipse everything was fine. So I had to find out how to turn the assertions on in Eclipse.

21 April, 2009 - 13:14
(3 comments)
martin

I had some troubles with the new maven-eclipse-plugin version 2.6 and project dependencies.

7 April, 2009 - 14:20
(0 comments)
thijs

We've been running KVM for a while now, but only last week I noticed that the guests I had running with more than 3.5GB of RAM somehow didn't see more than those 3.5. While booting, the following message is displayed: 'WARNING: BIOS bug: CPU MTRRs don't cover all of memory, losing xxxMB of RAM.' along whith a stacktrace.

19 March, 2009 - 10:32
(2 comments)
jason

As developers we come across the problem of accessing the same site with two or more different logins every so often. Problem is that if you are using Firefox the session cookies are shared across all running browsers. This means that you either run different browser applications or keep deleting session cookies and keep logging in, not really ideal.

11 March, 2009 - 10:57
(5 comments)
sjoerd

Microsoft Internet Explorer, the one browser that can really spoil it for a front-end developer. This post is not about why IE is such a burden, but more about a potential way to lessen the weight it puts on every project. It is a shame that time has to be invested in finding workarounds and fixes for that single browser that really doesn't care about standards.

3 March, 2009 - 14:50
(0 comments)
thijs

I found myself having to reinstall a server with no CD drive available. I had an old USB stick (256MB) lying around so I thought it would be nice to use that as an installer. Here's how I did it.