You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Leon Rosenberg <st...@anotheria.net> on 2005/02/26 14:30:18 UTC

[OT] Re: Struts Approach

Can you tell me the exact difference between a leading "I" and a leading
"Abstract"  ?

AbstractButton, AbstractModel, AbstractAction... 


> I am unaware of any interfaces in the JDK that are ISomething. 
There was almost none of those in jdks 1.0, 1.1.x and so on, till swing /
1.2.
Wait till 1.6 :-) 


Leon


> -----Ursprüngliche Nachricht-----
> Von: Larry Meadors [mailto:larry.meadors@gmail.com] 
> Gesendet: Samstag, 26. Februar 2005 14:24
> An: Struts Users Mailing List
> Betreff: Re: AW: AW: Struts Approach
> 
> On Sat, 26 Feb 2005 14:13:59 +0100, <st...@anotheria.net> wrote:
> > Hmm, i thought it's more or less standart for interfaces in the 
> > advanced java community...
> > 
> 
> Baloney.
> 
> HttpServletRequest? HttpServletResponse? ResultSet? List?
> 
> No leading "I" on any of those. 
> 
> I am unaware of any interfaces in the JDK that are ISomething. 
> 
> Larry
> 
> 
> > But you can of course drop any points to the kind of the class like 
> > "Service" "Factory" "DAO", "Action", "Bean" and the poor 
> "Abstract" and "I"
> > .... this will sure make it more readable...
> > 
> > And it's not hungarian since "Interface" is not a type.
> > 
> > Regards
> > Leon
> > 
> > > -----Ursprüngliche Nachricht-----
> > > Von: Larry Meadors [mailto:larry.meadors@gmail.com]
> > > Gesendet: Samstag, 26. Februar 2005 14:06
> > > An: Struts Users Mailing List
> > > Betreff: Re: AW: Struts Approach
> > >
> > > Couldn't disagree more. ;-)
> > >
> > > IMO, adding hungarian notation like that to a Java project is 
> > > pointless. What's next? sCustomerName? iCusomerId?
> > >
> > > Nonsense. Leave that for C coders. :-D
> > >
> > > Larry
> > >
> > >
> > > On Sat, 26 Feb 2005 13:58:41 +0100, Leon Rosenberg 
> > > <st...@anotheria.net> wrote:
> > > >
> > > > <leon>
> > > >   <2cents>
> > > > The interface should start with an 'I' -> ICustomerService, and 
> > > > you also need a CustomerServiceFactory to 
> create/retrieve/manager 
> > > > CustomerServiceImpl instances :-)
> > > >
> > > >   </2cents>
> > > > </leon>
> > >
> > > 
> --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> > 
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org