What are pedantic rules?
1) Not actually required by our runtime, meaning that your code will work as is. 2) Questionable altogether, and may well be eliminated from the EJB specification when people realize how annoying they are. 3) Violated in almost every EJB program ever written, both in our product and in all the various books ever written about EJB. Currently, there are four warnings that have been classified as pedantic: 1) Throwing java.rmi.RemoteException from a bean method is deprecated. 2) Static fields in the bean class must be final. (This is actually a useful rule, which is violated by the Java compiler, as per a previous FAQ.) 3) The primary key type must define the equals(Object) method. 4) The primary key type must define the hashCode() method. The behavior of the verifier is that, by default, these rules are ignored. Adding the -pedantic flag to the verifier causes violations of these rules to issue warnings. (Note that for deployment purposes, warnings are ignored, meaning that you can go ah