<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="Osso Notes">
<title></title></head>
<body>
<p>I've noticed there's not much interest in improving Serialization on these lists. This makes me wonder if java Serialization has lost relevance in recent years with the rise of protocol buffers apache thrift and other means of data transfer over byte streams.
<br>
<br>The burden of implementing Serializable can significantly hamper developers efforts when refactoring, it's quite common for some projects to make no guarantee regarding Serialization compatibility between releases. Also implementation of
<br>
<br>Serializable can double project development hours, hamper future development and increase software maintenance costs.
<br>
<br>Serialization also presents opportunities for attackers and has been responsible for a number of zero day exploits.
<br>
<br>I don't know if isolates will be included with JDK 9 for Jigsaw, or whether ClassLoaders alone will provide isolation for modules.
<br>
<br>The ability to limit visibility and provide isolation of implementation classes as well as providing limits on memory and threads for isolated modules would also improve platform security.
<br>
<br>Serialization may provide a means to hot upgrade modules, but more flexible options that doesn't cause serial data lock in need to be developed.
<br>
<br>Should Serializable eventually be deprecated?
<br>Should Serialization be disabled by default?
<br>Should a new mechanism be developed?
<br>If a new mechanism is developed, what about circular object relationships?
<br>
<br>Regards,
<br>
<br>Peter.
<br> </p>
</body>
</html>