EJB3checker is a static code analyzation suite for the EJB 3.0 technology. It checks the correct combination of annotations and declarations for entity and session beans.
Here's a list of the currently supported checks:
The getter and setter methods of entity beans are checked wether their method signature match. This means that setter methods take just one argument and have got a matching getter method which returns a value of the same type.
default constructor testEntity bean classes need to have a default constructor until they are abstract classes.
@Id checkIt is checked wether the @Id annotation just appears once in every entity bean.
You can find the EJB3checker binary distribution as jar file in the sourceforge download section.