Pere Villega's blog

If at first you don’t succeed, call it version 1.0

Java Vector is Obsolete

Today I was working with a unit test class for my Google Summer of Code project. Launching the test raised a concurrency exception due to me using ContiPerf to check the performance of some methods. It's a situation that, given the piece of code tested, would not usually happen.

Sonar and Hudson

Due to my current tasks at Google Summer of Code 2010 I've been setting up a small CI system for my personal use. Yes, it is an overkill, but I wanted to test it and, truth be told, the statistics provided by tools like Sonar and Hudson are priceless, they show you many potential errors you may have in the code, coverage you are missing, etc.

MyNet

One of the many reasons I've been barely posting these past weeks is that I'm finishing my Master in Open Source Software by UOC. I've had to develop a project for it, and I've chosen to develop a portal similar to Pirate Bay. You can checkout the code here at Bitbucket.The project is a Java web application and it uses Seam as framework.

GSOC 2010: Testing

During this time I did not update the blog, I was finishing my GSOC 2010 project. You can find more technical details here.

EJB Concepts and Services

This page contains a brief summary of EJB 3.0 Services and related concepts. It only gives basic information, for more details about life cycle and other functionalities check the EJB 3.0 reference or some book like EJB3 in Action.