title: Share JPA entities among applications
body: <p>Suppose having several JavaEE 6 applications using the same entities in a database - what would be the best way to share the JPA Enitity classes among them?</p>
  
  <p>Should they be included as classes in each WAR or should there be a JAR with the entities inside each WAR or should the entities be deployed separately?</p>
  
  <p>And would the solution be dependent on the server? Currently we use JBoss 7.</p>