Archive for the tag 'database'

Jul 08 2009

Java migrations tools

Published by under Development,Java

Wow, it’s been a while. If you’re interested in good links follow me on Twitter: http://twitter.com/anderssv . I usually update there these days.
My talk on “Agile deployment” got accepted for JavaZone this year! I’m extremely happy, but a bit scared too. I’ll be talking about rolling out changes in a controlled manner, and [...]

16 responses so far

Jan 24 2009

The new guy and his database

Published by under Development

This is a followup to two previous articles about Agile databases and Migrations for Java. It tries to examplify some of the stuff I talk about in those two articles. Here we go again…
You won’t get a new developer each week, but the scenario will help illustrate how the tools I have been [...]

7 responses so far

Jan 17 2009

DDD and generic repositories

Published by under Development,Java

Reuse is good. That’s what we learn, so we all strive to reuse code, but sadly sometimes we over generalize and try to be too clever. I have had the suspicion that creating generic repositories that takes criteria/queries as input parameters is one such over generalization. Some things, in fact a lot of things, are [...]

3 responses so far

Jan 03 2009

Migrations for Java

Published by under Development,Java

If you are familiar with Ruby on Rails you know what Migrations are. The same thing can and should be done in Java, it’s just not that well known.
Why migrations? Because it enables you to automatically update any environment you have to the latest version. And this is done through source control closely tied to [...]

10 responses so far

Jan 03 2009

Agile databases

Published by under Development,Java

Ferris sent me a message a little while back and asked if I had any input on handling databases, so it gave me a reason to sit down and try to write something about my experiences. I’m not too happy about the flow of these articles, but I figured it was better to get something [...]

5 responses so far

Sep 01 2008

Database as a service

Published by under Development

I’m still out on if the database as a service is a good or bad idea. I am leaning towards the latter though.
One of the scary things most developers do today is refactoring the database. I actually think a lot of good refactorings just isn’t done because it becomes a large and daunting task when [...]

2 responses so far

Mar 03 2008

Database migrations

Published by under Java

I was originally looking for a way to organize our db-scripts so we could do a full drop and recreate before running tests, or deploying a new version. One of the main disadvantages to this is that test data will get lost. By separating the scripts you can still maintain upgrade scripts for when you [...]

3 responses so far