[jboss-user] [JBoss Seam] - Re: Avoiding the DRY Principle with beans

bruce@dpi do-not-reply at jboss.com
Tue Jul 25 02:47:34 EDT 2006

The generics example above uses the @PersistenceContext annotation in an abstract superclass:

public abstract class PersistentBean  implements Serializable, PersistentLocal {
    private EntityManager entityManager;
    // Other code which I have omitted


Can anyone point me to EJB3 documentation which specifies that using the @PersistenceContext in an abstract superclass is valid according to the specification and will therefore be portable across application servers?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960591#3960591

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960591

More information about the jboss-user mailing list