Hi , everyone, I am reading the source code of JBoss 3.2.3. But I am confused for JRMPInvoker. As we known, there is a communication object named JRMPInvoker, which is a ServiceMBean, stands in the server side and listens request from clients. And server assembles a dynamic proxy for clients to send invocation. There is an object named JRMPInvokerProxy inside the dynamic proxy responsible for concrete communication. It is strange that what the JRMPInvokerProxy invokes in client side is JRMPInvoker itself according to source code. But JRMPInvoker should be an object in the SERVER SIDE! It looks up Registry, which is inside the application server, for a corresponding EJB container and forwards the invocation to the container. I canÂt believe my eyes and check again. But it is true that the JRMPInvokerProxy invokes a member variable named remoteInvoker which type is Invoker. The remoteInvoker is initialized to JRMPInvoker in the constructor of JRMPInvokerProxy in server side. (JRMPInvoker.java line 387)
I suppose that what the JRMPInvokerProxy invokes is not the really JRMPInvoker but a stub because JRMPInvoker extends RemoteServer. But I can not find enough evidence to prove it. Does anyone have some idea? Any help is appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832021#3832021 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832021 ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg297 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
