
Originally Posted by
gpoirier
I cannot say I find Burlap's serilization that good either (I prefer the JDK serialization), but the problems you mentionned can be solved.
For the Collections.EMPTY_LIST, the lastest version of Burlap/Hessian will fall back on ArrayList if the newInstance() call on the list concrete class fails. I'm not completely sure when this got fixed, but Burlap/Hessian's behavior on lists changed frequently in the 2.x releases, and changed again from the 2.x to 3.x releases if I recall correctly. The main problem on the 3.x list behavior is for implementations such as Hibernate's, where the list can be successfully created, but the add(Object) method will fail because it asks for a session.
Concerning the method overloading issue, there's an overloadEnabled property on the factory that can be set to true so that mangling is used when sending the method names.
For the XML logs, I don't think it's possible unless using an external TCP proxy that dump the text it receives before sending it to the real client/server.
Guillaume