Nicklas Karlsson [
https://community.jboss.org/people/nickarls] created the discussion
"Re: Readonly transactions in session beans"
To view the discussion, visit:
https://community.jboss.org/message/788718#788718
--------------------------------------------------------------
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
[
https://community.jboss.org/message/788718#788718]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]