JBoss Community

Re: Readonly transactions in session beans

created by Nicklas Karlsson in JBoss AS 7 Development - View the full discussion

I think you get can get to the session from the EntityManager delegate.

 

I have a similar case where I load my data into an @ApplicationScoped (@Singleton) bean, I then have a REST interface which I can call in order to flush the component and force a re-fetch if necessary.

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community