Use attributes and interfaces on Java enums

Most Java developers know of Java enums. Most developers also know that each field of an enum can define its own methods. But even most of those who know that are not aware they can define a contract each field of the enum must implement.

It might seem a useless piece of information. Yet, in my own case, it was really useful to me… Continue reading Use attributes and interfaces on Java enums

GWT and Maven: create a project and run it in hosted mode

Title is explicit: how to create a GWT project with Maven? Nothing fancy here, just taking the sample project the Eclipse GWT plugin generates and turning it into a Maven project.

All sources presented in this post can be obtained from my Github.

As for the steps to follow,  Continue reading GWT and Maven: create a project and run it in hosted mode