Makes sense to me; guess I should have thought of that, but then again I've never used entity bean inheritance.
Rich BTW: I'm *really* loving XDoclet. Thanks for such a great tool! Ara Abrahamian wrote: > It is the intended behavior. FooBean extends EntityBeanAdapter, > shouldn't FooBeanLocal extend EntityBeanAdapterLocal? We tried to > simulate component-inheritance, so ABean derives from BBean, and you > automatically get every other bit of the component inheritance derived > too. It's not what you want if EntityBeanAdapter is just a support > class, not an abstraction really. But hey how can XDoclet guess if it's > support class or an abstraction? > > Ara. > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:xdoclet-user- > > [EMAIL PROTECTED]] On Behalf Of Richard Steele > > Sent: Friday, June 14, 2002 3:54 AM > > To: [EMAIL PROTECTED] > > Subject: [Xdoclet-user] Default for local-extends > > > > > > I have an entity bean which extends an entity bean adapter class, like > > this: > > > > /** > > * @ejb.bean > > * name="FooBean" > > * type="CMP" > > * view-type="local" > > * @ejb.home > > * local-extends="javax.ejb.EJBLocalHome" > > * @ejb.interface > > * local-extends="javax.ejb.EJBLocalObject" > > * @ejb.transaction > > * type="Required" > > */ > > public abstract class FooBean > > extends EntityBeanAdapter { > > > > ... > > > > } > > > > If I don't specify @ejb.home local-extends="javax.ejb.EJBLocalHome", > > the local home interface extends a mythical > > class ".EntityBeanAdapterLocal" (note, no package--just a "."--and the > > class name is weird). The same goes for the local interface generated > > by @ejb.interface. > > > > I'm assuming this isn't the intended behavior... > > > > Rich > > > > > > > > _______________________________________________________________ > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > August 25-28 in Las Vegas - > > http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > > > _______________________________________________ > > Xdoclet-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
