Archive for the tag 'spring'

Dec 12 2008

Quicker JUnit Spring context tests in Maven

Published by Anders under Java

This is probably fairly well known, but I couldn’t find any doc on it when I searched so I’ll put it up here. First off: Don’t load your Spring Context in your tests unless you absolutely have to. Some integration tests should load it, but keep it to a minimum. Loading the context is expensive, [...]

3 responses so far

Dec 01 2008

Clover saving time in development

Published by Anders under Java

I read this post about Clover and using it to minimise the number of tests run. A nice idea, so I decided to have a go at it. What it does is use the test-coverage that it was originally written to do, to figure out which tests exercise which classes. So when you change Class1 [...]

3 responses so far

Aug 26 2008

Shorter turnaround with JavaRebel

Published by Øyvind under Java,Personal

All of us have felt the pain waiting for the web-container to reload after just a minor change to the code. Well, recently i came across JavaRebel from ZeroTurnaround and they seem have solved our problem! And if you, as most of us, enjoy Spring you’ll also enjoy their Spring plug-in to monitor your context-files. [...]

One response so far

Apr 17 2008

Spring Security 2.0 released

Published by Anders under Java

Yeah, it’s released. Especially the hierarchical groups is something that I have been missing from just about every security-framework.

No responses yet

Mar 26 2008

Spring config without XML

Published by Anders under Java

Spring has been around for quite a while now. I guess most projects still use XML for the config, but with the 2.5 release that will probably change. Alef Arendsen has a blogpost with links to a lot of resources about the new features, and upcoming ones. Update: Spring JavaConfig M3 is released.

No responses yet

Mar 13 2008

Spring Batch concepts

Published by Anders under Java

I’m mostly doing batch these days, so I’m keeping an eye out for what’s happening with Spring Batch. It does have a lot of concepts that resemble what our home grown framework is built around, so I can relate to a lot of it. The same reason will also hopefully make us able to migrate [...]

No responses yet

Oct 31 2007

Deploying your app in several environments

Published by Anders under Java

I have a strong aversion to custom build steps and generation of code. I do have to do it sometimes, but I don’t like it. If I generate a WAR for my application I should not need to generate a new one for each environment I need to deploy it in. Joris Kuipers has a [...]

No responses yet

Oct 23 2007

More typing

Published by Anders under Java

Gavin King has read the post I pointed to in Extraordinarily typesafe and points out how new features in the Java world are giving us a lot of new possibilities in a type safe way. I am slowly coming to my senses seeing how much benefit newer features like generics, static imports and annotations are [...]

2 responses so far

Feb 04 2007

Integration, development and stubs

Published by Anders under Development,Java

In my current project we have a fair bit of integration. Loose coupling and all that is excellent, but it does create some challenges: Integrating systems are only available inside the firewall. Sometimes it is relevant to test and develop outside our normal network. Different integrating systems have different availability. You can’t rely on all [...]

2 responses so far