Hello,
As we talk about design, let me mention this promising project:
http://pavg.stanford.edu/rapide/
"The Rapide™ Language effort focuses on developing a new technology for
building large-scale, distributed multi-language systems."
Interesting entree, isnt't it.
They have, for example, a desing of the XA protocol.
Regards,
Wojtek