EJB annotation works like all the other java annotation. In a very simplistic way during the deployment the container take some decision based on the applied annotation, the annotation can be overwrite with the deploy descriptor (in XML from).
For more information about the java annotation please consult this link
SCJP, SCJD, SCWCD, OCPJBCD
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads