Java

My first Facebook app is out!

This weekend I could finally finish the Facebook app for takeon.me. Reminder : What is takeon.me ? In order to learn new java APIs, instead of playing with bits of code, I decided around 2 years ago to write a full social webapp, during my free time, so the code I would write would be… Continue reading My first Facebook app is out!

Maven

Install a single pom.xml in your local repository

Sometimes you have a pom.xml that you want to install in your repository without wanting to install your whole build. Huh? When? For instance you have a multi-modules project, and you make a change to the parent pom. You want to install it but not having to install all the children modules. There's an option… Continue reading Install a single pom.xml in your local repository

Java

Use Spring to create System properties

That's an old trick, but it helped me today, and I'm pretty sure I'll use it again. You can setup some System properties with Spring. Mix that with Maven resources filtering and you can execute your application with some specific System properties according to your profile. In your applicationContext.xml, add:  <bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">     <property name="targetClass"… Continue reading Use Spring to create System properties