We use a variant on #3
Remote: com.x.idl.y.Account
Home: com.x.idl.y.AccountHome
Bean: com.x.beans.y.AccountBean
The interfaces and/or beans for all packages (y) for project (x) can then be
easily deployed.
(and idl is much quicker to type than interface, even if not strictly
correct =;-)
-----Original Message-----
From: Rickard �berg [mailto:[EMAIL PROTECTED]]
Sent: Monday, 18 October 1999 05:40
To: [EMAIL PROTECTED]
Subject: EJB naming conventions?
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".