[JBoss-user] [Performance Tuning] - Re: How to prevent RMI calls inside same VM with EJB Session
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/2001/05/10/ejb.html http://www.ftponline.com/javapro/2002_08/online/j2ee_rdahbura_08_14_02/ http://www.devx.com/getHelpOn/10MinuteSolution/16677/1954?pf=true View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3845922#3845922 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845922 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: How to prevent RMI calls inside same VM with EJB Session
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://www.jboss.org/index.html?module=bbop=viewtopicp=3844105#3844105 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844105 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: How to prevent RMI calls inside same VM with EJB Session
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 2 lines : java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces I do not understand your expression :no arg ctor, is there a mistake character ? In docs, it seems that this factory is default factory, so it does not seems to be the default... Any idea to help us ? We go on investiguate in that way... Thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844113#3844113 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844113 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: How to prevent RMI calls inside same VM with EJB Session
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 remote object (all EJB sessions objects) : Object obj = initialContext.lookup(ejbReferenceComponent); Object home = PortableRemoteObject.narrow(obj, homeClass); String ejbReferenceComponent is a parameter to identify EJBs. Class homeClass is a parameter to identify waiting class. Is it possible that the JBOSS implementation (transparent for them) can make a lookup using RMI access instead of local stub access ? Thank you for your support. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844135#3844135 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844135 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: How to prevent RMI calls inside same VM with EJB Session
'no arg ctor' = No argument constructor View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844138#3844138 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844138 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: How to prevent RMI calls inside same VM with EJB Session
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=bbop=viewtopicp=3844141#3844141 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844141 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: How to prevent RMI calls inside same VM with EJB Session
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=bbop=viewtopicp=3844142#3844142 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844142 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: How to prevent RMI calls inside same VM with EJB Session
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=bbop=viewtopicp=3844152#3844152 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844152 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user