On Thu, 31 Mar 2005 07:07:53 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote:
> I cannot think of "[m]any" or even "any" larger Sun interfaces that
> include utility methods.  Which ones do you have in mind? 

Map, for example, includes several optional operations. 

* http://java.sun.com/j2se/1.3/docs/api/java/util/Map.html

Another strategy is to have two standard ActionContext
implementations. One would contain only the operations required by the
framework. The other, a subclass of the first, would also contain
optional operations.

Spring uses this approach to good effect with its ObjectFactory and
ApplicationContext members. Likewise, we could have a  CoreContext
with only what Struts itself needs to get through the day. A larger
ApplicationContext could include the other optional methods that we
find useful when writing Struts applications.

-Ted.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to