We actually have the opposite of your style. Emphasizing that the interface
is the API and should look nice and packaged and the implementation could
look as ugly as you see fit...
I.e. like:
com.x.businessdomain.people.Customer
com.x.businessdomain.people.CustomerHome
com.x.businessdomain.ejb.CustomerBean

Jon Tirs�n
Chief Architect
Itec Open Business Integrator AB
PGP key lookup:
http://certserver.pgp.com:11371/pks/lookup?op=get&search=0xE9032B9A

> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Victor Langelo
> Sent: den 18 oktober 1999 15:51
> To: [EMAIL PROTECTED]
> Subject: Re: EJB naming conventions?
>
>
> Rickard,
>
> We use something like Style #3. Although, we have many bean
> packages instead of
> just one. For instance:
>
> com.x.project_y.people.CustomerBean
> com.x.project_y.interfaces.Customer
> com.x.project_y.interfaces.CustomerHome
>
> and
>
> com.x.project_y.org.CompanyBean
> com.x.project_y.interfaces.Company
> com.x.project_y.interfaces.CompanyHome
>
> So style 3 will work if you allow the flexibility to have a different bean
> package for each bean. Our deployments tend to have beans from
> several different
> packages.
>
> --Victor Langelo
> Eclipse Services
>
> Rickard �berg wrote:
>
> > Hi!
> >
> > I'm currently working on a wizard-style tool for EJB-XML creation. I was
> > thinking of letting the tool figure out as much as possible on its own.
> > To do that I have to know approximately which naming conventions people
> > use for their beans.
> >
> > So far I have the following (using the common Account example):
> > Style #1 (EJB spec):
> > Remote: com.x.Account
> > Home:   com.x.AccountHome
> > Bean:   com.x.AccountBean
> >
> > Style #2 (J2EE RI):
> > Remote: com.x.Account
> > Home:   com.x.AccountHome
> > Bean:   com.x.AccountEJB
> >
> > Style #3 (the one I use: alleviates packaging+follows EJB spec style):
> > Remote: com.x.interfaces.Account
> > Home:   com.x.interfaces.AccountHome
> > Bean:   com.x.beans.AccountBean
> >
> > Are there any other styles that you people use? Let me know and I'll
> > include them into the tool (which will be released as OpenSource).
> >
> > Thanks for your help!
> > Rickard
> >
> > --
> > Rickard �berg
> >
> > @home: +46 13 177937
> > Email: [EMAIL PROTECTED]
> > Homepage: http://www-und.ida.liu.se/~ricob684
> >
> >
> ==================================================================
> =========
> > 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".
>
> ==================================================================
> =========
> 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".
>
>
BEGIN:VCARD
VERSION:2.1
N:Tirs�n;Jon;;;
FN:Jon Tirs�n
ORG:Itec;
TITLE:Chief Architect
TEL;WORK;VOICE:+46 (8) 343431
TEL;CELL;VOICE:+46 (709) 306109
TEL;WORK;FAX:+46 (8) 343438
ADR;WORK:;;Box 23049;Stockholm;;104 35;Sweden
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Box 23049=0D=0AStockholm 104 35=0D=0ASweden
ADR;POSTAL:;;Ynglingagatan 17;Stockholm;;104 35;Sweden
LABEL;POSTAL;ENCODING=QUOTED-PRINTABLE:Ynglingagatan 17=0D=0AStockholm,  104 35=0D=0ASweden
URL:
URL:http://www.itec.se
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
REV:19990417T134712Z
END:VCARD

Reply via email to