I’m currently migrating some of our applications from JBoss4 to JBoss7 and have a question about the transaction of beans.
In JBoss4 we had to set the bean transaction to 'call-by-value'.
Call by value for "transactions"? Or do you mean call by value semantics for invocation on remote interfaces of a bean?
Sry, my fault.
Yes, i meant the invocation on remote interfaces of a bean.
The EJB spec mandates that calls to remote interfaces on EJB, use call-by-value semantics. AS7 however allows you to configure call-by-reference semantics for invocations on remote interfaces of EJB, in the same VM. You can configure it at each application level (via jboss-ejb-client.xml) or for all applications on the server at the EJB3 subsystem level. See this JIRA for details https://issues.jboss.org/browse/AS7-3330
That is what i have searched for.
Thanks a lot