| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Resin 3.1 Documentation Examples Changes Overview Installation Configuration Quercus SOA/IoC JSP Servlets and Filters Admin (JMX) EJB Amber Security Performance Hessian XML and XSLT Third-party Troubleshooting/FAQ Hessian Hessian 1.0 spec Hessian 2.0 draft spec Java Binding Burlap Burlap 1.0 Spec Burlap Design Notes Hessian Messaging |
IntroductionBurlap and Hessian use type names in two contexts:
The mapping from a language's types to the Burlap/Hessian names is necessarily language dependent, but designed for cross-language use. Java to Burlap/HessianThe mapping of specific Java types to Burlap/Hessian is relatively straightforward. A Java implementation will also use this mapping when it's parsing and knows the type of the object. Contrast that with the Burlap to Java mapping. Note that XML DOM is mapped to a string.
Method overloadingJava-based servers typically expose three overloaded methods:
In this case, all of "add" , "add__2", and "add_int_int" will map to the same method. The client will use whichever is appropriate to its capabilities. For example, many scripting languages can only handle the number of arguments as a mangling technique. Burlap to JavaIn several cases, a Java parser may know nothing about the expected type. For example, an method's argument might be Object or the serialized data may be in a Vector, or a client may not specify the type for a <map>.
Changesv3 changes (2001-12-27)
v2 changes
|