This question may already exist but of course search is broken.
I'm trying to avoid mapping files and I have a requirement that we not use the EJB container.
Do annotations exist for Hibernate which don't require EJB? I read the Hibernate annotations doc and it appears to rely heavily on EJB entities (e.g. @Entity). Does one need the EJB container to use @Entity? I have also used the EJB3/JPA annotations pretty extensively in Seam. The following line seems to indicate that you can do this but the doc doesn't speak to it:
Quote:
You may use a combination of all three together, annotations without EJB3 programming interfaces and lifecycle, or even pure native Hibernate, depending on the business and technical needs of your project.
http://www.hibernate.org/hib_docs/annotations/reference/en/html_single/#d0e33
Thanks for the advice