It is a well known fact that java.io.Serializable is one of the slowest serializers out there. So in many cases when long response time is an issue to gain a couple of milliseconds programmers recur to alternative serialization methods. These days one of the fastest serializers is Kryo, but its main problem is that it can't be used in conjunction with other popular frameworks (Hibernate,
EJB, Spring, etc.) without their explicit support of this particular serializer or their modification. So as an alternative many people use java.io.Externalizable interface instead putting their own serialization implementations that override the methods used by the Serializable interface.
The question here is: What would be the most efficient Externalizable implementation for common entities (beans containing primitives and java.lang wrappers)?
Wanna install linux on a vacuum cleaner. Could anyone tell me which distro sucks better?
willCodeForFood("Java,PHP,C#,XML,VBS,XHTML,CSS,JavaScript,SQL"); //always looking for job opportunities in AU/NZ/US/CA/Europe :P