Jan Västernäs

Getting started with git

October 26th, 2011

Having used subversion for a long time I wanted to learn how to use a distributed versioning system. The selling points for these products are very interesting.
For instance the possibility to separate commit from delivery seems like a nice option.
If you work on something that takes a couple of days to do, you want to [...]

Posted in Uncategorized | No Comments »

Lessons learned using DBUnit in a large project

February 13th, 2011

In my current project we have found that test using a slightly larger unit than single classes makes a lot of sense. Typically there is a service class with some methods that calls a number of entity objects to interact with the database. So our unit under test is often the service class, some entity [...]

Posted in Uncategorized | 4 Comments »

Five things to avoid in the last sprint

January 26th, 2011

You are a dedicated team. You have worked hard for a long time building a large complex system. It hasn’t been easy but your reasonably happy with the state your product is in. The system has been running in various staging environments for a long time. You have good test coverage. You use continuous integration.

Now [...]

Posted in Agile, Software Craftsmanship | 2 Comments »

Working with collections in scala rocks

January 25th, 2011

This is not new for you guys that already know scala. I attended a scala tutorial last week
and having worked exclusively with java 13 years it was a really good experience.
My current project has a lot of code that deals with collections. Filtering, sorting, matching,
manipulating and creating lookup caches is done en masse. Feels like [...]

Posted in Scala | No Comments »

Getting started with Soi-toolkit

January 23rd, 2011

Soi-toolkit adds value to the leading open source Mule ESB. Its makes it very easy to start building integrations and services.
You get projects setup including tests all based on Maven. You also get support for logging, property handling, WSDL and XML Schema creation and much more.
So how do you get started ? The Soi-toolkit website contains [...]

Tags: ,
Posted in Open Source, SOA, Tools | 1 Comment »

Keeping Database Schemas up to date

December 12th, 2010

How many databases/schemas does your project use ? One common setup is to have one for each staging environment (development, test, customer, education, qa, production) and one for each developer and tester in the project. Maybe you even need a set of schemas free to use for anyone at special occasions. If the application is [...]

Tags: ,
Posted in Open Source, Tools | No Comments »

Integrating Flex, BlazeDS and Spring

March 6th, 2009

Suppose you have an web application with a service layer implemented by spring beans and want to get a richer user interface ? One way to do it to use Flex.
Parts of the Flex development platform has become Open Source. What you absolutely need is addition to that is the Flex Builder. It enables debugging [...]

Posted in Uncategorized | No Comments »

Creating custom components in Flex

March 2nd, 2009

A common use case in a UI is to enter some data and submit it to the server. One way to do this in flex is to define an mxml like this with a Form
To get some validation you add validators
By doing this the user get visual assistance when entering data in the [...]

Posted in RIA | No Comments »

Överraskande positiva erfarenheter från Eclipse RCP

September 15th, 2007

Vid starten av projektet jag jobbar i skulle en klient-teknologi väljas. Valet blev Eclipse Rich Client Platform http://www.eclipse.org/home/categories/rcp.php. Det innebar ganska stora skillnader jämfört med den struts-baserade HTML-klient som använts tidigare. Men det som innebar störst effekt för utvecklarna var en oväntad sidoeffekt.
Främsta skälet att välja Eclipse Rich Client Platform var att användarna ville ha [...]

Posted in Open Source, RIA | No Comments »

Hur genomför man kodgranskning bäst ?

January 5th, 2007

Att regelbundna kodgranskningar har ett stort värde håller nog de flesta med om.  Det gör att avvikelser från olika typer av riktlinjer blir mindre och att kvaliten ökar. Samtidigt tar det tid och resurser att genomföra. Hur får man bäst effekt av den investering som görs ?
En vanlig metod är att efter en iteration tar man den [...]

Posted in Quality | No Comments »