| Hi, In the current 2.0 spec, object type information is send once per *Hessian interaction* (a loosely defined concept) and subsequent instances of a type simply reference this type definition. This makes Hessian quasi-stateful within the context of a single interaction. I can only assume that a type reference is only valid within a single call, reply or message. This means that the scope of a type reference is bound by
Given that I was wondering whether there is any merit in making the scope of a type reference more explicit and stateful, so that it can be re-used across invocations. This would reduce the amount of redundant type information that is sent over the wire. I've attached an interaction diagram of how a mini-protocol to exchange type information might look. In this interaction, a peer who wants to send an instance of a type does the following:
There are a few considerations around this:
Any discussions, comments or suggestions are appreciated, Ben |
Hessian Type Mapping.pdf
Description: Adobe PDF document
_______________________________________________ hessian-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/hessian-interest
