yes, the Interface is useful for compile-time checking. the whole point of interfaces is to make things like 'must implement execute() method' more visible to the developer.
could it be optional? if implements Interface, execute(), otherwise, look for a mapping? toby's first law of open source software: 'must set working option to true' a friend and i have a joke about Open Source frameworks and software - you spend hours trying to configure something only to read somewhere in the docs or in a mailing list that some hidden config option needs to be set somewhere is some file. things that make sense to someone who wrote the code will not necessarily make sense to the poor gumby who struggles to get the thing working 6 months later. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Patrick Lightbody Sent: Thursday, 20 February 2003 9:38 AM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] Proposal: Removing the Action Interface My only concern would be the fact that there is no more interface could result in people doing "public String execut()" or some other mispelling. Also, what if a method doesn't return a String? How will we handle results now? As of right now I'm like -1/2, but if the above situations can be addressed, I'll switch to +1/2 I guess :) -Pat ----- Original Message ----- From: "Jason Carreira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 19, 2003 2:33 PM Subject: [OS-webwork] Proposal: Removing the Action Interface > Based on the idea earlier of setting the method to execute for > commands and making the default alias use the "execute()" method, > thereby making the Action Interface unneeded, I'm proposing to remove > the Action Interface from Xwork 1.0 / Webwork 2.0 and allowing any > object to be used. > > If no-one has any objections, I'll be doing this. > > Jason > > -- > Jason Carreira > Technical Architect, Notiva Corp. > phone: 585.240.2793 > fax: 585.272.8118 > email: [EMAIL PROTECTED] > --- > Notiva - optimizing trade relationships (tm) > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The > most comprehensive and flexible code editor you can use. Code faster. > C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork