By using local interfaces instead of remote interfaces you can prevent RMI calls (with
local interfaces you will have direct method invocation -- using pass by reference),
but you can use both (local and remote) interfaces also. For further inf. please check:
http://www.onjava.com/pub/a/onjava/2
Thank you M. Stark for your support.
I haven't found any tags in jboss.xml or standardjboss.xml to force jboss to do a call
by reference or by value. How can I achieve that ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844152#3844152
Reply to the post :
Thank you darranl, we supposed indeed that this was the translation, as indiquated in
our third post...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844142#3844142
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38441
The show a stack trace for one of the rmi calls in the optimize it output. You have to
explicitly enable call by value semantics through a jboss.xml configuration (or
standardjboss.xml) setting.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844141#3844141
R
'no arg ctor' = No argument constructor
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844138#3844138
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844138
---
This
To complete our recent answer, first, we do not specify any url provider in the
jndi.properties (as explained upper) so it may be auto-generated by the container.
Then, in our source code, we call the constructor InitalContext with no arguments :
initialContext = new InitialContext();
Then for
Thank you M.Stark for your support,
We thought about this idea and in that case we had removed the line
"java.naming.provider.url=jnp://<@IP>:1101" from the jndi.properties file.
It seems in reading your post that it could be a bad factory used in the
jndi.properties file. It contains now only
The only rmi call this could be is the JNDI naming service. This would indicate that
you are not using the no arg ctor of the InitialContext and are supplying a provider
url which triggers the rmi call. If its not the naming service, show the trace for the
call.
View the original post :
http:/