Copying this entity (not entity bean) from:
http://java.sun.com/developer/technicalArticles/J2EE/intro_ee5/ I am just wondering that they are putting annotations (id, many to one etc) on getter methods. Why???
Isn't it better and cleaner to put these kind of annotations on variable (instead of methods)?
What's say?
Thanks.