Enterprise JavaBeans - problem in Session bean (EJB 2)
Hello
i have the next warnig when i start my weblogic:
<Call-by-reference is not enabled for the EJB 'MiSeesionBeanSessionEJB'. The server will have better performance if it is enabled. To enable call-by-reference, set the enable-call-by-reference element to True in the weblogic-ejb-jar.xml deployment descriptor for this EJB.>
the ejb jar file has this:
<session>
<description><![CDATA[MiSeesionBeanSessionEJB]]></description>
<display-name>MiSeesionBeanSessionEJB</display-name>
<ejb-name>MiSeesionBeanSessionEJB</ejb-name>
<home>MiSeesionBeanSessionHome</home>
<remote>MiSeesionBeanSession</remote>
<ejb-class>MiSeesionBeanSessionBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
Can you help me?
thanks
[991 byte] By [
mirentxua] at [2007-11-26 23:14:18]

# 1
Call-by-reference for remote interfaces is an optimization that some Java EE application servers
can perform for Remote EJB invocations where the caller and callee happen to be within the same
JVM.It avoids some of the overhead of a typical Remote EJB invocation by passing arguments
by reference instead of by value. That approach is non-portable but can result in higher performance.
This was an option that was highly used for the Remote EJB view before the EJB Local view was
added.In general, it's preferable to use the Local EJB view for optimized invocations between
collocated client/ejb components, since in that case the pass-by-reference behavior is portable.
This message is merely a suggestion about one tradeoff for possibly improving the performance
of your application. It's not an error message.
--ken
ksaksa at 2007-7-10 14:13:04 >
