<p><a href="http://hessian.caucho.com" rel="nofollow noreferrer">Hessian</a> is a custom binary serialization protocol, (which is open-source - I think), that forms the basis for a binary cross platform remoting framework. I'd like to know if anyone here has used it, and if so, what sort of performance can we expect from a solution that bridges a Java app on one side with a C# app on the other. (Let us consider that we are serializing simple classes, and may be arrays, lists, dictionaries of simple classes.)</p>

[{'answer_id': 65873, 'author': 'MetroidFan2002', 'author_id': 8026, 'author_profile': 'https://Stackoverflow.com/users/8026', 'pm_score': 0, 'selected': False, 'text': '<p>This is the sort of problem that web services were designed to solve.  Although no longer simple, the SOAP format allows you to serialize objects to an XML representation on a Java/C# application, transmit them across the wire and deserialize them in the corresponding Java/C# application (Java/C# may be replaced with virtually any language that can translate an XML document).  Although "serialize" is used here, it is also common for this process to be referred as "marshalling".</p>\n\n<p>However, moving away from SOAP for web services is currently being considered by many.  Find out more about web services from Wikipedia: <a href="http://en.wikipedia.org/wiki/Web_services" rel="nofollow noreferrer">http://en.wikipedia.org/wiki/Web_services</a></p>\n'}, {'answer_id': 67349, 'author': 'Matt Solnit', 'author_id': 6198, 'author_profile': 'https://Stackoverflow.com/users/6198', 'pm_score': 1, 'selected': False, 'text': '<p>Have you looked at the HessianC# project (<a href="http://www.hessiancsharp.org/" rel="nofollow noreferrer">http://www.hessiancsharp.org/</a>)?</p>\n'}, {'answer_id': 1563747, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': '<p>Admitting "Soap is over-engineered" and then praising an implementation that un-engineers/abstracts it is like me writing this entry in French, and then asking you to use Google Translate to read it, and then in English praising Google Translate.</p>\n\n<p>Binary Protocols are the way of the future.  If you are prepared to write "smart" code you will thank yourself when it performs exactly how it was programmed and developed to perform.</p>\n\n<p>All it takes is one latent Soap service to bring your SOA architecture into an "exception" mode ... I call this the "exception" mode because companies with SOA\'s implemented in soap (READ: XML) implement exceptions around the SOA whenever they encounter a transactional type of data-interchange in which very large records may be read in succession.</p>\n\n<p>*(I can just imagine the post SOAP implementation conversations being had)</p>\n\n<p>So you have an SOA?\n:Yes we do\nEverything?\n:Well everything except our business critical transports...</p>\n\n<p>Check out WSO2 webservices and their ESB while you are at it - you will thank yourself again if you do.\nThere is a reason Mule, and then WSO2 provided support for HESSIAN.\nYou might also want to read: <a href="http://java.sun.com/developer/technicalArticles/WebServices/fastWS/" rel="nofollow noreferrer">http://java.sun.com/developer/technicalArticles/WebServices/fastWS/</a></p>\n'}, {'answer_id': 1655499, 'author': 'Pavel Savara', 'author_id': 129124, 'author_profile': 'https://Stackoverflow.com/users/129124', 'pm_score': 1, 'selected': False, 'text': '<p>I am author of <a href="http://jni4net.sf.net/" rel="nofollow noreferrer">jni4net</a>, open source intraprocess bridge between JVM and CLR. It\'s build on top of JNI and PInvoke. No C/C++ code needed and it should be relatively fast. I\'m not sure if marshalling by reference across boundary would solve your problem.</p>\n'}]
['https://Stackoverflow.com/questions/62932', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/6995/']