A summary of why you can’t serialize Optional and what can be done to deal with that limitation if necessary.
A presentation of the Serialization Proxy Pattern as defined in Effective Java. It defines the pattern, describes its implementation and gives examples.
A close look at serialization and a presentation of some key concepts of Java’s serialization system.
Discussing the reasons for not making Java 8’s new type Optional serializable.
A digest of how Optional was introduced in Java 8, summarizing the many discussions about it and their key points based on the mail archive of JSR-335.
Write intention revealing code with Java 8’s new type Optional and prevent most NPEs. This is not optional!
Discussing the talk “Architecture – The Lost Years”, which Robert C. Martin held on several occasions.
Use Java 8’s default methods to make the decorator pattern even more beautiful, which results in more concise and readable code.
Discussing the keynote “Workflows of Refactoring” by Martin Fowler at OOP 20014, where he categorizes different reasons for and ways of refactoring.
A real-life example how the decorator pattern enables future changes and improves code quality by upholding the Single Responsibility Principle.