ok, that was easy after I found
@PersistenceUnit
which injects the EntityManagerFactory (this also works on mbeans, and the
persistence-unit is initialized before the mbean: so in case you want to do something
fancy with the EntityManagerFactory, you can do so in the create() of an MBean...)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975409#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...