-
1. Re: [JBoss7] call-by-value and call-by-reference
jaikiran Feb 22, 2012 5:34 AM (in response to swoeste)swoeste wrote:
Hi Guys,
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?
-
2. Re: [JBoss7] call-by-value and call-by-reference
swoeste Feb 22, 2012 5:40 AM (in response to jaikiran)Sry, my fault.
Yes, i meant the invocation on remote interfaces of a bean.
-
3. Re: [JBoss7] call-by-value and call-by-reference
jaikiran Feb 22, 2012 5:40 AM (in response to swoeste)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
-
4. Re: [JBoss7] call-by-value and call-by-reference
swoeste Feb 22, 2012 5:49 AM (in response to jaikiran)That is what i have searched for.
Thanks a lot
Sebastian