>FROM: Daniel Bratell >DATE: 02/13/2002 05:11:49 > >We have as standard to name entity beans with the suffix Entity >(ForeignAccountEntity, CustomerEntity,....), but XDoclet seems to assume >that the suffix Bean is used for all beans when naming the generated >classes.
I've always used FoobarEJB for my bean classes, with no problems. In theory, it should use the class name minus any "Bean", "EJB" or "Ejb" only if it doesn't find an @ejb:bean name="Foobar" parameter, otherwise that's the one it should use. I think I may have spotted a bug in there, though, that stops it ever using the name parameter value. Also, I can see one other problem with your naming convention - what are you going to call your Session EJBs? BalanceTransferSession (for example) is no good - even assuming it then picks up the right value from @ejb:bean name="BalanceTransfer" it'll clash with the name XDoclet wants to use by default for the generated session class... Andrew. _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
