Interface with serializable implements?
public interface SearchCriteria extends Serializable {}
class which implements a interface which doesnt have method initilization just a extented by "Serializable" interface
public class AbstractSearchCriteria implements SearchCriteria
{
private static final long serialVersionUID = 1L;
private PageCriteria pageCriteria;
public AbstractSearchCriteria()
{
super();
}
public PageCriteria getPageCriteria()
{
return pageCriteria;
}
public void setPageCriteria(PageCriteria pageCriteria)
{
this.pageCriteria = pageCriteria;
}}
serialization is the process of translating data structures or object state into a format that can be stored.
Serializable is a marker interface serializable is a special interface that specifies that class is serialiazable. It's special in that unlike a normal interface it does not define any methods that must be implemented: it is simply marking the class as serializable.
more here What is object serialization?