Why isn DataModel serializable?
The DataModel class (used with UIData components) doesn’t have any state that needs to be preserved between render and restore-view phases. Therefore, there is no need for it to be serializable. If you have a managed bean that you want to be serializable, and there is a member of type DataModel then just mark it transient.