"The jar file or directory whose META-INF directory contains the persistence.xml file is termed the root of the persistence unit."
As your Account and Person class are part of this jar file, they are seen as "annotated managed persistence classes found in the root of the persistence unit". [ November 21, 2008: Message edited by: Kristel Nieuwenhuys ]
Thanks for pointing it out. The question should make it clear that Account and Person class belong to com.enthu.ejbplus package, in which case, they are positioned correctly in the jar file and will be inspected by the container for annotations.