You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "McCay, Larry" <LM...@Bluestone.com> on 2000/10/25 03:26:18 UTC

interfaces vs base classes

Greetings,

I may have missed a previous discussion on this topic - if so I apologize.

I am wondering if someone could explain why we have changed to base classes
from interfaces for the Action and FormAction files.

Typically, I provide an interface an abstract implementation and sometimes a
default implementation of that.  I have thought that this provided the
greatest level of flexibility.

A couple things strike me as odd:

1. We are now limited to extending a single base class instead of
implementing the appropriate interface in a class which extends the most
meaningful base

2. We have also broken any existing customer code that implements them
directly - we won't want to make changes like this after 1.0 release

Thanks in advance,

Larry