title: How does EJB and JPA relate?
body: <p>I am reading the EJB 3 in Action book and I have the following question :<br>
  Is the POJO's you write and annotate with @Entity and so on also a EJB entity type? </p>
  
  <p>I don't understand what JPA has to do with EJB. Isn't JPA a own specification now? The entities are also contained in a own persistence container. They talk about EJB 3 Java Persistence API etc. but I don't understand what entities has to do with EJB.</p>