This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I have example in JPA and getting following error during deploying the ear to JBOSS.
org.hibernate.AnnotationException: No identifier specified for entity: com.entity.Cabin
Here is the Cabin class -