Author Archives: Eric Lefevre-Ardant

About Eric Lefevre-Ardant

Independent technical consultant.

Gienah: inject Spring dependencies in your JUnit 4 tests

I wanted a way of using my test with dependencies coming from my Spring definition.

Posted in java, spring, test | 6 Comments

YAGNI — You’re Aren’t Gonna Need It

A couple of weeks ago, I started working on the objects that needed to be mapped onto the database. As I didn’t know what to do with each of them, I tried to keep things simple by mapping a foreign … Continue reading

Posted in agile, java | 2 Comments

Hiring Tips

Every once in a while, I stumble upon a new list of tips to hiring someone. Since I am actively involved in interviewing candidates technically, I always read them in detail. If you don’t know them already, here they are … Continue reading

Posted in misc, valtech | Comments Off on Hiring Tips

CITCON Dallas/Fort Worth April 27-28

Paul Julius and Jeffrey Fredricks have announced CITCON D/FW 2007. It is the third in a series where CITCON London 2006 was number 2. Considering how enjoyable CITCON London was, it is totally worth going to CITCON D/FW if you’re … Continue reading

Posted in citcon, continuous integration, openspace, test | Comments Off on CITCON Dallas/Fort Worth April 27-28

Got a new laptop bag

The original briefcase-style bag that came with my laptop one year ago was finally so torn that I decided to buy me a new bag. My criteria were the following: it must be a backpack. I’m sick with having something … Continue reading

Posted in misc | 6 Comments

p6spy, dbUnit and maven

p6spy is a JDBC proxy that will log the SQL statements passed to a database. It is a relatively old project (last release is from 2003 but I only heard about it today, as I was looking for a way … Continue reading

Posted in java, maven, test | 2 Comments

Test Driven Design and Data Access Layer

I am currently writing the Data Access Layer of a Java project using Hibernate and I want to apply TDD on my work. The part that is concerned with the database is the mapping of objects on the database schema, … Continue reading

Posted in hibernate, java, tdd, test | 3 Comments

Changing maven local repository

This is something that is not well documented on the web, though it is quite clearly in the default settings.xml file provided with the default Maven installation. The default repository used by Maven 2 to store the various artifacts is … Continue reading

Posted in java, maven | 23 Comments

Hibernate: so, the identifier field *is* mandatory after all!

Is it obvious to everyone that an identifier is mandatory in Hibernate? I actually thought that Hibernate generated some kind of internal identifier for classes that do not specify one. The documentation says: saveOrUpdate() does the following: […] if the … Continue reading

Posted in hibernate, java | Comments Off on Hibernate: so, the identifier field *is* mandatory after all!

Configuring Cobertura in Maven 2

After many spurious error messages, I finally managed to make it work. Be warned that the information on the official Cobertura Maven plugin page, the informations are not exactly correct. Below, you’ll find in bold the fixes. The “Basic Cobertura … Continue reading

Posted in java, maven, test | 6 Comments

Successful internal OpenSpace meeting yesterday

Yesterday, I hosted an OpenSpace conference in the Valtech office in Paris. The theme was ‘pet projects that we want to work on (though we already work fulltime)’. I was a bit apprehensive, as my previous experience had been in … Continue reading

Posted in openspace, valtech | 2 Comments

Eclipse-Subversion Integration: Secrets Wars

Did you know there were 2 Eclipse plugins for Subversion? Neither did I, until this morning. The leader is still Subclipse. Runner-up is Subversive. Being a credible alternative when it was released, mildly insulting words were exchanged; the Subversive team … Continue reading

Posted in eclipse, java, subversion | 5 Comments

Format On Save Plugin For Eclipse

I’m writing this post as a future reminder for myself… This plugin is damn hard to find when you are looking for it. All it does is automatically format and organize import statements in your Java classes each time you … Continue reading

Posted in eclipse, java | 2 Comments

Visit by Jean Tabaka

This week, Jean Tabaka from Rally Dev came to teach Scrum to my colleagues from Valtech. In the evening, she gave a talk on her book, Collaboration Explained. I have been very impressed by Jean’s easy-going personality. As most people … Continue reading

Posted in agile, scrum, valtech | 2 Comments

New project for me

This week, I have started a assignment with a new client. Remember the one that I mentioned would probably not take me? Well, I was wrong after all ;-) Slow start so far. I have not received my work machine … Continue reading

Posted in valtech | Comments Off on New project for me