My New Side Project: Holiday Rentals in the Algarve

January 17, 2014


Even though I closed down this blog in terms of my IT career path I decided to write again because I started a new new side project. Holiday Rentals in the Algarve can be found at, and is a website where people can find unique and privately owned properties to rent in the south of Portugal, particularly the Algarve.

I created this website using a WordPress installation with a custom theme and several plugins and hosted it at TSOHost.

I have learned a lot by using wordpress to build this website, not only is it quick but it also has many useful plugins like Yoast WordPress SEO Plugin  and Yoast Google Analytics for WordPress. I have also used WPML to create a multi-lingual website. It is not perfect but certainly a quick way to get your website running in different languages in no time.

I am not a good designer, on the contrary, so I decided to buy a highly customisable wordpress template which is simple but looks great!

If I manage to get some time I will write some more posts about the challenges I encountered while building the site and how I resolved them. I actually fixed a bug in WPML redirection module (in PHP), which made me a bit proud, after not coding for more than 2 years. :-)

The logo below was commissioned by a designer at

Have a look and let me know what you think!


Closing Down

July 23, 2013

When I started this blog back in 2006 I was a graduate starting my first job and I was super excited about learning Java and all sorts of related technologies. I have since then been in numerous roles as Developer, Team Lead, Scrum Master, Software Delivery Manager, etc. I wrote many lines of code, created several projects on my free time, attended many conferences and courses, worked in companies in Holland, Portugal and the UK and had the pleasure of working with so many people of different origins from whom I learned so much. It’s been an amazing experience and having this blog allowed me to record some of it, but I have decided to stop maintaining it because I haven’t written any posts for a long time and that is not bound to change in the future due to other commitments. I still have visits to the blog on a daily basis, perhaps from developers searching for answers about Java coding so thanks for everyone that visited, commented and found it useful over the years.

I try to keep my LinkedIn profile always up to date, so if you are looking for my professional timeline have a look in there.


A new fish in the pond

June 3, 2011

UTF-8 encoding and Spring message sources

June 23, 2010

This post explains how you can get Spring to load message resource bundles for UTF-8 encoded characters. Always save you messages file as UTF-8. In Eclipse you can do that by going to the file properties and selecting UTF-8 in the text file encoding section.

@ Google London

June 15, 2010

I went to Google London offices for an AdSense event with my colleague Kathryn. Some more about this great experience at Travelfusion’s blog!

We are live

March 24, 2010

After 3 month of hard work here we’ve launched with an entire new look.

Built with GWT 2.0 a clean and slick interface and easy to use. Got to love it! :D

Handler Interceptors For Annotation Based Configuration in Spring

September 28, 2009

Here’s what you need to have in your *-servlet.xml file:

<context:annotation-config />
<context:component-scan base-package="" />

<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping">
   <property name="interceptors">
      <ref bean="myInterceptor" />

<bean id="myInterceptor" class="">
  <property name="openingTime"><value>9</value></property>
  <property name="closingTime"><value>18</value></property>

And your interceptor class something like:

public class MyInterceptor implements HandlerInterceptor {
   private int openingTime;
   private int closingTime;

   public void afterCompletion(HttpServletRequest arg0, HttpServletResponse arg1, Object arg2, Exception arg3) throws    Exception {
      // TODO Auto-generated method stub

   public void postHandle(HttpServletRequest arg0, HttpServletResponse arg1, Object arg2, ModelAndView arg3) throws    Exception {
      // TODO Auto-generated method stub

   public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object arg2) throws Exception {
        Calendar cal = Calendar.getInstance();
        int hour = cal.get(HOUR_OF_DAY);
        if (openingTime <= hour < closingTime) {
           return true;
        } else {
           return false;

Fixing Eclipse Tomcat Timeout

September 28, 2009

To fix “Server Tomcat v6.0.18 was unable to start within 10 seconds. If the server requires more time, try increasing the timeout in the server editor” double click you server in the Servers perspective and increase the timeout value to complete server operations like in the image below.

Picture 3

It’s been so long, again!

September 22, 2009

It’s quiet crazy how time goes so fast! I haven’t had any time to make posts here, but I hope to write some more in the near future, and if not here at least on Travelfusion’s blog (I’ll post the link here when we go live). I’ve been working for Travelfusion since July and it’s been a great experience! If you want to find cheap flights you should check our website. I am currently the lead developer for the site and we have a planned a major redesign, so there are so many cool things to implement using GWT. Drop by anytime and give us some feedback.

I am loving London, so much to do, never bored – well almost never – and visiting friends and family once a month just makes up for the occasionally lonely days.

Here are some pictures of a team building event. I can’t say for sure that shooting each other is team building but it was a lot of fun.



Handsome bunch

May 23, 2009


I had to post this one. Guys, sorry if you don’t like to be online, but you’re all very good looking, so it shouldn’t be a problem. :)

@Farewell dinner November 2008, Amsterdam


Get every new post delivered to your Inbox.