[jboss-dev-forums] [Design of the JBoss EJB Container] - Re: Question about Remoting, Marshalling, and EJBs

galder.zamarreno@jboss.com do-not-reply at jboss.com
Mon Mar 10 07:43:04 EDT 2008


Re 1: I haven't seen any customer asking for this.

Re 2: why would InvocationMarshaller need to be used when sending back a response from the server to the client? transaction propagation is a one way system, from client to server whereas encryption works both ways. I don't think we should marshall unnecessary data.

Ron, if you do this, bear in mind the unified invoker unit tests I added based on mock remoting objects. They're standalone and fast to execute :). Let me know if you need a hand to fit in any tests you create for this within AS codebase.

In fact, one of the things I didn't get around to doing was creating remoting mock objects so that IM and IU were used. Marshalling happens too down the stack in remoting and cannot be mocked easily (i.e. mock objects to achieve this would be far too complicated), so ended up repeating the code from IM, IU in the tests. Please bear in mind this and let me know if you can think of a better way to set up Remoting mock objects for this.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135257#4135257

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4135257



More information about the jboss-dev-forums mailing list