posted 20 years ago
We do this a lot for session objects. If we have an interface, we'll have it extend Serializable and sometimes Cloneable as well. Those interfaces don't have any methods but they tell the runtime that the implementing class can be serialized and/or cloned.
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher