Container « Glassfish « JPA Q&A





1. Using Hibernate Ejb3Configuration with Container Management    stackoverflow.com

Is there a way to use programmatic configuration provided by Ejb3Configuration with container managed entity management? I would like to dynamically add (additional) annotated classes that were discovered via ServiceLoader ...

2. Dynamic JPA Entities in EJB Container    stackoverflow.com

Within a GF EJB container, I am trying to dynamically discover my JPA entity classes using ServiceLoader and add them to the the JPA configuration prior to the container creating the ...