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".

Reply via email to