When we are talking a business entity, a person,
we have a logic class Person, which has methods
*and* *data*.
EJB put Entity Bean in a container, as a prisoner
with life sentence. So you can not realy have a
stand-a-lone Person class. You only have an interface
to access it. So there is no conflict between
Person and IPerson.
Personaly, I prefer to use IPerson or PersonI and
reserver Person, maybe we will use it in the
future.
--- Karl-Fredrik Blixt <[EMAIL PROTECTED]>
wrote:
> Javier Borrajo wrote:
> >
> > Hi, I like using an "I" as a prefix for
> interfaces, such as
> > CutomerBean, ICustomer, ICustomerHome.
> >
> I don't see the logic behind this (this is also the
> convention among COM
> developers from what I know).
> An interface should not be known as an interface. A
> Person is a Person, not an
> Interface Person (IPerson). It is the same rule of
> abstraction that made you
> chose to use an interface in the first place. You
> put up a facade to hide the
> implementation detail. Why then expose the fact that
> its an interface? It does
> not bring any useful knowledge, in my opinion, it
> only makes the code harder to
> read.
>
> IMHO, FWIW, and the lot...
> /Kalle Blixt
> --
> Outside a restaurant in Los Angeles: "Men without
> tie, No service. Women without
> top, Free service!"
> Karl-Fredrik Blixt
> Computer Science student at LiTH, Sweden
> Homepage: http://travel.to/kp
> Telephone: +46-(0)13-47 39 206
> Cellular: +46-(0)739-87 11 03
> ICQ: 4744258
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED]
> and include in the body
> of the message "signoff EJB-INTEREST". For general
> help, send email to
> [EMAIL PROTECTED] and include in the body of the
> message "help".
>
>
=====
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".