Cómo instalar Maven 3 en Ubuntu

Entra con usuario root sudo bash Abre la lista de repositorios sudo -H edit /etc/apt/sources.list Edita el archivo para agregar el repositorio de maven Para editar el archivo, presionar “i”. Una vez que hayamos hecho los cambios, presionar “esc” y después “:wq”. El ultimo comando significa que guardaremos los cambios y saldremos del archivo (“w”…

Print friendly websites

  Most websites have a print-friendly options that basically removes all non-essential content like menus, background colors and things like that. The point is to save as much ink as possible. Sometimes, though, you may want a print version that preserves background images and other stuff that I found quite hard to find on the…

Spring’s JdbcDaoSupport Quick Start

This post serves as a very concise introduction to Spring’s JdbcDaoSupport usage, executing both queries and database functions. I’m assuming you already know how to configure the basic spring configuration for accesing the database. One of the advantages of using this class is that it has a very easy to read code, and once you…

Lessons learned from using function point analysis

When it comes to estimating projects you will find that there are many techniques, each of them with both supporters and rejectors, as well as their pro’s and cons. With function point analysis I’ve found that it’s a very subjective technique and thus very likely to miscalculate the size of the project. It is, however,…

Transforming XML to objects using XStream

I was working on some functionality that required transforming information from XML format to a Java object. XStream is a library that can do such a job. However, I really struggled to find a good and straight forward tutorial on how to transform a common XML document structure. Suppose you have a structure like this.…

Basics of Microsoft Data Access Components

Overview When I started doing some programming with VBA, C#, ASP.NET and the likes, I was very confused about how the Microsoft Data Access Components (MDAC) worked together. So, after some investigation, I decided to concentrate it all here. Objective To rid you of all doubts concerning what each component do and how they interact.…