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
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
Geek & Poke published an appropriate strip recently. Any coder will consider the documentation writing a hassle. Yet, they will also be first in line to regret the absence of up-to-date explanation.
Well maybe not them, since people like me rather read code than documentation, but then bosses will be. I was recently asked if we had UML diagrams of our project. Of course not, but automatically generated diagrams should do the trick, isn’t it?
I was answered that finding a free-to-use tool was near impossible. “Challenge accepted!”
As it turns out, I ended up with a nice Javadoc, including diagrams for both classes and packages (the one of the root of the project is quite impressive, by the way). Here is a quick preview.
In this post, I will detail how I proceeded to get this result.
Continue reading Nice Javadoc and UML diagrams with Maven