At JTeam we’ve been doing projects for ages and generally speaking we’ve always done things the agile way. Convincing the customer of the importance of agility and flexibility is something we’ve never found to be a hard sell. How to write this up in a proposal and how to draw up a contract around such […]
As I told you about a month ago, I quit SpringSource, or at least, quit being actively involved as an employee. It was time to move on after having been there since the beginning and having gone through quite a lot of challenges and having worked with so many great people there. There are two […]
What differs JTeam with other software project companies? It is something called hostmanship; our relation with the client and the service level of our employees.
I was looking a long time on how to set the prefix for a namespace when marshalling an object to xml using JAXB. If you don’t do anything JAXB will write random namespace prefixes (like ns2, ns3).? Note: This is a repost of a blog item that was originally posted in the Func knowledge base […]
When running any Java swing application (like intellij idea) on Ubuntu the double click speed is by default set to 200ms. If like me you find this anoying you can decrease the double click speed by taking the following steps In your home directory create a file called .Xresources and add the following line *multiClickTime: […]
EasyMock2 is a library that provides an easy way to create on-the-fly mock objects based on interfaces. It can be used in combination with JUnit to create simple and powerful unit tests. Here’s an overview of the basic EasyMock flow, followed by a brief example that demonstrates a new feature in EasyMock 2.4: capturing arguments passed to MockObjects.
Http is a stateless protocol. To work around the problems caused by this, web applications have the concept of a session. When a user requests a webpage for the first time the user is assigned a unique 32 character string. This string can be send along in subsequent requests to indicate that these requests are […]
In my previous blog post I we saw a test-driven approach to GWT UI code. This was based on moving logic to a Supervising Controller. In this follow-up post we’ll turn our attention to interacting with RPC, and see how this can be tested using EasyMock. This involves some tricks and non-trivial boilerplate code, but […]
Is a test driven development (TDD) approach possible when creating a GUI using GWT? This post is about how to apply MVC (Model-View-Controller) to organize GWT UI code, with these objectives: a clear separation of the controller logic from presentation and model full testability of the controller logic independent of the (browser or hosted mode) […]
Today I was asked to review a piece of code that a coworker of mine suspected was causing “Too many open files“ exceptions in a production environment The code looked innocuous enough. He was using ProcessBuilder to create and run an external application. Regardless I booted into Linux and ran some tests. Now on Linux […]