I have just ran into the exact same problem,
I am starting up and want to read the database
to start communicating with registered end-points,
but cannot figure out how to do it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4000794#4000794
Reply to the post
Yes, I have just got the following working:
- I had to make a Stateful bean, a POJO
didi not seem to work.
package com.mydomain;
import javax.ejb.Remove;
import javax.ejb.Stateful;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import