O'Reilly logo

Component Development for the Java™ Platform by Stuart Dabbs Halloway

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A.6. Marshalling Architecture

A marshalling architecture ships method calls from one environment to another and provides some degree of help with the platform impedance issues discussed earlier. As mentioned in §A.2, marshalling involves seven steps:

1.
Convert a method invocation into a request message.
2.
Deliver the request message to a target environment.
3.
Convert the request message into a method stack in the target environment.
4.
Invoke the method.
5.
Convert the return value(s) or exception(s) into a response message.
6.
Deliver the response message to the source environment.
7.
Convert the response message back into the types expected by the caller.

In order for this communication to occur inside a single process space, the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required